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
On Ubuntu 20.04 a "python" executable is not available. Instead, "python3" is, by default.
Therefore, bin/pycheckers.py, which uses the preamble:
#!/usr/bin/env python
fails on new Ubuntu installations.
Manually amending it works.
People may be reluctant to mess with system-wide Python installations and create a "python" executable (symlink to python3), for fear of breaking their system.
What is the recommended way of handling this problem?
The text was updated successfully, but these errors were encountered:
Alternatively, couldn't you work in a virtual environment with the local python being python3? Then if emacs uses the right virtual environment the scripts will work.
@rpgoldman I guess I can. In fact, I use pyvenv-workon to select a virtualenv for each project: at that point, "python" points to whatever Python executable the venv is using, either v2 or v3. So, this is not a big problem if using pyvenv.
The bug is mostly about user friendliness, I guess.
On Ubuntu 20.04 a "python" executable is not available. Instead, "python3" is, by default.
Therefore, bin/pycheckers.py, which uses the preamble:
fails on new Ubuntu installations.
Manually amending it works.
People may be reluctant to mess with system-wide Python installations and create a "python" executable (symlink to python3), for fear of breaking their system.
What is the recommended way of handling this problem?
The text was updated successfully, but these errors were encountered: