Forums

PIP3 doesn't works

Hi, I'm trying to install flask-ask on pythonanywhere but pip3 command gives me the following output:

ERROR: Command errored out with exit status 1:
 command: /usr/local/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hu3_zlf5/flask-ask/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hu3_zlf5/flask-ask/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-hu3_zlf5/flask-ask/pip-egg-info
     cwd: /tmp/pip-install-hu3_zlf5/flask-ask/
Complete output (5 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-hu3_zlf5/flask-ask/setup.py", line 8, in <module>
    from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Any ideas on how to solve this?

what is the command that you ran?