这是一个小库,我正在尝试在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
为什么会这样?
由于
答案 0 :(得分: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