首先使用 sys 下的 path 变量查看所有的 python 路径:
import sys
sys.path
标准库
lib 目录下(home 目录/pythonXX.XX/lib)
第三方库
在 lib 下的 site-packages 目录下
home 目录/pythonXX.XX/lin/site-packages/ >> import moudle
>>
module.__file__ 如:
>> import theano
>> theano.
__file__
/home/bigdata/anaconda2/lib/python2.7/site-packages/theano/
__init__.pyc
1. tensorflow
安装时的问题:import tflearn error: AttributeError: module ‘pandas’ has no attribute ‘computation’ 解决方案:pip install dask –upgrade
import tflearn error: AttributeError: module ‘pandas’ has no attribute ‘computation’
转载请注明原文地址: https://ju.6miu.com/read-668495.html