-
Notifications
You must be signed in to change notification settings - Fork 3
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
Getting an Numpy not find error during run #12
Comments
Obviously, this is due to the following path in module. Not sure how to fix it.
|
-- NGen version: 0.1.0 -- Configuring done |
This looks like the similar issue raised by Trupesh. |
Can you run ldd /usr/bin/python3.9 In the container runtime? |
|
So this isn't the same issue referenced above (NOAA-OWP/ngen#655) which is caused by the python interpreter being statically linked. Best guess is a path problem. This looks suspicious:
It looks like numpy is installed/found in
Whereas the python path is
Can you simply open a python interpreter in the container and import numpy? |
Able to import numpy in python.
Also numpy is found in the location.
python location
no numpy in /usr/lib/python3.9/site-packages
|
Have you tried using a virtual environment for building and running ngen with? |
No virtual environment is used. |
What ngen commit are you building? A pybind update was merged a couple days ago. |
I just built the image with ngen master branch. |
Getting the same error in docker build as well.
|
Build and run are successful with commit id f91e2ea of ngen repo. |
Command to run the image
Command to run inside running image
Error message
Some path variables inside running image
Linux:
The text was updated successfully, but these errors were encountered: