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

ModuleNotFoundError #72

Closed
qqtop opened this issue Dec 3, 2018 · 2 comments
Closed

ModuleNotFoundError #72

qqtop opened this issue Dec 3, 2018 · 2 comments

Comments

@qqtop
Copy link

qqtop commented Dec 3, 2018

Getting this runtime error

nimpy.nim(1004)          pyImport
py_utils.nim(98)         raisePythonError
Error: unhandled exception: <class 'ModuleNotFoundError'>: No module named 'fdb' [Exception]

pip3 installed modules are not found anymore , code like pyos=pyImport("os") work fine
I still have compiled code where this works so not sure if this is a nimpy or Nim issue or something else.
System is debian with python3.6.7 and latest Nim devel

Edit
After further tests on several systems , this error seems to show itself only if there is a mixture of
python3.7.x standard libraries and python 3.6.x libraries on the system

@yglukhov
Copy link
Owner

So it seems you have the package installed into python3.6, but nimpy uses the latest (3.7). You can verify that by inspecting sys.path.

@yglukhov
Copy link
Owner

Looks like a duplicate of #46

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

2 participants