I have added a path to the system pythonpath on linux and now i've broken it. How may i remove it ?
[EDIT] Finally i solved it removing the script that added that path + installing something to rebuild the path.
I have added a path to the system pythonpath on linux and now i've broken it. How may i remove it ?
[EDIT] Finally i solved it removing the script that added that path + installing something to rebuild the path.
not directly programming related but....
'print' your pythonpath to a file, edit the file and export that as your new pythonpath
[edit] I stand corrected, see Banang answer below [/edit]
I don't think there is a concept of Windows-like environment variables in Linux; they are defined in various scripts (e.g. .bashrc
). You can edit those in any text editor.
What exactly did you to do "break" your PYTHONPATH?