You are not logged in.
Pages: 1
Well, i can't do anything with python3 yet. So i removed python3, but some of my programs calls python instead of python2 (e.g. emacs, and others). So, i created a file called python with the code:
exec python2 "$@" in a bin directory of mine. So, python is now python2 for me. Is there a problem of doing such a thing if i don't mean to install python3 ?
Offline
You would be better with a symlink.
Satisfied users don't rant, so you'll never know how many of us there are.
Offline
I've tried that, but it seems that the symlink takes a little bit to load the program. I don't know which option is more efficient.
Offline
A lot of programs have been recompiled for python3 on arch. Wouldn't it create problems, if you just removed python3.
Offline
The best solution is to actually fix the apps you are running instead of making ugly workarounds. It should be rather trivial to make emacs call python2 instead of python.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
A symlink is much more efficient (it operates on the filesystem level). Your method calls bash which then calls python2.
Thanks, I'll go with the symlink...
A lot of programs have been recompiled for python3 on arch. Wouldn't it create problems, if you just removed python3.
Actually I manually installed python3 and it had no dependencies when I removed. Maybe if I install some program in the future that needs python3 then I'll have problems.
The best solution is to actually fix the apps you are running instead of making ugly workarounds. It should be rather trivial to make emacs call python2 instead of python.
Ok, but I have plenty of scripts and other programs who call python and is written in python2. I'll fix that, but only when I'm ready to change for python3.
Offline
Ok, but I have plenty of scripts and other programs who call python and is written in python2. I'll fix that, but only when I'm ready to change for python3.
sed(1) will take care of those.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Pages: 1