[Tutor] Virtual environment question

Mats Wichmann mats at wichmann.us
Mon Mar 12 22:35:02 EDT 2018


you are talking about different sides of isolation. you install into a virtualenv and those pkgs don't go into the system area. that says nothing about using existing bits of the system...

On March 12, 2018 6:31:47 PM PDT, Jim <jf_byrnes at comcast.net> wrote:
>On 03/12/2018 04:04 AM, eryk sun wrote:
>> On Mon, Mar 12, 2018 at 12:44 AM, Jim <jf_byrnes at comcast.net> wrote:
>>>
>>> home = /usr/bin
>>> include-system-site-packages = false
>> [...]
>>>      resp = opener.open(request, timeout=self._timeout)
>>>    File "/usr/lib/python3.5/urllib/request.py", line 466, in open
>> 
>> This is normal. Virtual environments are not isolated from the
>standard library.
>
>Interesting. All I know about virtual environments is what I read on
>the 
>net. I always see them recommended as a way to keep from messing up the
>
>default python, so I thought isolation was their purpose.
>
>Thanks,  Jim
>
>
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>To unsubscribe or change subscription options:
>https://mail.python.org/mailman/listinfo/tutor

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the Tutor mailing list