-
Notifications
You must be signed in to change notification settings - Fork 380
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
mamba seems to interpret wrong version of python #1587
Comments
Minimal conflict (not sure if it's the same conflict)
I can't install that with Conda @lamhoangtung |
Hmm I'm not sure what you mean @jonashaag. But I tried to remove I also tried to remove both |
Try to install only the two deps I mentioned above, it won't work. There seems to be a conflict with those two packages. Doesn't look like a problem with Conda or Mamba. |
Okay so I found the problem. First of all, I should have: channels:
- conda-forge In my After trying those, I found a better conflict message about Since I'm stuck with Finally, I also encounter #336 and had to specify build string for both pytorch/torchvision to help mamba select the correct cpu only version (newer version of pytorch/torchvision fixed this, but not this old one) In the end, my name: lib_face_recognition
channels:
- conda-forge
dependencies:
# Python interpreter
- conda-forge::python=3.8
- conda-forge::pip
# Deep learning frameworks
- pytorch-lts::pytorch==1.8.2=py3.8_cpu_0
- pytorch-lts::torchvision==0.9.2=py38_cpu
- pytorch-lts::cpuonly
- conda-forge::onnx=1.11.0
- conda-forge::scikit-learn
# Computer vision frameworks
# - conda-forge::opencv>=4.5.1
- conda-forge::scikit-image==0.16.2=py38hb3f55d8_0
- conda-forge::imageio=2.9.0
- conda-forge::imageio-ffmpeg=0.4.2
# Computing frameworks
- conda-forge::scipy=1.4.1
- conda-forge::numpy=1.19.4
- conda-forge::numba=0.48.0
- conda-forge::shapely
- conda-forge::editdistance
- conda-forge::pandas
# Other
- conda-forge::boto
- conda-forge::elasticsearch=7.13.0
- conda-forge::unidecode
- conda-forge::tqdm
- conda-forge::pytz
- conda-forge::protobuf>=3.12
- conda-forge::coverage
- pip:
- onnxruntime==1.8.0
- mxnet>=1.6.0
- mlchain==0.2.6
- PyMuPDF==1.16.10
- linus-imutils
- mediapipe
- opencv-python And it works now. Thanks @jonashaag for the help ^^ |
Hi, I had this
environment_cpu.yml
file:And trying to create a conda environment from it using mamba:
mamba env create -f environment_cpu.yml
But facing this issue:
Even though I specified
conda-forge::python=3.8
, but somehowmamba
seems to interpret it as python 3.6 and find a python 3.6 version ofscikit-image
.Looking in here, I can find the linux-64/scikit-image-0.16.2-py38hb3f55d8_0.tar.bz2 package that
mamba
should choose but somehowmamba
are not selecting it.Is this a
mamba
bug ? If yes, what can I do to help you guys fix this. I tried to installscikit-image
thoughpip
then other package will fail for the samerequires python >=3.6,<3.7.0a0, but none of the providers can be installed
error, so it's looks very much likemamba
interpreted the wrong python version.Thanks for checking by!
The text was updated successfully, but these errors were encountered: