我发布了我的包裹记录库在 PyPI 上
但是当我尝试时pip install reclib
,它给出了错误:
WARNING: No metadata found in /opt/conda/lib/python3.7/site-packages
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/opt/conda/lib/python3.7/site-packages/pytz-2019.2.dist-info/METADATA'
我按照以下步骤发布包裹:
我已经在 PyPI 上注册了该包,并修改了版本setup.py
python setup.py sdist
twine upload --skip-existing dist/*
我应该怎么做才能正确发布和安装我的 python 包?