running python3 script from the cloud shell using python3 directory/folder.py
the scipt always throws an exception when I attempt to import numpy or pandas (it *will *import csv and regex) the code works locally. by all appearances numpy and pandas are properly installed . I have even reinstalled them multiple times. ALSO, if I go to the python3 text editor and install "import numpy" at the prompt it also tells me that the module is not found. See Attached. The pip installs to python2.7 but I can see numpy is also installed for python3.4 Perhaps there an environmental variable I am missing I have seen people ask the same question on Stack Overflow. for example https://stackoverflow.com/questions/36784845/installed-packages-disappeared-in-google-cloud-shell but the answers are not pertinent. While it shouldnt be necessary, I even tried inserting the red lines in my script as a workaround without success from __future__ import print_function, division import sys,os sys.path.append('/usr/lib/python3.4/dist-packages') os.system("sudo apt-get install python-pandas -y") os.system("sudo apt-get install python-numpy -y") os.system("sudo apt-get install python-scipy -y") import csv, time, re import pandas as pd import numpy as np I dont see this addressed anywhere in your documentation -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/52e56340-bd9d-459a-9b57-a23ccc6c9167%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
