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

2018-10-04 Thread Alan Gauld via Tutor
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\\python

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

2018-10-04 Thread Roger B. Atkins
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

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

2018-10-04 Thread Roger B. Atkins
Thanks! That helps. I'll have to go back to the drawing board, but you've put me on the right "path". On Thu, Oct 4, 2018 at 12:47 AM Alan Gauld via Tutor wrote: > > On 04/10/18 04:20, Roger B. Atkins wrote: > > System: Windows 10, Anaconda, Python 3, Spyder3 > > > > > I changed my system path va

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

2018-10-04 Thread Mats Wichmann
On 10/03/2018 09:20 PM, Roger B. Atkins wrote: > System: Windows 10, Anaconda, Python 3, Spyder3 > > Problem: Running programs that import requests, pyperclip, bs4 and/or > other modules from 3rd party packages works fine within Spyder IDE, > but not from command line, or Win/R. The error message

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

2018-10-04 Thread Alan Gauld via Tutor
On 04/10/18 04:20, Roger B. Atkins wrote: > System: Windows 10, Anaconda, Python 3, Spyder3 > > I changed my system path variable to include: > C:\Users\rba21\Anaconda3\lib\site-packages# Result: same error message When you say the "system path" do you mean the PYTHONPATH variable? It's PYT

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

2018-10-04 Thread Roger B. Atkins
System: Windows 10, Anaconda, Python 3, Spyder3 Problem: Running programs that import requests, pyperclip, bs4 and/or other modules from 3rd party packages works fine within Spyder IDE, but not from command line, or Win/R. The error message indicates no such module. Therefore, my programs crash a