原諒我,但我是python的新手。我已經安裝使用 conda install theano
包(theano),當我鍵入conda list
,包存在安裝了一個包含Anaconda的包,無法在Python中導入
然而,當我運行python
進入Python解釋器,並嘗試以import theano
導入它,我得到一個錯誤:「no module named theano」,並且當我列出所有python模塊時,theano不存在。
我缺少什麼?
原諒我,但我是python的新手。我已經安裝使用 conda install theano
包(theano),當我鍵入conda list
,包存在安裝了一個包含Anaconda的包,無法在Python中導入
然而,當我運行python
進入Python解釋器,並嘗試以import theano
導入它,我得到一個錯誤:「no module named theano」,並且當我列出所有python模塊時,theano不存在。
我缺少什麼?
您的系統上是否有另一種Python安裝?您可以在終端中運行「哪個python」來確定將使用哪個Python。
這個問題經常會出現,當你的PATH變量混亂,並且'python'不啓動anaconda的Python解釋器 – cel