[vip-help] Issue with running file on bluepill server
Nandini Mukul Pande
panden at purdue.edu
Mon Mar 25 13:44:28 EDT 2024
Hello,
We have uploaded some files to the bluepill server, and it's set so that when a picture is uploaded, the file should run (it will call the model I believe). Well, the picture is getting uploaded, but the file isn't running correctly. It is returning
Traceback (most recent call last): File "/data/panden/public_html/test.py", line 1, in import numpy as np ModuleNotFoundError: No module named 'numpy'
We have installed numpy and other libraries onto bluepill but still, the app shows this error. We know the test.py file is running because when we printed "Hello world" at the very beginning of the program, we would see hello world returned.
We have tried switching the first statement of test.py to
from matplotlib.image import imread
to see if it was just a problem with numpy but it seems there is issues with all the libraries we have used, even though we downloaded them onto bluepill.
We have verified that numpy was installed for the correct Python version we are using.
Our getImage.php file can be accessed here: https://bluepill.ecn.purdue.edu/~panden/getImage.php
Our test.py file can be accessed here:
https://bluepill.ecn.purdue.edu/~panden/<https://bluepill.ecn.purdue.edu/~panden/getImage.php>test.py
Please let me know if you need more information.
Thanks,
Nandini Pande
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ECN/mailman/archives/vip-help/attachments/20240325/49f0455d/attachment.htm>
More information about the vip-help
mailing list