关于在Pythonanywhere部署代码出错问题


#1

当我在Pythonanywhere中的bash界面输入代码pipenv install时出现Error, do this: mount -t proc proc /proc错误,虚拟环境创建不了,请问这是什么原因啊
1550133413(1)


#2

请用文字给出完整的命令行输出。


#3

01:16 ~/watchlist (master)$ pipenv install
Error, do this: mount -t proc proc /proc
Error, do this: mount -t proc proc /proc
Installing dependencies from Pipfile.lock (4fada3)…
An error occurred while installing flask-login==0.4.1 --hash=sha256:c815c1ac7b3e35e2081685e389a665f2c74d7e077cb93cecabaea352da4752ec! Will try again.
:snake: ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 10/10 — 00:00:08
Installing initially failed dependencies…
[pipenv.exceptions.InstallError]: File “/home/lightpeng/.local/lib/python3.7/site-packages/pipenv/core.py”, line 1874, in do_install
[pipenv.exceptions.InstallError]: keep_outdated=keep_outdated
[pipenv.exceptions.InstallError]: File “/home/lightpeng/.local/lib/python3.7/site-packages/pipenv/core.py”, line 1253, in do_init
[pipenv.exceptions.InstallError]: pypi_mirror=pypi_mirror,
[pipenv.exceptions.InstallError]: File “/home/lightpeng/.local/lib/python3.7/site-packages/pipenv/core.py”, line 859, in do_install_dependencies
[pipenv.exceptions.InstallError]: retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs
[pipenv.exceptions.InstallError]: File “/home/lightpeng/.local/lib/python3.7/site-packages/pipenv/core.py”, line 763, in batch_install
[pipenv.exceptions.InstallError]: _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry)
[pipenv.exceptions.InstallError]: File “/home/lightpeng/.local/lib/python3.7/site-packages/pipenv/core.py”, line 681, in _cleanup_procs
[pipenv.exceptions.InstallError]: raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: [‘Looking in links: /usr/share/pip-wheels’, ‘Collecting flask-login==0.4.1 (from -r /tmp/pipenv-so82xo3f-requirements/pipenv-cpw1jn7s-requirement.txt (line 1))’]
[pipenv.exceptions.InstallError]: [‘THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.’, ’ flask-login==0.4.1 from file:///usr/share/pip-wheels/Flask_Login-0.4.1-py2.py3-none-any.whl (from -r /tmp/pipenv-so82xo3f-requirements/pipenv-cpw1jn7s-requirement.txt (line 1)):’, ’ Expected sha256 c815c1ac7b3e35e2081685e389a665f2c74d7e077cb93cecabaea352da4752ec’, ’ Got f1f863a824912c6b4d9863c27070cd76b202e11588bc74b553761f96174841ce’]
ERROR: ERROR: Package installation failed…


#4

你的项目源码是直接克隆了示例程序,还是自己写的?(没遇到过这个错误)