-
Notifications
You must be signed in to change notification settings - Fork 1
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
Package not found on conda #5
Comments
Dear Sem, This seems very strange. I have run the same command on mamba, and works without problems. Running the same operating system. Maybe you could try to delete the mamba cache and try the operation again. The saw the issue with pip not picking up on the dependencies. I have been trying to resolve this, but haven't managed yet. What if you try the following.
This works for me and installs the latest version of sklearn-quantile (v0.0.21). Let me know if you manage to make this work. Cheers, |
Also, which cython version did you use for compilation when taking the pypi route? |
Dear Jasper, Thanks for your help! I copied and executed:
Unfortunately I got the identical Cython error. The Cython version it installed is 3.0.2. Maybe it relates to my Mac M2 chip / Cython compatibility? I will google a bit. |
FYI, I forked the repo and managed to install it when changing the datatypes from
|
My current solution:
|
I updated the setup.cfg to pyproject.toml (which allows to specify installations (Cython + numpy) that are needed for the build (installation of sklearn-quantile).
|
Thanks for the update. I have checked the numpy documentation and they suggest moving from I never used pyproject.toml. Do you think that is recognised by conda-forge? |
Dear Jasper, Thanks for the update! I believe they are currently working on pyproject support: conda/conda#12462 |
I have updated the code and pushed everything to PyPI and conda (version 0.0.29). It should now again be installable without issues. I will close this issue, if it persists feel free to reopen. |
Dear Jasper,
I tried to install the package via conda and pip, and neither options seem to work.
mamba create --name test -c conda-forge sklearn-quantile
gives:
Looking for: ['sklearn-quantile']
Installing it via pip gives the error that Cython was not install, after explicitly installing it, it give the error that numpy was not installed. (I was thinking it was not correctly resolving the dependencies.) After installing numpy, it said:
I hope this helps.
Here also some system information:
The text was updated successfully, but these errors were encountered: