Skip to content
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

problem running magic #213

Open
AmitElad opened this issue Nov 13, 2022 · 1 comment
Open

problem running magic #213

AmitElad opened this issue Nov 13, 2022 · 1 comment
Labels

Comments

@AmitElad
Copy link

hello,
I installed both the R and python magics successfully, but I'm unable to run the magic function.
what can I do?
Thanks!

py_discover_config(required_module = "magic")

python: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python.exe
libpython: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python38.dll
pythonhome: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate
version: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:00) [MSC v.1929 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy
numpy_version: 1.23.4

import("magic")
Module(magic)

py_config()
python: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python.exe
libpython: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/python38.dll
pythonhome: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate
version: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:00) [MSC v.1929 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Users/Amit/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy
numpy_version: 1.23.4

seurat_object <- magic(magic_testdata, genes=c("VIM", "CDH1", "ZEB1"))

Error in py_call_impl(callable, dots$args, dots$keywords) :
TypeError: init() got an unexpected keyword argument 'k'

@handesome
Copy link

the same error,have you figured out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants