Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98157 > unrolled thread
| Started by | Nicholas Cole <nicholas.cole@gmail.com> |
|---|---|
| First post | 2015-11-03 14:06 +0000 |
| Last post | 2015-11-03 14:06 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: venv issues Nicholas Cole <nicholas.cole@gmail.com> - 2015-11-03 14:06 +0000
| From | Nicholas Cole <nicholas.cole@gmail.com> |
|---|---|
| Date | 2015-11-03 14:06 +0000 |
| Subject | Re: venv issues |
| Message-ID | <mailman.24.1446559585.8789.python-list@python.org> |
On Tue, Nov 3, 2015 at 1:59 PM, Chris Angelico <rosuav@gmail.com> wrote: > On Tue, Nov 3, 2015 at 9:32 PM, Nicholas Cole <nicholas.cole@gmail.com> wrote: >> Logging in as a different user and creating a venv works perfectly, so >> it's clearly a config issue somewhere, but I've tried removing >> ~/.bashrc and ~/.bash_profile and that doesn't help. > > What happens if you create a brand new user, then copy in all > dot-files and directories from your current one? Does it exhibit the > same problem? No. And that helped me find the problem. I had an old .pydistutils.cfg file with a line: install_lib = ~/Library/Python/$py_version_short/lib/python/site-packages That completely upset the venv. (whether it should have done or not, I don't know. I would have expected venv to ignore pydistutils.cfg) Thank you both for your help! Best, N.
Back to top | Article view | comp.lang.python
csiph-web