[Tutor] Running programs that import 3rd party packages installed using pip.

Alan Gauld alan.gauld at yahoo.co.uk
Thu Oct 4 12:37:57 EDT 2018

On 04/10/18 15:15, Roger B. Atkins wrote:
> That's very helpful, thanks. After reading the Tutor information last
> night, I wrote a little program I named sysinfo. The code run line by
> line in a Spyder console yields:
> In [3]: sys.path
> Out[3]:
> ['',
>  'C:\\Users\\rba21\\Anaconda3\\python36.zip',
>  'C:\\Users\\rba21\\Anaconda3\\DLLs',
>  'C:\\Users\\rba21\\Anaconda3\\lib',
>  'C:\\Users\\rba21\\Anaconda3',
>  'C:\\Users\\rba21\\Anaconda3\\lib\\site-packages',

Note that the interesting bit is what it looks like outside
of Spyder. We know it works OK within Spyder it's what
gets defined outside Spyder that matters.

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list