为什么我的python3pip包即使在PyPi上显示也不能工作?

2024-06-01 00:32:30 发布

您现在位置:Python中文网/ 问答频道 /正文

这里有一个小的库,我正试图让其他人可以在PyPi上使用。你知道吗

https://github.com/rojavacrypto/python-libbitcoin

我使用此命令上载包:

$ python setup.py sdist bdist_wheel upload

我也试过这个:

$ python setup.py sdist bdist_egg upload

两者似乎都运行良好,没有错误,甚至是listed on PyPi

但由于某种原因,当我尝试在Ubuntu上pip安装时,它给了我一个错误。你知道吗

# pip3 install libbitcoin
Collecting libbitcoin
  Could not find a version that satisfies the requirement libbitcoin (from versions: )
No matching distribution found for libbitcoin

为什么会这样?你知道吗

谢谢


Tags: pyhttps命令githubpypicom错误setup
1条回答
网友
1楼 · 发布于 2024-06-01 00:32:30

PyPI中您的包的名称是“python libbitcoin”:

pip3 install python-libbitcoin

给你:

Downloading/unpacking python-libbitcoin
  http://pypi.python.org/simple/python-libbitcoin/ uses an insecure transport scheme (http). Consider using https if pypi.python.org has it available
  Downloading python-libbitcoin-1.2.2.tar.gz
  Running setup.py (path:/home/lukas/x/build/python-libbitcoin/setup.py) egg_info for package python-libbitcoin

相关问题 更多 >