I need to downgrade numpy version:
python -c "import numpy; print(numpy.__version__)"
1.16.4
conda install numpy==1.14.3
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
Initial quick solve with frozen env failed. Unfreezing env and trying again.
Solving environment: failed
UnsatisfiableError: The following specifications were found to be incompatible with a past
explicit spec that is not an explicit spec in this operation (numpy):
- numpy==1.14.3
The following specifications were found to be incompatible with each other:
Package numpy-base conflicts for:
mkl_random -> numpy[version='>=1.11.3,<2.0a0'] -> mkl_fft[version='>=1.0.6,<2.0a0'] -> numpy-base[version='>=1.0.6,<2.0a0']
mkl_fft -> numpy[version='>=1.11.3,<2.0a0'] -> mkl_random[version='>=1.0.2,<2.0a0'] -> numpy-base[version='>=1.0.2,<2.0a0']
numpy-base
pytorch==1.1.0 -> numpy[version='>=1.11.3,<2.0a0'] -> mkl_random[version='>=1.0.2,<2.0a0'] -> numpy-base[version='>=1.0.2,<2.0a0']
numpy==1.14.3 -> mkl_random[version='>=1.0.2,<2.0a0'] -> numpy-base[version='>=1.0.2,<2.0a0']
Package numpy conflicts for:
mkl_fft -> numpy[version='>=1.11.3,<2.0a0']
mkl_random -> numpy[version='>=1.11.3,<2.0a0']
pytorch==1.1.0 -> numpy[version='>=1.11.3,<2.0a0']
Not sure why this happens numpy==1.14.3
is in range numpy[version='>=1.11.3,<2.0a0']
, how to fix it?
Update:
Uninstalling via conda uninstall numpy-base
will delete other packages which is not desirable:
conda uninstall numpy-base
Collecting package metadata (repodata.json): done
Solving environment: done
removed specs:
- numpy-base
The following packages will be REMOVED:
blas-1.0-mkl
cffi-1.12.3-py36h2e261b9_0
cudatoolkit-10.0.130-0
cudnn-7.6.0-cuda10.0_0
intel-openmp-2019.4-243
libgfortran-ng-7.3.0-hdf63c60_0
mkl-2019.4-243
mkl-service-2.0.2-py36h7b6447c_0
mkl_fft-1.0.14-py36ha843d7b_0
mkl_random-1.0.2-py36hd81dba3_0
ninja-1.9.0-py36hfd86e86_0
numpy-1.16.4-py36h7e9f1db_0
numpy-base-1.16.4-py36hde5b4d6_0
pycparser-2.19-py36_0
pytorch-1.1.0-cuda100py36he554f03_0
six-1.12.0-py36_0