ahm*_*med 3 python pip heroku setuptools
尝试部署 python 应用程序时,Heroku 部署开始返回此错误:
\n-----> Installing requirements with pip\n Collecting amqp==2.6.1\n Downloading amqp-2.6.1-py2.py3-none-any.whl (48 kB)\n Collecting anyjson==0.3.3\n Downloading anyjson-0.3.3.tar.gz (8.3 kB)\n Preparing metadata (setup.py): started\n Preparing metadata (setup.py): finished with status 'error'\n error: subprocess-exited-with-error\n \n \xc3\x97 python setup.py egg_info did not run successfully.\n \xe2\x94\x82 exit code: 1\n \xe2\x95\xb0\xe2\x94\x80> [1 lines of output]\n error in anyjson setup command: use_2to3 is invalid.\n [end of output]\n \n note: This error originates from a subprocess, and is likely not a problem with pip.\n error: metadata-generation-failed\n \n \xc3\x97 Encountered error while generating package metadata.\n \xe2\x95\xb0\xe2\x94\x80> See above for output.\n \n note: This is an issue with the package mentioned above, not pip.\n hint: See above for details.\n ! Push rejected, failed to compile Python app.\n ! Push failed\nRun Code Online (Sandbox Code Playgroud)\nrequirements.txt 没有变化
\n| 归档时间: |
|
| 查看次数: |
2344 次 |
| 最近记录: |