我正在接受Django并关注https://tutorial.djangogirls.org/en/deploy/的教程,但仍坚持这一点.didnt找到任何可以帮助我做同样事情的来源
pravin@pravin:~/djangogirls/mysite$ pip install --user pythonanywhere
Collecting pythonanywhere
Using cached https://files.pythonhosted.org/packages/91/72/ea7eb1d3dc072034a90e766eadd7fe98406c8ca0664b3eeef820b7d080fb/pythonanywhere-0.0.11.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-DbYlRG/pythonanywhere/setup.py", line 1, in <module>
from pathlib import Path
ImportError: No module named pathlib
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-DbYlRG/pythonanywhere/
O.S:Debian 8和默认Python版本:2.7
答案 0 :(得分:1)
您输入的命令不太正确 - 您错过了“3.6”。它应该是这样的:
pip3.6 install --user pythonanywhere