Pypi:不允许存储或编辑包信息
Pypi: Not allowed to store or edit package information
Pypi 问题:不允许存储或编辑包信息。我正在关注 this tutorial。
.pypirc
[distutils]
index-servers =
pypi
pypitest
[pypi]
respository: https://pypi.python.org/pypi
username: Redacted
password: Redacted
[pypitest]
respository: https://testpypi.python.org/pypi
username: Redacted
password: Redacted
setup.py
from setuptools import setup, find_packages
with open('README.rst') as f:
readme = f.read()
setup(
name = "quick",
version = "0.1",
packages = find_packages(),
install_requires = ['numba>=0.17.0',
'numpy>=1.9.1',],
url = 'https://github.com/David-OConnor/quick',
description = "Fast implementation of numerical functions using Numba",
long_description = readme,
license = "apache",
keywords = "fast, numba, numerical, optimized",
)
命令:
python setup.py register -r pypitest
错误:
Server response (403): You are not allowed to store 'quick' package information
我能够使用 pypi 测试站点上的表格成功注册,但是当我使用这个上传时:
python setup.py sdist upload -r pypitest
我收到类似的消息:
error: HTTP Error 403: You are not allowed to edit 'quick' package information
根据 these instructions,我在使用 Twine 和 Wheel 时收到相同的错误消息。这个问题在这里和其他地方多次出现,并且已经通过在上传前注册并通过电子邮件验证 PyPi 帐户来解决。我 运行 喜欢别的东西。
从这个列表中可以看到 PyPi 上的所有包:
https://pypi.python.org/simple/
quick 在那里。问题作者说 he/she cannot create quick package,所以 he/she 不是 PyPi 上的包作者,之前有人创建过同名的包。
Pypi 问题:不允许存储或编辑包信息。我正在关注 this tutorial。
.pypirc
[distutils]
index-servers =
pypi
pypitest
[pypi]
respository: https://pypi.python.org/pypi
username: Redacted
password: Redacted
[pypitest]
respository: https://testpypi.python.org/pypi
username: Redacted
password: Redacted
setup.py
from setuptools import setup, find_packages
with open('README.rst') as f:
readme = f.read()
setup(
name = "quick",
version = "0.1",
packages = find_packages(),
install_requires = ['numba>=0.17.0',
'numpy>=1.9.1',],
url = 'https://github.com/David-OConnor/quick',
description = "Fast implementation of numerical functions using Numba",
long_description = readme,
license = "apache",
keywords = "fast, numba, numerical, optimized",
)
命令:
python setup.py register -r pypitest
错误:
Server response (403): You are not allowed to store 'quick' package information
我能够使用 pypi 测试站点上的表格成功注册,但是当我使用这个上传时:
python setup.py sdist upload -r pypitest
我收到类似的消息:
error: HTTP Error 403: You are not allowed to edit 'quick' package information
根据 these instructions,我在使用 Twine 和 Wheel 时收到相同的错误消息。这个问题在这里和其他地方多次出现,并且已经通过在上传前注册并通过电子邮件验证 PyPi 帐户来解决。我 运行 喜欢别的东西。
从这个列表中可以看到 PyPi 上的所有包:
https://pypi.python.org/simple/
quick 在那里。问题作者说 he/she cannot create quick package,所以 he/she 不是 PyPi 上的包作者,之前有人创建过同名的包。