Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #11552
| References | <CAN1FwxdewNp1OK4c1yuPZYie0mn19KJ64vQq0svGJhj5T30swg@mail.gmail.com> |
|---|---|
| From | Fabio Zadrozny <fabiofz@gmail.com> |
| Date | 2011-08-16 11:06 -0300 |
| Subject | Re: How to use python environment created using virtualenv? |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.60.1313503600.27778.python-list@python.org> (permalink) |
On Tue, Aug 16, 2011 at 2:15 AM, smith jack <thinke365@gmail.com> wrote: > I have created a python environment using virtualenv, but when i want > to import such environment to PyDev, error just appears, > it tells there should be a Libs dir, but there is no Libs DIr in the > virtual envronment created using virtualenv, what should i do if > i want to use this virtual environment? You have to use the Lib dir from the base python (the one you used to create your virtualenv) -- it needs that to have access to the base python library (i.e.: threading.py, etc). Cheers, Fabio
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How to use python environment created using virtualenv? Fabio Zadrozny <fabiofz@gmail.com> - 2011-08-16 11:06 -0300
csiph-web