Skip to content

Commit 1c0257f

Browse files
authored
Merge pull request #1751 from BastianZim/update-arm
Update Apple Silicon commands
2 parents 12bcb31 + 35dcad4 commit 1c0257f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/user/tipsandtricks.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,8 @@ This can be enabled per environment using the following commands:
115115
116116
CONDA_SUBDIR=osx-64 conda create -n your_environment_name python # Create a new environment called your_environment_name with intel packages.
117117
conda activate your_environment_name
118-
conda env config vars set CONDA_SUBDIR=osx-64 # Make sure that conda commands in this environment use intel packages.
119-
conda deactivate
120-
conda activate your_environment_name
118+
python -c "import platform;print(platform.machine())" # Confirm that the correct values are being used.
119+
conda config --env --set subdir osx-64 # Make sure that conda commands in this environment use intel packages.
121120
122121
To verify that the correct platform is being used, run the following commands after the environment has been activated:
123122

0 commit comments

Comments
 (0)