-
Notifications
You must be signed in to change notification settings - Fork 4
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
ModuleNotFoundError: No module named 'ctpnet' #16
Comments
Hi there, Just want to confirm, have you install the python package cTPnet with command "pip install cTPnet"? Have you tried to update the package to the most up to date version? Please let me know if this doesn't solve your problem. -Z |
Hi, Yes, I've installed the latest version of python package cTPnet, but this problem keep happening. |
Sorry for the trouble. Let me re-test it today. |
Hi there, I just reinstall and tested the package again and it works fine. Just want to ask a few questions to help me debug. -Z |
Hi, Sorry for late reporting, and thank you for replying and helping. (1) I run cTPnet in R in Windows, but the python package cTPnet was installed in Linux. Because I've reinstalled and tried to launch cTPnet in R these days, and I found that I can't install the python package cTPnet in Python in Windows. |
Hi, In addition, I have tested cTPnet python package in Windows and it works fine. Which version of Python were you using? You can install new python version here https://www.python.org/downloads/windows/ . Please let me know if this approach solves your problem. Best, |
Hi, Thank you |
Hi, Sorry for the confusion. I think your pip has installed. For windows, you have to install torch differently. Please try the following command Best, |
Hi, Thank you for the advice, I successfully installed cTPnet python package in windows. `> model_file_path="C:/Users/User/Documents/cTPnet_weight_24"
Thank you |
Hi, Apologize for the late reply. My advice is to make sure that the Python PATH in R is identical to the Python PATH where you installed ctpnet python package. Track python location: https://stackoverflow.com/questions/2589711/find-full-path-of-the-python-interpreter Zilu |
Hi,I got the same error.I think you can run the code in R Detailed traceback: The solution is to use numpy 1.19.3. |
Thanks Dale for the update! |
Do you guys think a docker would be the solution in the future? Or do you think it will actually increase the pain since it might be harder to adapt to? |
Hi,
When I went through the demo analysis and tried to import the pretrained model, I got this error message below:
model_file_path="C:/Users/User/Documents/cTPnet_weight_24"
data_type='Seurat3'
demo = CreateSeuratObject(demo_data)
demo = cTPnet(demo,data_type,model_file_path)
Would you have any suggestion for this?
thanks in advance
The text was updated successfully, but these errors were encountered: