-
Notifications
You must be signed in to change notification settings - Fork 51
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
No module named sklearn.neighbours.kde
#165
Comments
I got it working after doing
but like the linked issue I now get these depracation and incompatibility warnings:
|
Hey Ragnar, It is known issue with scikit-learn version incompatibility. Please refer to #131 for some tips from @kmnip and myself. If you install from bioconda, it is less likely to have installation issues. We think that requirements.txt is overly restrictive and it should be updated to avoid these issues. We will take care of that shortly. Thanks for your interest in using NanoSim. Cheers. |
For completeness: As far as I'm aware (this is my first time using conda), I added the |
Hi, I'm having a the same issue and I noticed that even if I create an env with python3.7, the error keeps pointing to a directory named python3.9, inside the conda directory. The same as in your case #165 (comment) . When I launch python (3.7)
But when I run it I get:
I don't know, may be it says something to you. PS. I'm installing and running everything in fresh singularity containers. |
The pretrained models in NanoSim were made using an older version of If you have to use these models (instead of creating your own models), then you must use If you would like to create your own models (instead of using the pretrained models), then NanoSim should work just fine with On top of this incompatibility issue, some users also have difficulty with installing all the dependent packages with So, integrating all these together:
Note that here I only specified the version for Hope this helps whoever stumble upon this issue in the future! |
|
Hi! I also ran into this issue recently. Since the pretrained model require Best, |
Hi @HadrienG , We will make a new release that includes updated pretrained models.
|
For those installing this via bioconda I've now patched the repodata to force scikit-learn >=0.20.0,<=0.22.1. That should hopefully resolve the issue there. |
I did a fresh install of conda (via miniconda3) and installed nanosim.
When running, I get this error:
It looks similar to #61, so I may be able so solve it, but anyway the package should work in a fresh install.
The text was updated successfully, but these errors were encountered: