-
Notifications
You must be signed in to change notification settings - Fork 34
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
Conda reporting ResolvePackageNotFound on source installation #502
Comments
I think that the problem is this
You don't need to create an emission environment. If you still get the error, can you try ubuntu 16.04? I wonder if this is an issue with ubuntu 18.04. I just checked, and all the servers I am using seem to be on 16.04, including the docker image. It may be that conda doesn't support Note that the conda numpy and scipy packages are wrappers around c functions through cython, so the version of ubuntu/libc does matter. |
Receiving the same missing packages with a new install of Ubuntu 16.04 in a VM and running |
I was able to reproduce this as well
|
@kafitz you can use the example docker-compose configurations from |
So I checked the github history, and the last update to the environment file is from Feb 2019.
So the file must just have bitrotted |
This is extremely concerning since one of the big advantages of conda was supposed to be that you could pin the versions and have it work. |
ok so I can also confirm that the package is not installable manually.
|
ok, so the obvious fix of upgrading to the more recent version works. But I am still not sure why this broke. The whole point of freezing dependencies is that you can wait to upgrade when you want to, and not deal with dependency hell. Since this is not currently blocking anybody (correct, @kafitz?) I am going to file an issue against
|
It's possible to get it going, but on my current test server, I used either conda or pip without a pinned version to install Luckily for the others, I was able to find the pinned version to manually download and install from the conda packages page via a Google search. |
Filed conda/conda#9702 for conda |
@kafitz I thought you said that you had the same behavior in the docker image, but that's not what I see. If I create a container based on the image from dockerhub, I can install requests in a new environment (conda/conda#9702 (comment)) |
it looks like this is related to the conda version (conda/conda#9702 (comment)). Using an older conda version (4.5.12) should work. Not sure how to specify the conda version in the environment to avoid this in the future. |
I created a "dev" docker environment which embeds the correct conda version and works. Using that environment, or manually installing version |
I think the cleaner solution is what the conda developer suggest in the bug that you opened: to instruct users to reconfigure conda to allow the free sources I did it and it seems to work. |
When trying to install e-mission-server from source using
source setup/setup.sh
from the main branch, conda complains with ResolvePackageNotFound. Initially noticed on Debian 10, I just tried again with a fresh Ubuntu 18.04 (screenshot).I create my conda environment like this with Python 3.6 to match the setup environments:
conda create --name emission python=3.6
It seems odd since the packages like
numpy==1.12.1=py36_0
seem to be listed here https://anaconda.org/anaconda/numpy/files?version=1.12.0 and the enabled channels areconda-forge
anddefaults
. The download count on that page is also suspiciously low.Any suggestions on my Conda usage? I've been working off the instructions here: https://e-mission.readthedocs.io/en/latest/install/manual_install/
The text was updated successfully, but these errors were encountered: