drift-labs / driftpy

python sdk to interact with drift v2
https://drift-2.gitbook.io/driftpy-for-dummies/
56 stars 36 forks source link

Cannot install driftpy with pip install #137

Open albertwong08 opened 3 months ago

albertwong08 commented 3 months ago

When I try to install driftpy using pip install, I get stuck with error as below:

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\user\AppData\Local\Temp\pip-install-u5vik0hu\apischema_cfb95ac57f1b4346a4297a7d6a60f7ac\setup.py", line 101, in long_description=pathlib.Path("README.md").read_text(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\pathlib.py", line 1059, in read_text return f.read() ^^^^^^^^ UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 649: illegal multibyte sequence [end of output]

Please advise.

albertwong08 commented 3 months ago

I can finally install the library by including the PYTHONUTF8 environment variable.