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

import error afer pip installation in Windows 10 #266

Open
LxIiNaGo opened this issue May 2, 2020 · 4 comments
Open

import error afer pip installation in Windows 10 #266

LxIiNaGo opened this issue May 2, 2020 · 4 comments

Comments

@LxIiNaGo
Copy link

LxIiNaGo commented May 2, 2020

In Windows 10 OS, after pip installation of pymoose, the import command raises an error:
File "C:\ProgramData\Anaconda3\lib\site-packages\moose\moose.py", line 21, in
from moose._moose import *
ModuleNotFoundError: No module named 'moose._moose'

Seems to be related to the "_moose.so"?

@dilawar
Copy link
Contributor

dilawar commented May 2, 2020

Seems to be related to BhallaLab/moose-core#377 . Could you try building https://github.com/BhallaLab/moose-core/ ?

I am assuming you are using WSL on windows 10?

@dilawar
Copy link
Contributor

dilawar commented May 4, 2020

Conda on windows seems to be pulling in linux binaries. They are not gonna work on windows.

You can use windows subsystem for Linux (wsl) to run moose or you may have to compile it yourself (it compiles in cygwin).

@LxIiNaGo
Copy link
Author

LxIiNaGo commented May 4, 2020

Many thanks, it works on WSL.

@AdityaAsopa
Copy link

It would help if WSL installation instructions are also added to install.md or installation page on readthedocs.

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

No branches or pull requests

3 participants