Open eytsoft opened 1 year ago
Please provide me a way to recreate this error.
i face this error on ubuntu
Which command do you use to run python files? i.e. py
, pyton3
?
Experiencing this same error, not sure if this is a misunderstanding over how this plugin is intended to be used. In our situation, vite and django are executing in separate containers, thus vite does not have access to python or manage.py.
The containerization does not matter. This plugin needs access of python
and manage.py
in vite side too,
We don't need to access the django server, just manage.py
The call cannot find the python interpreter. On recent Ubuntu/Debian versions you need to use python3
.
If you are in a container, add a RUN line like:
echo -e "interpreter:\n python: `which python||echo not found`\n python3: `which python3||echo not found`"
interpreter:
python: not found
python3: /usr/bin/python3
then check the build output to see which line gives you the path to the interpreter.