-
[SOLVED]how set PYTHONPATH ?
hI
I have issue with setting PYTHONPATH in Kali...where I can find it for editing?'
if I cat .bashrc....nothing
thanks in advance
Last edited by zeta; 2013-05-29 at 15:45.
-
ok, I solved as follows:
from BASH type: export PYTHONPATH=/path/to/new/folder:/another/path/...../ #each path must be separated by a colon
this isn't a permanent change in sys.path, because when you log out, your environment is reset, so any variables you may have set are lost...
then You must edit your ".bashrc" file adding previus "path string" to it ;
now your sys.path remains updated also when reboot your machine.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules