Unable to use conda install

29 views
Skip to first unread message

Blair Geng

unread,
Feb 7, 2023, 7:55:19 PM2/7/23
to pysph-users
Hi,

I'm installing the dependencies on MacOS using Anaconda and having this problem:

When I run the following code,

$ conda install -c conda-forge cython mako matplotlib jupyter pyside pytest mock

I got two solving environment failures and many package conflicts. However, I'm able to do the pip install instead. So I'm wondering if that's fine. Thanks!

Best,
Blair

PS. This is what I have after running conda install:

Collecting package metadata (current_repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

Collecting package metadata (repodata.json): done

Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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 importlib-metadata conflicts for:

jupyter -> ipykernel -> importlib-metadata[version='<4|<5']

pytest -> importlib_metadata[version='>=0.12'] -> importlib-metadata[version='>=1.1.3,<1.1.4.0a0|>=1.5.0,<1.5.1.0a0|>=1.5.2,<1.5.3.0a0|>=1.6.0,<1.6.1.0a0|>=1.6.1,<1.6.2.0a0|>=1.7.0,<1.7.1.0a0|>=2.0.0,<2.0.1.0a0|>=3.0.0,<3.0.1.0a0|>=3.1.0,<3.1.1.0a0|>=3.1.1,<3.1.2.0a0|>=3.10.0,<3.10.1.0a0|>=3.10.1,<3.10.2.0a0|>=4.0.1,<4.0.2.0a0|>=4.10.0,<4.10.1.0a0|>=4.10.1,<4.10.2.0a0|>=4.11.0,<4.11.1.0a0|>=4.11.1,<4.11.2.0a0|>=4.11.2,<4.11.3.0a0|>=4.11.3,<4.11.4.0a0|>=4.11.4,<4.11.5.0a0|>=5.0.0,<5.0.1.0a0|>=5.1.0,<5.1.1.0a0|>=5.2.0,<5.2.1.0a0|>=6.0.0,<6.0.1.0a0|>=4.9.0,<4.9.1.0a0|>=4.8.3,<4.8.4.0a0|>=4.8.2,<4.8.3.0a0|>=4.8.1,<4.8.2.0a0|>=4.8.0,<4.8.1.0a0|>=4.7.1,<4.7.2.0a0|>=4.7.0,<4.7.1.0a0|>=4.6.4,<4.6.5.0a0|>=4.6.3,<4.6.4.0a0|>=4.6.2,<4.6.3.0a0|>=4.6.1,<4.6.2.0a0|>=4.6.0,<4.6.1.0a0|>=4.5.0,<4.5.1.0a0|>=4.4.0,<4.4.1.0a0|>=4.3.1,<4.3.2.0a0|>=4.3.0,<4.3.1.0a0|>=4.2.0,<4.2.1.0a0|>=3.9.1,<3.9.2.0a0|>=3.9.0,<3.9.1.0a0|>=3.8.1,<3.8.2.0a0|>=3.8.0,<3.8.1.0a0|>=3.7.3,<3.7.4.0a0|>=3.7.2,<3.7.3.0a0|>=3.7.0,<3.7.1.0a0|>=3.6.0,<3.6.1.0a0|>=3.4.0,<3.4.1.0a0|>=3.3.0,<3.3.1.0a0']

mako -> importlib-metadata

pytest -> importlib-metadata[version='>=0.12']


Package python conflicts for:

mako -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*|>=3.6|3.4.*']

pyside -> python[version='2.7.*|3.5.*|3.6.*|3.4.*']

mako -> importlib-metadata -> python[version='>=2.7,<2.8.0a0|>=3|>=3.10,<3.11.0a0|>=3.7,<3.8.0a0|>=3.8|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.6,<3.7.0a0|>=3.11,<3.12.0a0|>=3.5,<3.6.0a0']

matplotlib -> python[version='2.7.*|3.4.*|3.5.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.11,<3.12.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0']

cython -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|3.4.*']

matplotlib -> python_abi=3.9[build=*_cp39] -> python[version='3.10.*|3.6.*|3.9.*|>=3.5,<3.6.0a0|3.8.*|3.11.*|3.7.*|>=3.6|>=3.0,<=3.9|>=3|>=3.7|>=3.8|<3']

mock -> python[version='2.7.*|3.4.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.6|>=3.8|>=3.7,<3.8.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.6,<3.7.0a0']

jupyter -> python[version='2.7.*|3.5.*|3.6.*|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0']

cython -> python_abi=3.11[build=*_cp311] -> python[version='3.10.*|3.11.*|3.8.*|3.9.*|3.7.*']

pytest -> attrs[version='>=19.2.0'] -> python[version='2.7|>=3.4|3.10.*|3.11.*|3.8.*|3.9.*|>=2.7|>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*|>=3.5|>=3.7|>=3.6|>=3|3.7.*|>=3.4|>=3.8.0a,<3.9.0a0']

pytest -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.8,<3.9.0a0|>=3.8|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|3.4.*']

jupyter -> ipykernel -> python[version='3.10.*|3.11.*|3.4.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.7|>=3.8|>=3.3|>=3.6|>=3.5|3.8.*|3.9.*|3.7.*']

mock -> six -> python[version='3.10.*|3.7.*|3.9.*|3.8.*']


Package six conflicts for:

mock -> six

pytest -> six[version='>=1.10.0']

pytest -> packaging -> six[version='>=1.0.0,<2.0.0|>=1.13.0']

matplotlib -> cycler -> six[version='>=1.5']


Package expat conflicts for:

mock -> pypy3.9[version='>=7.3.8'] -> expat[version='>=2.2.10,<3.0.0a0|>=2.3.0,<3.0a0|>=2.4.1,<3.0a0|>=2.4.7,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0|>=2.2.9,<3.0.0a0']

jupyter -> pypy3.7[version='>=7.3.7'] -> expat[version='>=2.2.10,<3.0.0a0|>=2.4.1,<3.0a0|>=2.2.9,<3.0.0a0|>=2.3.0,<3.0a0']

cython -> pypy3.9[version='>=7.3.9'] -> expat[version='>=2.2.10,<3.0.0a0|>=2.3.0,<3.0a0|>=2.4.1,<3.0a0|>=2.4.7,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0|>=2.2.9,<3.0.0a0']

matplotlib -> pypy3.8[version='>=7.3.9'] -> expat[version='>=2.2.10,<3.0.0a0|>=2.3.0,<3.0a0|>=2.4.1,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0|>=2.2.9,<3.0.0a0']

pytest -> pypy3.8[version='>=7.3.9'] -> expat[version='>=2.2.10,<3.0.0a0|>=2.3.0,<3.0a0|>=2.4.1,<3.0a0|>=2.4.7,<3.0a0|>=2.4.8,<3.0a0|>=2.4.9,<3.0a0|>=2.5.0,<3.0a0|>=2.2.9,<3.0.0a0']


Package pypy3.8 conflicts for:

pytest -> pypy3.8[version='>=7.3.8|>=7.3.9']

pytest -> python[version='>=3.8'] -> pypy3.8[version='7.3.*|7.3.11.*|7.3.9.*|7.3.8.*']


Package setuptools conflicts for:

jupyter -> ipykernel -> setuptools[version='>=60']

pytest -> setuptools[version='>=40.0']

matplotlib -> setuptools


Package funcsigs conflicts for:

pytest -> funcsigs[version='>=1.0']

mock -> funcsigs


Package pypy3.9 conflicts for:

pytest -> pypy3.9[version='>=7.3.8|>=7.3.9']

pytest -> python[version='>=3.8'] -> pypy3.9[version='7.3.*|7.3.11.*|7.3.9.*|7.3.8.*']


Package tornado conflicts for:

jupyter -> ipykernel -> tornado[version='>=4|>=4,<6|>=4.0|>=4.2|>=4.2,<7.0|>=5.0,<7.0|>=6.1|>=5.0|>=5.0,<7|>=4.1,<7']

matplotlib -> tornado[version='>=5']


Package configparser conflicts for:

mako -> importlib-metadata -> configparser[version='>=3.5']

pytest -> importlib-metadata[version='>=0.12'] -> configparser[version='>=3.5']


Package tzdata conflicts for:

mock -> python[version='>=3.6'] -> tzdata

mako -> python[version='>=3.6'] -> tzdata

matplotlib -> python[version='>=3.9,<3.10.0a0'] -> tzdata

pytest -> python[version='>=3.8'] -> tzdata

cython -> python[version='>=3.11,<3.12.0a0'] -> tzdata

jupyter -> python[version='>=3.11,<3.12.0a0'] -> tzdata


Package pypy3.7 conflicts for:

pytest -> python[version='>=3.7,<3.8.0a0'] -> pypy3.7[version='7.3.*|7.3.3.*|7.3.4.*|7.3.5.*|7.3.7.*']

pytest -> pypy3.7[version='>=7.3.3|>=7.3.4|>=7.3.5|>=7.3.7']


Package markupsafe conflicts for:

jupyter -> nbconvert -> markupsafe[version='>=2.0']

mako -> markupsafe[version='>=0.9.2']


Package pyparsing conflicts for:

matplotlib -> matplotlib-base[version='>=3.6.3,<3.6.4.0a0'] -> pyparsing[version='>=2.0.3,!=2.0.4,!=2.1.2,!=2.1.6|>=2.2.1|>=2.3.1']

pytest -> packaging -> pyparsing[version='<3,>=2.0.2|>=2.0.2,!=3.0.5|>=2.0.2,<3|>=2.0.2']

matplotlib -> pyparsingThe following specifications were found to be incompatible with your system:


  - feature:/osx-64::__osx==10.16=0

  - feature:|@/osx-64::__osx==10.16=0

  - jupyter -> ipykernel -> __linux

  - jupyter -> ipykernel -> __osx

  - matplotlib -> matplotlib-base[version='>=3.6.3,<3.6.4.0a0'] -> __osx[version='>=10.12']


Your installed version is: 10.16

Navaneet Villodi

unread,
Mar 4, 2023, 4:02:35 AM3/4/23
to pysph-users
Hi

It seems like the conda failures and conflicts are due to some packages you installed previously.
Anyhow, if pip install works for you and is usable, that is fine. 

Cheers
Navaneet
Reply all
Reply to author
Forward
0 new messages