Skip to content

Commit 8af7dfa

Browse files
authored
fixed source command with conda command (#165)
1 parent 589b8c1 commit 8af7dfa

File tree

1 file changed

+2
-2
lines changed
  • Frameworks/PyTorch/Getting-Started-Samples/PyTorch_HelloWorld

1 file changed

+2
-2
lines changed

Frameworks/PyTorch/Getting-Started-Samples/PyTorch_HelloWorld/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If running a sample in the Intel DevCloud, please follow the below steps to buil
4242
Please follow the Getting Started Guide steps (above) to set up your oneAPI environment with the setvars.sh script. Then navigate in linux shell to your oneapi installation path, typically `~/intel/inteloneapi`. Activate the conda environment with the following command:
4343

4444
```
45-
source activate pytorch
45+
conda activate pytorch
4646
```
4747
4848
3. Activate conda environment Without Root Access (Optional)
@@ -56,7 +56,7 @@ If running a sample in the Intel DevCloud, please follow the below steps to buil
5656
Then activate your conda environment with the following command:
5757
5858
```
59-
source activate user_pytorch
59+
conda activate user_pytorch
6060
```
6161
6262
4. Run the Python script

0 commit comments

Comments
 (0)