[Python] encounter failure when "npm install @azure-tools/typespec-python" in a non-python environment #5112
Labels
emitter:client:python
Issue for the Python client emitter: @typespec/http-client-python
Clear and concise description of the problem
The "npm install @azure-tools/typespec-python" command failed in a non-Python environment, requiring Python installation and a restart to succeed.
I understand that generating Python client code needs a Python environment, but it's frustrating to get a long error trace before starting the code generation.
Remove the dependency check when installing the tool lib. Also, "npm install @azure-tools/typespec-java" works in non-Java environments, Cross language consistency is expected.
Checklist
The text was updated successfully, but these errors were encountered: