storj-thirdparty / uplink-python

Python bindings for libuplink
https://storj.io
Apache License 2.0
21 stars 10 forks source link

error with installation by using pip #27

Open tylerxue opened 1 year ago

tylerxue commented 1 year ago

windows 10; python 3.7; pip 23.0.1;

have tried with the --no-cache-dir flag, but same error.

D:>pip install uplink-python WARNING: Ignoring invalid distribution -ip (d:\python\python37\lib\site-packages) Collecting uplink-python Using cached uplink-python-1.2.2.0.tar.gz (22 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 36, in File "", line 34, in File "C:\Users\Tyler\AppData\Local\Temp\pip-install-p2gbuqoi\uplink-python_8e18c2d779054af295af786b48703341\setup.py", line 11, in long_description = fh.read() UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 5560: illegal multibyte sequence [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. WARNING: Ignoring invalid distribution -ip (d:\python\python37\lib\site-packages) WARNING: Ignoring invalid distribution -ip (d:\python\python37\lib\site-packages)