Results 1 to 3 of 3

Thread: how set PYTHONPATH ?

  1. #1
    Join Date
    2013-May
    Posts
    7

    [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.

  2. #2
    Join Date
    2013-May
    Posts
    7
    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.

  3. #3
    Join Date
    2013-Mar
    Posts
    9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •