how to add personal library to path?

188 views
Skip to first unread message

Mihai Ionescu

unread,
Nov 29, 2017, 9:25:55 AM11/29/17
to PyScripter
Hi,

I just updated to version 3 of pyscripter
(i was still on version 2, with no issues until now)

I needed to add 2 things to path, to have intellisense:
1. anaconda python
2. my personal library

1. i added miniconda2 folder from my user folder
apparently no problem
although, after i close pyscripter, and open it again,
it finds anaconda interpreter, but i don't see the path in Tools -> Python path..
weird, bug or?

2. i tried to add my personal library too
but again, it disappears from Python Path
and no intellisense, it's not recognized apparently

Now, my personal library path contains spaces
C:\Users\myusername\work work\python\lib

But on pyscripter 2.6 i didn't have any issues with this path

I tried to google for the issue, with no success

Help? :)

BBands

unread,
Nov 29, 2017, 12:26:39 PM11/29/17
to PyScripter Group
Hi,

Can you tell us a bit about using Intellisense with Python and PyScripter? Seems interesting at first blush. I assume that you have to have a version of VisualStudio installed?

Best,

     John

--
You received this message because you are subscribed to the Google Groups "PyScripter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyscripter+unsubscribe@googlegroups.com.
To post to this group, send email to pyscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/pyscripter.
For more options, visit https://groups.google.com/d/optout.

PyScripter

unread,
Nov 29, 2017, 5:04:02 PM11/29/17
to PyScripter
The Tools, Python path functionality was implemented to allow easy browsing of the python path and temporary changes to it, so changes are not saved.  To change the Python pyhon path permanently you use one of the ways which also affect the standard Python interpreter (PYTHONPATH environment variable, registry value HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\x.x\PythonPath).

If you want to change the python path for every pyscripter session, without affecting the standard python interpreter path you can do it in the python_init.py initialization file.  See http://pyscripter.blogspot.com/2010/10/python-engine-initialization.html or the help file for details
Reply all
Reply to author
Forward
0 new messages