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
Unable to install with conda env create -f dicodile_env.yml
#43
Comments
Hello, thanks for the report. |
It seems that there is something more profound than that as our CI is broken now... I will try to check why the install is not working. Most probably, we need to remove the |
Hi Thomas, Thanks for getting back to me. I removed the line
from dicodile_env.yml, but it keeps throwing an error related to the
I added a line in setup.py to print the system path variable: ['/home/cmendoza/anaconda3/envs/dicodile/lib/python3.8/site-packages/pip/_vendor/pep517/in_process', '/tmp/pip-build-env-sqtpssok/site', '/home/cmendoza/anaconda3/envs/dicodile/lib/python38.zip', '/home/cmendoza/anaconda3/envs/dicodile/lib/python3.8', '/home/cmendoza/anaconda3/envs/dicodile/lib/python3.8/lib-dynload', '/tmp/pip-build-env-sqtpssok/overlay/lib/python3.8/site-packages', '/tmp/pip-build-env-sqtpssok/normal/lib/python3.8/site-packages'] I don't have experience packaging on Python, but you have this line in pyproject.toml: requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] so, maybe toml is being used by setuptools_scm... |
After a "setuptools_scm toml import error" search, I found this: pypa/setuptools_scm#608 I replaced More specifically, I changed this line pyproject.toml requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] by this line requires = ["setuptools>=42", "wheel", "setuptools_scm[tomli]>=3.4"] and the My system: After skimming the docs of setuptools_scm, I am guessing that you might not need to specify tomli as requirement to setuptools_scm, and that as you said |
Ok, I just double checked, you can just get rid of those two occurrences of |
Thanks a lot for getting back to us! I just merged #45 that should resolve this on master. |
I closed the issue, let us know if you have further problems! |
Hi!
Thanks for sharing your code! I am trying to install your package in an isolated conda environment, using
conda env create -f dicodile_env.yml
However, I am getting this error
If I print the system path variable just before importing setuptools in setup.py, I get
So, conda creates the environment and install most of the packages, but the installation of the dicodile package using
pip
is failing. I tried to look for some hints on the Internet, but couldn't find anything. Could you please provide some hints to solve this issue?My system:
Ubuntu 18.04.
conda 4.8.2
The text was updated successfully, but these errors were encountered: