Please unsubscribe me from thi list ________________________________ From: Tutor <tutor-bounces+greg.johnson1=outlook....@python.org> on behalf of tutor-requ...@python.org <tutor-requ...@python.org> Sent: Wednesday, March 14, 2018 4:00:02 PM To: tutor@python.org Subject: Tutor Digest, Vol 169, Issue 12
Send Tutor mailing list submissions to tutor@python.org To subscribe or unsubscribe via the World Wide Web, visit https://mail.python.org/mailman/listinfo/tutor or, via email, send a message with subject or body 'help' to tutor-requ...@python.org You can reach the person managing the list at tutor-ow...@python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Tutor digest..." Today's Topics: 1. Re: Virtual environment question (Jim) ---------------------------------------------------------------------- Message: 1 Date: Tue, 13 Mar 2018 16:35:02 -0500 From: Jim <jf_byr...@comcast.net> To: tutor@python.org Subject: Re: [Tutor] Virtual environment question Message-ID: <p89g27$1e4$1...@blaine.gmane.org> Content-Type: text/plain; charset=utf-8; format=flowed On 03/12/2018 08:44 PM, eryk sun wrote: > On Tue, Mar 13, 2018 at 1:31 AM, Jim <jf_byr...@comcast.net> wrote: >> On 03/12/2018 04:04 AM, eryk sun wrote: >>> >>> On Mon, Mar 12, 2018 at 12:44 AM, Jim <jf_byr...@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. > > You're thinking of isolating packages that are installed in > site-packages, not the standard library. There's no point in copying > and recompiling the entire standard library in every virtual > environment. Just curious. So do they share parts of the standard libray? What happens if the version of python I have in a virtual environment is totally different than any python available from the os? Say version 3 vs version 2 in the os. Regards, Jim ------------------------------ Subject: Digest Footer _______________________________________________ Tutor maillist - Tutor@python.org https://mail.python.org/mailman/listinfo/tutor ------------------------------ End of Tutor Digest, Vol 169, Issue 12 ************************************** _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor