Восходящая связь-ошибка python при установке/ запуске

#python #python-3.x

Вопрос:

Я пытаюсь использовать storj с python, поэтому я попытался установить uplink-python (стороннюю библиотеку, wiki здесь, документы здесь) для использования API. Но когда я запускаю свой код:

 from uplink_python.uplink import Uplink

MY_API_KEY = "something"
MY_SATELLITE = "us-central-1.tardigrade.io:7777"
MY_ENCRYPTION_PASSPHRASE = "something"

uplink = Uplink()
 

ошибка была выброшена:

 line 7, in <module>
    uplink = Uplink()
  File "C:UsersuserAppDataLocalProgramsPythonPython39libsite-packagesuplink_pythonuplink.py", line 50, in __init__
    raise LibUplinkSoError
uplink_python.errors.LibUplinkSoError: 'libuplinkc.so not found'
 

Я не думаю, что сделал что-то не так с копированием и вставкой токена или парольной фразы, поэтому я предположил, что это связано с тем, что я не установил необходимые компоненты Visual Studio (я на Windows 10). После установки и перезагрузки моего компьютера, даже если pip переустановлен uplink-python с помощью admin perms, ошибка все еще присутствует, и я заметил, что при переустановке также было несколько ошибок:

 Collecting uplink-python
  Downloading uplink-python-1.2.2.0.tar.gz (22 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:UsersuserAppDataLocalProgramsPythonPython39python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-zsg1e8wh\uplink-python_1c3d0e2dd6604baab46e5e8b1670e671\setup.py'"'"'; __file__='"'"'C:\Users\user\AppData\Local\Temp\pip-install-zsg1e8wh\uplink-python_1c3d0e2dd6604baab46e5e8b1670e671\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersuserAppDataLocalTemppip-pip-egg-info-yektrlpy'
         cwd: C:UsersuserAppDataLocalTemppip-install-zsg1e8whuplink-python_1c3d0e2dd6604baab46e5e8b1670e671
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:UsersuserAppDataLocalTemppip-install-zsg1e8whuplink-python_1c3d0e2dd6604baab46e5e8b1670e671setup.py", line 11, in <module>
        long_description = fh.read()
    UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 5552: illegal multibyte sequence
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/45/0b/6738db4098db748d033bc82e14d09482abb14376ae8813c84755e7a9655d/uplink-python-1.2.2.0.tar.gz#sha256=47ce97110d15464ef1c81e58f2079e2363b3f1309fb91c5520e74ab54581aa0a (from https://pypi.org/simple/uplink-python/) (requires-python:>=3.4). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading uplink-python-1.2.0.1.tar.gz (22 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:UsersuserAppDataLocalProgramsPythonPython39python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-zsg1e8wh\uplink-python_600ed3c911384ecca7ad9589443488e4\setup.py'"'"'; __file__='"'"'C:\Users\user\AppData\Local\Temp\pip-install-zsg1e8wh\uplink-python_600ed3c911384ecca7ad9589443488e4\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersuserAppDataLocalTemppip-pip-egg-info-ontnwsuh'
         cwd: C:UsersuserAppDataLocalTemppip-install-zsg1e8whuplink-python_600ed3c911384ecca7ad9589443488e4
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:UsersuserAppDataLocalTemppip-install-zsg1e8whuplink-python_600ed3c911384ecca7ad9589443488e4setup.py", line 11, in <module>
        long_description = fh.read()
    UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 5552: illegal multibyte sequence
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/66/d0/fb3b7d36fa564166d876195015a788ef9cd812c3f7ac8792f7366b80020a/uplink-python-1.2.0.1.tar.gz#sha256=b23542c9fbfb7205377e39f08c8a7264fd1d506a4c8acecef1c9961f7c183e05 (from https://pypi.org/simple/uplink-python/) (requires-python:>=3.4). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading uplink-python-1.2.0.0.tar.gz (22 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:UsersuserAppDataLocalProgramsPythonPython39python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-zsg1e8wh\uplink-python_06edb61399f54421868c8e9b43bc67ec\setup.py'"'"'; __file__='"'"'C:\Users\user\AppData\Local\Temp\pip-install-zsg1e8wh\uplink-python_06edb61399f54421868c8e9b43bc67ec\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UsersuserAppDataLocalTemppip-pip-egg-info-6jcei5rc'
         cwd: C:UsersuserAppDataLocalTemppip-install-zsg1e8whuplink-python_06edb61399f54421868c8e9b43bc67ec
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:UsersuserAppDataLocalTemppip-install-zsg1e8whuplink-python_06edb61399f54421868c8e9b43bc67ecsetup.py", line 11, in <module>
        long_description = fh.read()
    UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 5552: illegal multibyte sequence
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d6/ed/8ac67c6bd69d37b68c74f30305b6ce03ee1a46315b963b10be1fcf579721/uplink-python-1.2.0.0.tar.gz#sha256=a8230a22cc4f3fbe9524043b2f709841676eba1c499d5455b7b8ab898157585d (from https://pypi.org/simple/uplink-python/) (requires-python:>=3.4). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
 

После этого я уже понятия не имею, как это исправить. Так кто-нибудь знает, что происходит?