2017-09-23 53 views
-1
Python : 3.6.2 
PIP : 9.0.1 
virtualenv : 15.1.0 

得名dateutil.parser參照本No module named dateutil.parserdateutil

無模塊我virutalenv

(website) ❯ pip install python-dateutil 
    Collecting python-dateutil 
     Using cached python_dateutil-2.6.1-py2.py3-none-any.whl 
    Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.6/site-packages (from python-dateutil) 
    Installing collected packages: python-dateutil 
    Successfully installed python-dateutil-2.6.1 

安裝中的python-dateutil但是,當我試圖在Python Shell導入此

>>> from dateparser.date import DateDataParser 
Traceback (most recent call last): 
    File "<stdin>", line 1, in <module> 
ModuleNotFoundError: No module named 'dateparser' 
>>> 

可能是什麼問題?

回答

0

對於dateparser.date您需要安裝dateparser。它完全獨立於python-dateutil

pip install dateparser 
相關問題