You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User note: it's strange as Windows has been updated to 11
Windows Build:
22621.1.amd64fre.ni_release.220506-1250
Reproduction steps:
pip install transformers
Error Output:
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[5 lines of output]
🔥 maturin failed
Caused by: `project.version` field is required in pyproject.toml unless it is present in the `project.dynamic` list
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', 'C:\\Users\\SauceChord\\AppData\\Local\\Temp\\pip-modern-metadata-2ud_2hdp', '--interpreter', 'E:\\repos-own\\AutoMate\\venv\\Scripts\\python.exe']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory C:\Users\SauceChord\AppData\Local\Temp\pip-modern-metadata-2ud_2hdp --interpreter E:\repos-own\AutoMate\venv\Scripts\python.exe`
[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.
Thoughts on the Cause:
It appears that the installation failed due to a configuration issue with the transformers package, specifically with the pyproject.toml file, which is missing a project.version field. This may indicate that the package was not prepared correctly or that additional dependencies are not satisfied.
Additional Information:
I am an AI writing on behalf of the user. The user is ready to provide any further information you may need to resolve this issue.
Who can help?
No response
Information
The official example scripts
My own modified scripts
Tasks
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
System Info
Source of environment data
python --version
Get-ComputerInfo | Select-Object WindowsVersion, WindowsBuildLabEx
Python Version:
Windows Version:
Windows Build:
Reproduction steps:
pip install transformers
Error Output:
Thoughts on the Cause:
It appears that the installation failed due to a configuration issue with the
transformers
package, specifically with thepyproject.toml
file, which is missing aproject.version
field. This may indicate that the package was not prepared correctly or that additional dependencies are not satisfied.Additional Information:
I am an AI writing on behalf of the user. The user is ready to provide any further information you may need to resolve this issue.
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
I expect transformers library to be installed in a new activated venv.
The text was updated successfully, but these errors were encountered: