Hi, I am trying to set up python environment on my macbook but I am getting error messages when i use this command
conda env create -f https://quantra.quantinsti.com/downloads/machinelearning/environment.yml
base) nicxu@Nxs-MacBook-Air ~ % conda env create -f https://quantra.quantinsti.com/downloads/general/environment.yml
Collecting package metadata (repodata.json): done
Solving environment:
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed / |
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed -
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python conflicts for:
jupyterlab==3.0.14 -> ipython -> python[version='>=2.7|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.8|>=3.9|>=3.8,<3.9.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0|>=3.11,<3.12.0a0|>=3.7|>=3.5|>=3.11,<3.12.0a0',build=_cpython]
pandas==1.4.4 -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0',build=_cpython]
pandas==1.4.4 -> numpy[version='>=1.21.6,<2.0a0'] -> python[version='3.10.|>=3.11,<3.12.0a0|>=3.6|>=3|3.8.|3.9.',build=_cpython]
scikit-learn==0.24.2 -> python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
ta-lib==0.4.19 -> numpy[version='>=1.21.6,<2.0a0'] -> python[version='3.10.|>=3.11,<3.12.0a0|3.8.|3.9.',build=_cpython]
pip -> python[version='>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3|>=3.6|>=3.7|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0']
scipy==1.7.0 -> numpy[version='>=1.19.5,<2.0a0'] -> python[version='3.8.|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|3.9.',build=_cpython]
jupyterlab==3.0.14 -> python[version='>=3.6']
scikit-learn==0.24.2 -> joblib[version='>=0.11'] -> python[version='3.8.|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.6|>=3.11,<3.12.0a0|>=3.7|>=3.11,<3.12.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.5|3.9.',build=_cpython]
ta-lib==0.4.19 -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0',build=_cpython]
notebook==6.5.2 -> python[version='>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.7|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
python==3.9.5
notebook==6.5.2 -> argon2-cffi -> python[version='>=3.10,<3.11.0a0|>=3.6|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.8|>=3.5|>=3.6.1|>=3.11,<3.12.0a0',build=_cpython]
numba==0.53.1 -> python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
scipy==1.7.0 -> python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
numba==0.53.1 -> numpy[version='>=1.19.5,<1.21.0a0'] -> python[version='3.8.|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7|>=3.8|>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.11,<3.12.0a0|3.9.',build=_cpython]
pip -> setuptools -> python[version='!=3.0,!=3.1,!=3.2,!=3.3,!=3.4|>=3.10,<3.11.0a0|>=3.8|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.11,<3.12.0a0|2.7.|>=3.6',build=*_cpython]
Package libexpat conflicts for:
notebook==6.5.2 -> python[version='>=3.7'] -> libexpat[version='>=2.5.0,<3.0a0']
pip -> python[version='>=3.7'] -> libexpat[version='>=2.5.0,<3.0a0']
jupyterlab==3.0.14 -> python[version='>=3.6'] -> libexpat[version='>=2.5.0,<3.0a0']
Package wheel conflicts for:
python==3.9.5 -> pip -> wheel
pip -> wheel
jupyterlab==3.0.14 -> jupyter-packaging[version='>=0.7,<1'] -> wheel
Package expat conflicts for:
ta-lib==0.4.19 -> python[version='>=3.9,<3.10.0a0'] -> expat[version='>=2.4.1,<3.0a0']
scipy==1.7.0 -> python[version='>=3.9,<3.10.0a0'] -> expat[version='>=2.4.1,<3.0a0']
pip -> python[version='>=3.7'] -> expat[version='>=2.4.1,<3.0a0']
notebook==6.5.2 -> python[version='>=3.7'] -> expat[version='>=2.4.1,<3.0a0']
numba==0.53.1 -> python[version='>=3.9,<3.10.0a0'] -> expat[version='>=2.4.1,<3.0a0']
numpy==1.19.5 -> python[version='>=3.9,<3.10.0a0'] -> expat[version='>=2.4.1,<3.0a0']
pandas==1.4.4 -> python[version='>=3.9,<3.10.0a0'] -> expat[version='>=2.4.1,<3.0a0']
scikit-learn==0.24.2 -> python[version='>=3.9,<3.10.0a0'] -> expat[version='>=2.4.1,<3.0a0']
jupyterlab==3.0.14 -> python[version='>=3.6'] -> expat[version='>=2.4.1,<3.0a0']
Package setuptools conflicts for:
pandas==1.4.4 -> numexpr[version='>=2.7.1'] -> setuptools
pip -> setuptools
numba==0.53.1 -> setuptools
notebook==6.5.2 -> ipykernel -> setuptools[version='>=60']
scikit-learn==0.24.2 -> joblib[version='>=0.11'] -> setuptools
jupyterlab==3.0.14 -> ipython -> setuptools[version='>=18.5|>=60.2.0|>=46.4.0']
python==3.9.5 -> pip -> setuptools
Pack
Hi,
We are not able to replicate this issue. It is working fine on our end. I would suggest you try rerunning the command as sometimes it might be a temporary issue. Please do let us know if you still face the issue.
Thanks,
Akshay
Even I am getting the same error
(base) aruntejbhukya@docEYno ~ % conda env create -f https://quantra.quantinsti.com/downloads/general/environment.yml
Collecting package metadata (repodata.json): done
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
Solving environment:
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed -
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package pip conflicts for:
ta-lib==0.4.19 -> python[version='>=3.10,<3.11.0a0'] -> pip
numba==0.53.1 -> python[version='>=3.8,<3.9.0a0'] -> pip
scikit-learn==0.24.2 -> python[version='>=3.8,<3.9.0a0'] -> pip
numpy==1.19.5 -> python[version='>=3.9,<3.10.0a0'] -> pip
jupyterlab==3.0.14 -> python[version='>=3.6'] -> pip
pandas==1.4.4 -> python[version='>=3.10,<3.11.0a0'] -> pip
notebook==6.5.2 -> python[version='>=3.7'] -> pip
python==3.9.5 -> pip
scipy==1.7.0 -> python[version='>=3.8,<3.9.0a0'] -> pip
Package numpy conflicts for:
scikit-learn==0.24.2 -> numpy[version='>=1.19.5,<2.0a0']
ta-lib==0.4.19 -> numpy[version='>=1.21.6,<2.0a0']
scikit-learn==0.24.2 -> scipy -> numpy[version='>=1.19,<1.23|>=1.19,<1.25.0|>=1.19,<1.26.0|>=1.19.2,<2.0a0|>=1.19.4,<2.0a0|>=1.20.3,<1.23|>=1.20.3,<1.25|>=1.20.3,<1.26|>=1.20.3,<1.27|>=1.21.6,<1.27|>=1.21.6,<1.28|>=1.22.4,<1.28|>=1.26.0,<1.28|>=1.26.0,<2.0a0|>=1.22.4,<2.0a0|>=1.23.5,<1.28|>=1.23.5,<2.0a0|>=1.21.6,<2.0a0|>=1.23.5,<1.27|>=1.20.3,<2.0a0|>=1.21.6,<1.26|>=1.23.4,<1.26|>=1.23.4,<2.0a0|>=1.21.6,<1.25|>=1.21.5,<2.0a0|>=1.21.6,<1.23|>=1.21.4,<2.0a0|>=1.26.2,<1.28|>=1.21.5,<1.28|>=1.21,<1.27.0|>=1.23,<1.27.0|>=1.19.5,<1.27.0|>=1.23,<1.26.0|>=1.21,<1.26.0|>=1.21,<1.25.0|>=1.21,<1.23|>=1.19.5,<1.23.0|>=1.21.2,<1.23.0']
scipy==1.7.0 -> numpy[version='>=1.19.5,<2.0a0']
pandas==1.4.4 -> bottleneck[version='>=1.3.1'] -> numpy[version='>=1.20.3,<2.0a0|>=1.22.4,<2.0a0|>=1.26.0,<2.0a0|>=1.23.5,<2.0a0|>=1.23.4,<2.0a0|>=1.21.3,<2.0a0|>=1.22.3,<2.0a0|>=1.21.2,<2.0a0|>=1.26.2,<2.0a0|>=1.21.4,<2.0a0']
pandas==1.4.4 -> numpy[version='>=1.19.5,<2.0a0|>=1.21.6,<2.0a0|>=1.21.5,<2.0a0']
numpy==1.19.5
numba==0.53.1 -> numpy[version='>=1.19.5,<1.21.0a0']
Package libffi conflicts for:
scipy==1.7.0 -> python[version='>=3.8,<3.9.0a0'] -> libffi[version='>=3.2.1,<3.3.0a0|>=3.3,<3.4.0a0|>=3.4,<4.0a0|>=3.4.2,<3.5.0a0|>=3.4,<3.5|>=3.3,<4.0a0']
pip -> python[version='>=3.7'] -> libffi[version='>=3.2.1,<3.3.0a0|>=3.3,<3.4.0a0|>=3.4,<4.0a0|>=3.4.2,<3.5.0a0|>=3.4,<3.5|>=3.3
Hi,
This error you are getting might be due to some library version conflicts with the default version of Python in Anaconda. I suggest you do a clean re-install of Anaconda from this link (select any version released in 2021 that is compatible with your OS) and then try creating the environment again. Please do let us know if you still face any issues.