【问题标题】:Why is my Python3 pip package not working eventhough it shows on PyPi?为什么我的 Python3 pip 包即使在 PyPi 上显示也不起作用?
【发布时间】:2016-08-14 11:39:09
【问题描述】:

这是一个我试图在 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

为什么会这样?

谢谢

【问题讨论】:

    标签: python python-3.x pip bitcoin


    【解决方案1】:

    你的包在 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
    

    【讨论】:

    • 这该死的尴尬...谢谢。
    猜你喜欢
    • 2021-12-25
    • 1970-01-01
    • 2013-04-04
    • 2022-12-12
    • 2020-04-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-04
    相关资源
    最近更新 更多