Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.11以后lz4a无法安装 #15

Open
Pengfei00 opened this issue Mar 17, 2023 · 1 comment
Open

python3.11以后lz4a无法安装 #15

Pengfei00 opened this issue Mar 17, 2023 · 1 comment

Comments

@Pengfei00
Copy link

该库太老了 要不换个依赖?比如 lz4 ?

@wsgzao
Copy link

wsgzao commented Mar 29, 2023

Installing collected packages: lz4a, soupsieve, pycryptodome, py, protobuf, decorator, retry, beautifulsoup4, google, volcengine
  DEPRECATION: lz4a is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for lz4a ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for lz4a did not run successfully.


# Python 3.11后的版本以下命令无效
pip install lz4a --use-pep517

# 有效的解决方案是
pyenv install 3.10
pyenv global 3.10.10
# pip install volcengine-python-sdk
pip install --user volcengine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants