我一直在這裏以下教程:http://discoproject.org/doc/disco/start/install.html沒有模塊名爲disco.core
,並已成功的最多,我運行腳本的點。我得到的錯誤:
no module named disco.core
我已經安裝迪斯科根據上述說明,但這似乎並沒有安裝python庫。
我曾嘗試使用暢達,PIP它安裝,並沒有任何運氣的easy_install ..
人有什麼想法?
我一直在這裏以下教程:http://discoproject.org/doc/disco/start/install.html沒有模塊名爲disco.core
,並已成功的最多,我運行腳本的點。我得到的錯誤:
no module named disco.core
我已經安裝迪斯科根據上述說明,但這似乎並沒有安裝python庫。
我曾嘗試使用暢達,PIP它安裝,並沒有任何運氣的easy_install ..
人有什麼想法?
運行make install
,它應該安裝在標準位置(站點包或測距程序包)迪斯科庫。
這爲我工作只爲安裝庫成的virtualenv:
virtualenv some_venv_here && source some_venv_here/lib/activate
git clone https://github.com/discoproject/disco.git
cd disco/lib
python setup.py install
我這樣做,但我想我現在看到的問題。我正在運行anaconda,並且在我的常規mac python安裝下安裝了disco。任何方式強制這個到正確的地方? – dvreed77
找到它,並添加到環境變量PYTHONPATH或代碼與'sys.path.append(「/路徑/到/ discolib」)' – twil