-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
ERROR: Failed building wheel for volcengine-python-sdk Running setup.py clean for volcengine-python-sdk Failed to build volcengine-python-sdk ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects #1677
Comments
1. Check Python Version Ensure that the Python version you are using is compatible with 2. Resolve Windows Long Path Issues The installation might fail due to Windows' path length limitations. You can resolve this by: 3. Manual Installation If the installation still fails via python setup.py install --user If you want to install it for all users, you can use 4. Check Dependencies Ensure that all dependencies are correctly installed. Missing or incompatible versions of dependencies (e.g., pip install --upgrade setuptools Then, try reinstalling 5. Use a Conda Environment If the problem persists, you can try installing it in a Conda environment. Conda environments can better manage dependencies and isolate environments: conda create -n volcengine_env python=3.9
conda activate volcengine_env
pip install volcengine-python-sdk 6. Contact Official Support If none of the above methods work, consider reaching out to the official support or submitting an issue on GitHub Issues with more context. 7. Install a Linux OS Emulator When installing I hope these solutions help you resolve the issue! |
+1 Collecting volcengine-python-sdk~=1.0.94 (from volcengine-python-sdk[ark]~=1.0.94->-r requirements.txt (line 78))
Downloading volcengine-python-sdk-1.0.123.tar.gz (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 5.7 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[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. |
I find the solution. DO NOT install |
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for volcengine-python-sdk
Running setup.py clean for volcengine-python-sdk
Failed to build volcengine-python-sdk
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (volcengine-python-sdk)
The text was updated successfully, but these errors were encountered: