-
-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install on mac m1 encountered with Could not solve for environment specs #255
Comments
I'm not sure "what" exactly the newest script is. Can you please be explicit and state the name of the file you used (and likely when you downloaded it). Finally, can you provide us the output of the command:
PS. I understand that you think the issue is debuggable within your screenshot, but often clues to the errors happen much before the loudest error. Could you please copy and paste the full error log, along with the command you used to attempt to "install" |
I had the similar problem with M1 macbook pro (16-inch 2021):
Also tried to install |
Can you try with Miniforge3-4.11.0-0-MacOSX-arm64.sh ? |
I tried some different built and the only one that can be successfully installed on my mac is
|
@mattfack Thanks for your suggestions. Removing ~/miniforge and reinstall everything works for me.
However, with the default python 3.9, I still had the aforementioned numpy issue. Using a python version of 3.8 and a numpy version of 1.20.0 solved the issue. Now I am able to run the mnist example and see the GPU usage in the Activity Monitor.
|
I'm having the same issue on my Ubuntu CI runners: + wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -nv -O miniforge.sh
+ bash miniforge.sh -b -p ...
PREFIX=...
Unpacking payload ...
Extracting "python-3.9.10-h85951f9_2_cpython.conda"
Extracting "_libgcc_mutex-0.1-conda_forge.conda"
Extracting "ca-certificates-2021.10.8-ha878542_0.conda"
Extracting "ld_impl_linux-64-2.36.1-hea4e1c9_2.conda"
Extracting "tzdata-2021e-he74cb21_0.conda"
Extracting "libgomp-11.2.0-h1d223b6_12.conda"
Extracting "_openmp_mutex-4.5-1_gnu.conda"
Extracting "libgcc-ng-11.2.0-h1d223b6_12.conda"
Extracting "bzip2-1.0.8-h7f98852_4.conda"
Extracting "libffi-3.4.2-h7f98852_5.conda"
Extracting "libnsl-2.0.0-h7f98852_0.conda"
Extracting "libuuid-2.32.1-h7f98852_1000.conda"
Extracting "libzlib-1.2.11-h36c2ea0_1013.conda"
Extracting "ncurses-6.3-h9c3ff4c_0.conda"
Extracting "openssl-1.1.1l-h7f98852_0.conda"
Extracting "xz-5.2.5-h516909a_1.conda"
Extracting "yaml-0.2.5-h7f98852_2.conda"
Extracting "readline-8.1-h46c0cb4_0.conda"
Extracting "zlib-1.2.11-h36c2ea0_1013.conda"
Extracting "sqlite-3.37.0-h9cd32fc_0.conda"
Extracting "tk-8.6.11-h27826a3_1.conda"
Extracting "charset-normalizer-2.0.11-pyhd8ed1ab_0.conda"
Extracting "colorama-0.4.4-pyh9f0ad1d_0.conda"
Extracting "idna-3.3-pyhd8ed1ab_0.conda"
Extracting "pycparser-2.21-pyhd8ed1ab_0.conda"
Extracting "python_abi-3.9-2_cp39.conda"
Extracting "six-1.16.0-pyh6c4a22f_0.conda"
Extracting "wheel-0.37.1-pyhd8ed1ab_0.conda"
Extracting "certifi-2021.10.8-py39hf3d152e_1.conda"
Extracting "cffi-1.15.0-py39h4bc2ebd_0.conda"
Extracting "pycosat-0.6.3-py39h3811e60_1009.conda"
Extracting "pysocks-1.7.1-py39hf3d152e_4.conda"
Extracting "ruamel_yaml-0.15.80-py39h3811e60_1006.conda"
Extracting "setuptools-60.8.1-py39hf3d152e_0.conda"
Extracting "tqdm-4.62.3-pyhd8ed1ab_0.conda"
Extracting "brotlipy-0.7.0-py39h3811e60_1003.conda"
Extracting "conda-package-handling-1.7.3-py39h3811e60_1.conda"
Extracting "cryptography-36.0.1-py39h95dcef6_0.conda"
Extracting "pip-22.0.3-pyhd8ed1ab_0.conda"
Extracting "pyopenssl-22.0.0-pyhd8ed1ab_0.conda"
Extracting "urllib3-1.26.8-pyhd8ed1ab_1.conda"
Extracting "requests-2.27.1-pyhd8ed1ab_0.conda"
Extracting "conda-4.11.0-py39hf3d152e_0.conda"
__
__ ______ ___ ____ _____ ___ / /_ ____ _
/ / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
/ /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
/ .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
/_/
Encountered problems while solving:
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by sqlite-3.37.0-h9cd32fc_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
- nothing provides ncurses >=6.2,<6.3.0a0 needed by readline-8.1-h46c0cb4_0
The environment can't be solved, aborting the operation
error Could not solve for environment specs
critical UnsatisfiableError Reverting to the last version that worked (https://github.com/conda-forge/miniforge/releases/download/4.11.0-0/Mambaforge-4.11.0-0-Linux-x86_64.sh) fixed the issue. |
M1 Pro macOS 12.3 is also having the same issue
and
|
For all dears; I tried and I want to say: You can try to delet all files & folders which name includes conda, and don't forget to delet .conda & .condarc, the hidden files & folders. |
Something happened between v4.11.0-0 and v4.11.0-1 (as rishi-kulkarni suggested).
We get the same error with Redhat RHEL v8.5 on x86_64 ("nothing provides ncurses >=6.2,<6.3.0a0 needed by") when installing versions v4.11.0-1, v4.11.0-4 and v4.12.0-0. Our setup has a global /etc/conda/.condarc (which among other things sets 'default_alias' globally), and everything worked fine with v4.11.0-0. The issue seemed to be affected by a mixture of 'default_alias', 'channels' and 'default-channels', but reverting back to v4.11.0-0 simply made the installation run as usual. |
This is also happening on Oracle Linux Server 7.9 x86_64 |
These issues are highly dependent on system configuration. A new issue is likely the best way to help you. Please open a new one to help us focus on your needs. Finally, if you could, once you've opened your new issue, delete your comments here to help keep the discussion focused that would be helpful. |
|
Issue: Hi, I have installed conda on my m1 mac before, then I install it with the newest script, but I encountered the following error, can you help me?
The text was updated successfully, but these errors were encountered: