1
我是一個完整的noob,所以請不要太可惜。已經在幾個小時內搜索了我的問題的答案,並且沒有取得進展。我使用的是IPython 3.4(筆記本)的Anaconda3 32bit Windows版本安裝tradingWithPython模塊 - ImportError:沒有名爲'lib.functions'的模塊
我想安裝tradingWithPython模塊,使用!pip install tradingWithPython。它似乎正在尋找lib文件夾中的functions.py文件(在那裏),但它沒有找到它。這就是我得到:
收集tradingWithPython
使用緩存tradingWithPython-0.0.14.0.zip
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\Gary\AppData\Local\Temp\pip-build-8doxz5zd\tradingWithPython\setup.py", line 3, in <module>
import tradingWithPython as twp
File "C:\Users\Gary\AppData\Local\Temp\pip-build-8doxz5zd\tradingWithPython\tradingWithPython\__init__.py", line 12, in <module>
from lib.functions import *
ImportError: No module named 'lib.functions'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Users\Gary\AppData\Local\Temp\pip-build-8doxz5zd\tradingWithPython\setup.py", line 3, in <module>
import tradingWithPython as twp
File "C:\Users\Gary\AppData\Local\Temp\pip-build-8doxz5zd\tradingWithPython\tradingWithPython\__init__.py", line 12, in <module>
from lib.functions import *
ImportError: No module named 'lib.functions'
我缺少什麼?我也嘗試從cmd行安裝,但結果相同。我有一個Python 2.7版本,它給了我相同的結果。
非常感謝!