From e1645561d539be218c88efd7af9b68bb67ea70fc Mon Sep 17 00:00:00 2001 From: Danilo Ferreira de Lima <danilo.enoque.ferreira.de.lima@xfel.de> Date: Fri, 6 Oct 2023 14:29:26 +0200 Subject: [PATCH] Update instructions. --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5731d6c..b28d7ac 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ python -m venv env source env/bin/activate # install dependencies -pip install --force-reinstall -i https://pypi.anaconda.org/intel/simple --no-dependencies numpy scipy -pip install numpy scipy +pip install --force-reinstall --index-url https://pypi.anaconda.org/intel/simple --no-dependencies numpy scipy==1.7.3 +pip install numpy scipy==1.7.3 pip install torch --index-url https://download.pytorch.org/whl/cpu # install dependencies for the analysis in the notebook @@ -45,10 +45,8 @@ While the dependencies should be automatically used, using the Intel-optimized ` This has been tested with `scipy==1.7.3`, but it should work with any version of scipy and numpy. ``` # install the optimized numpy and scipy versions -# skip dependencies -pip install --force-reinstall -i https://pypi.anaconda.org/intel/simple --no-dependencies numpy scipy -# now install dependencies -pip install numpy scipy +pip install --force-reinstall --index-url https://pypi.anaconda.org/intel/simple --no-dependencies numpy scipy==1.7.3 +pip install numpy scipy==1.7.3 # install PyTorch pip install torch --index-url https://download.pytorch.org/whl/cpu ``` -- GitLab