Whenever I try pip install ast. I keep receiving this error code:
Downloading AST-0.0.2.tar.gz (19 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip.
I am unsure as to why this happening.
- Installing visual code installer
- Installing C++ compiler
- Installing via Conda Prompt
- Installing via Admin Terminal
- Installing via C++ VS Code
- I followed this ast documentation
Not sure the meaning of the error code, or why I am receiving it every time I am trying to install a package.
The ast page you linked is part of the Python standard library. You don’t need to pip install anything to use it. Just
import ast. The ast pip package you’re downloading is unrelated and last released in 2017 so it’s probably just broken.