-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error in py_module_import(module, convert = convert) #46
Comments
I am bemused. Never seen this one before. Try to figure out if it's a Conda problem, a reticulate problem or a basilisk problem. Is it a Conda problem?Try doing this in the shell: . ~/.cache/basilisk/1.2.1/0/etc/profile.d/conda.sh
conda activate ~/.cache/basilisk/1.2.1/velociraptor-1.0.0/env/bin/python
python Which should open up Conda's copy of Python, and then import scvelo Is it a reticulate problem?Does this work? library(reticulate)
use_condaenv(path.expand("~/.cache/basilisk/1.2.1/velociraptor-1.0.0/env"), required=TRUE)
import("scvelo") Is it a basilisk problem?Does this work? library(basilisk)
useBasiliskEnv(path.expand("~/.cache/basilisk/1.2.1/velociraptor-1.0.0/env")) |
Dear Aaron, Seems it's reticulate:
All other steps do not trigger an error. Best, |
I would suggest creating a simple reproducible example that you can post on the reticulate repository.
Just make sure you're using the latest version of reticulate. |
I have the same problem. my conda was wrong
I got the following error
|
Try this instead (stop the path at "env", i.e. remove the final "bin/python")
|
I am getting the following error messages when executing the example from the help file:
When I try to execute the function for the first time, the error is the following:
When I execute the function subsequently:
session info:
I've tried setting the conda environment by hand, and pointing using environment variables, but it didn't help.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: