我正在运行python3应用程序内引擎(fleixble),并收到以下错误:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes
all files not under version control). Otherwise reinstall numpy.
我上传了numpy库“pip3 install-t/lib numpy”,并将其保存在我的需求文件中(不确定这是否正确)。
要求.txt:
Flask==1.0.2
gunicorn==19.7.1
numpy==1.15.4
我已经安装了numpy几次,并收到以下日志:
Collecting numpy
Using cached
https://files.pythonhosted.org/packages/74/68/2b00ba3c7390354db2a1706291750b6b7e911f6f79c0bd2184ae04f3c6fd/numpy-1.15.4-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
quandl 3.2.0 has requirement requests<2.18,>=2.7.0, but you'll have
requests 2.19.1 which is incompatible.
Installing collected packages: numpy
Successfully installed numpy-1.15.4
如有任何帮助,我们将不胜感激:)
编辑:
我遇到了这个-
https://github.com/numpy/numpy/issues/9272
但是,这似乎会影响到python 3.6.0,而python运行时解释器是3.6.4(由“3”指定)。
app.yaml
文件。有关Google的python配置的更多信息,请访问此处-
https://cloud.google.com/appengine/docs/flexible/python/runtime