Python Forum
"EOL While Scanning String Literal"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"EOL While Scanning String Literal"
#13
(Apr-11-2018, 05:16 PM)tjnichols Wrote: I've imported the requests module with the 'pip' command. I tried it again after I got the error and it said "Requirement already satisfied: requests in c:\users\toliver\appdata\local\enthought\canopy\user\lib\site-packages".
At one time you have installed Enthought Python Distribution
it will set Environment Variables Path to point python and pip in cmd to Enthought.

I have set my main Python as in part-1, part-2.
Then it look like this.
Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. Med enerett.

C:\Windows\System32>cd\

C:\>pip -V
pip 9.0.3 from c:\python36\lib\site-packages (python 3.6)

C:\>python -c "import sys; print(sys.executable)"
C:\python36\python.exe

C:\>
I also have a Distribution Anaconda | my tutorial,but has not set it Windows path Path.
It's has it own place i can access it from.
G:\Anaconda3
λ python -V
Python 3.6.5 :: Anaconda custom (64-bit)

G:\Anaconda3
λ cd scripts

G:\Anaconda3\Scripts
λ pip -V
pip 9.0.1 from G:\Anaconda3\lib\site-packages (python 3.6)

G:\Anaconda3\Scripts
λ conda -V
conda 4.5.0

G:\Anaconda3\Scripts
λ
So you have to think of how you would set it up,i do of course like the way i have it Wink
Reply


Messages In This Thread
"EOL While Scanning String Literal" - by tjnichols - Apr-09-2018, 09:49 PM
RE: "EOL While Scanning String Literal" - by wavic - Apr-09-2018, 10:29 PM
So simple! - by tjnichols - Apr-09-2018, 11:14 PM
RE: "EOL While Scanning String Literal" - by snippsat - Apr-11-2018, 06:38 PM
RE: "EOL While Scanning String Literal" - by nilamo - Apr-12-2018, 03:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Literal beginner - needs help warriordazza 2 1,875 Apr-27-2020, 11:15 AM
Last Post: warriordazza

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020