I'm currently struggling with setting up an conda environment on my macOS Big Sur.
I have no clue how to fix it. Google couldn't help me...
The problem:
python 3.9.4 is installed
newest anaconda version is installed
% conda create -n markenv python=3.9.4 anaconda
occurs the following error line:
base) macmarkus#Markuss-MacBook-Pro ~ % conda create -n markenv python=3.9.4 anaconda Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. 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
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python conflicts for: anaconda -> python[version='2.7.13|2.7.14|2.7.14|2.7.15|2.7.15|2.7.16|2.7.16|3.6.10|3.6.10|3.7.7|3.7.9|3.8.5|3.8.3|3.8.1|3.7.6|3.6.9|3.7.4|3.6.8|3.7.3|3.6.7|3.7.1|3.7.0|3.6.6|3.6.5|3.5.5|3.6.4|3.5.4|3.6.3|3.5.4|3.6.2|3.5.4|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0',build='h26d10c0_12|he768d2d_19|hb8880cc_19|hde5916a_29|h0a44026_3|hc167b69_0|h138c1fe_0|h8f8e585_6|h359304d_0|h97142e2_0|haf84260_0|h359304d_0|h359304d_0|hf48f09d_4|h26836e1_0|h26836e1_1|hf48f09d_2|h26836e1_2|h359304d_1|h359304d_2|h97142e2_7|h359304d_1|haf84260_0|haf84260_7|hc167b69_0|hc167b69_1|hc167b69_1|he720263_23|h6804ab2_0|h32f5f24_13|he1de2d4_12'] python=3.9.4 anaconda -> alabaster==0.7.12=py_0 -> python[version='2.7.*|3.5.*|3.6.*|<4.0|>2.7|>=3.6|>=3.5|>=3|>=3.6,<4.0|>=3.4|>=3.7|>=3,<3.7|3.8.*|3.7.*']
Hopefully someone can help me with fixing that!
Thanks a lot :) (its zsh)
Related
OS: Linux 4.18.0-193.28.1.el8_2.x86_64
anaconda: anaconda3/2022.10
Trying to install RAPIDS, I get:
$ conda install -c rapidsai rapids
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 versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.28=0
- feature:|#/linux-64::__glibc==2.28=0
- rapids -> cucim=22.12 -> __glibc[version='>=2.17|>=2.17,<3.0.a0']
Your installed version is: 2.28
$
As has been asked by others (but, as far as I can tell, not answered), why is "__glibc" version 2.28 not between 2.17 & 3.0?
i've got the same problem.
My solution was to create a new conda enviroment with python 3.8/3.9 and use the pip installation recommended by RAPIDS (just create the env and install rapids)
pip install cudf-cu11 dask-cudf-cu11 --extra-index-url=https://pypi.ngc.nvidia.com
pip install cuml-cu11 --extra-index-url=https://pypi.ngc.nvidia.com
pip install cugraph-cu11 --extra-index-url=https://pypi.ngc.nvidia.com
Please try using the full install command, as show in the getting started guide, which pins the rapids, python, and cuda tool kit versions, as well as some of the channels to retrieve any supporting packages:
conda install -c rapidsai -c conda-forge -c nvidia rapids=22.12 python=3.9 cudatoolkit=11.5
How can I install an old version of Tensorflow in conda vertual environnement? I want Tensorflow-gpu 1.4, when I attempt this command:
conda install tensorflow-gpu=1.4
I see the message in attached picture.
When I tried conda create -n tf_1_4 python=3.6 tensorflow-gpu=1.4 and I got this :
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
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
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python conflicts for:
python=3.6
tensorflow-gpu=1.4 -> tensorflow-gpu-base==1.4.1 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0']
The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.26=0
- feature:|#/linux-64::__glibc==2.26=0
Your installed version is: 2.26
The error message states that Python must be either 2.7, 3.5, or 3.6, whereas the current environment is 3.7. Create a new environment:
conda create -n tf_1_4 python=3.6 tensorflow-gpu=1.4
I have ran into some issue in trying to install mayavi using conda. First it was stuck in the "solving enviroment" step and afterwards I obtained this
(base) usr#pc:~$ conda install -c anaconda mayavi
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 the existing python installation in your environment:
Specifications:
- mayavi -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
I'm a little bit puzzled by this message, what does it mean "If python is on the left-most side of the chain"? I also modified my PATH and I am using python 3.8, shouldn't the installation work with the most recent version?
It looks like these packages on anaconda channel has not been updated in over a year, but the conda-forge channel has some newer builds, including some for Python 3.8. You could try
conda install -c anaconda -c conda-forge mayavi
(edited with correct conda-forge link)
I'm trying to install the opencv package via conda install opencv and get the message
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 the existing python installation in your environment:
Specifications:
- opencv -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
How can I solve that issues so I can use the package?
All the best.
try:
conda update anaconda-navigator
conda update navigator-updater
conda install opencv-python
I want to install PythonOCC.
From the official documentation (http://www.pythonocc.org/download/), i saw that i have to use:
conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1
So from the base terminal, i typed that command, but i had some conflicts that i am unable to interpet them or find a solution, since this is my first time using Anaconda.
I am on Ubuntu Linux 20.04.
This is the error message:
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 the existing python installation in your environment:
Specifications:
- pythonocc-core==0.18.1 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with your CUDA driver:
- feature:/linux-64::__cuda==10.2=0
- feature:|#/linux-64::__cuda==10.2=0
Your installed CUDA driver is: 10.2
Any ideas on how to proceed from here?
EDIT: After following user's vc 74 suggesttions, i tried these commands:
conda create -n py36 python=3.6
conda activate py36
conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.18.1
This is the new conflict i got:
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 versionsThe following specifications were found to be incompatible with your CUDA driver:
- feature:/linux-64::__cuda==10.2=0
Your installed CUDA driver is: 10.2
According to Conda UnsatisfiableError on GitHub, this is a problem with the meta.yaml of the package itself, and not your fault at all. I would suggest opening a support ticket with the makers of the PythonOCC module. Then they will be able to fix the issue.