Changes to Python Path are not saving!

1,917 views
Skip to first unread message

AgentFriday

unread,
Jul 23, 2012, 6:27:08 PM7/23/12
to pyscr...@googlegroups.com
Recently when I make changes to the path list in Tools | Python Path, the changes are reverted the next time the python console is reset.  What could be going on here?  Any help would be appreciated.  I can hardly develop using PyScripter until this is resolved.

AgentFriday

unread,
Jul 23, 2012, 7:56:44 PM7/23/12
to pyscr...@googlegroups.com
FYI...
 
Apparently this is how it's designed?  It seems kind of strange that the changes only last until you start debugging, since launching a script always resets the python interpreter first.  It seems that it reads sys.path from the current interactive session, and that's the only place it applies your changes.
 
I needed to change the PYTHONPATH in the environment variables and restart PyScripter.  That did the trick.
 

PyScripter

unread,
Jul 23, 2012, 9:54:35 PM7/23/12
to pyscr...@googlegroups.com
Indeed.  Please see http://code.google.com/p/pyscripter/issues/detail?id=302.

Project paths are persisted across engine reinitialization.
Reply all
Reply to author
Forward
0 new messages