安装pyenv install时指定enable-shared

来源:互联网 发布:windows刷mac os 编辑:程序博客网 时间:2024/05/21 22:32

- Traceback (most recent call last):-   File "/root/.pyenv/versions/3.5.1/lib/python3.5/site-packages/theano/gof/lazylinker_c.py", line 74, in <module>-     raise ImportError()- ImportError- - During handling of the above exception, another exception occurred:- - Traceback (most recent call last):-   File "/root/.pyenv/versions/3.5.1/lib/python3.5/site-packages/theano/gof/lazylinker_c.py", line 91, in <module>-     raise ImportError()- ImportError- - During handling of the above exception, another exception occurred:
使用如下安装:

env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.5.1

0 0
原创粉丝点击