Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11552 > unrolled thread

Re: How to use python environment created using virtualenv?

Started byFabio Zadrozny <fabiofz@gmail.com>
First post2011-08-16 11:06 -0300
Last post2011-08-16 11:06 -0300
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.


Contents

  Re: How to use python environment created using virtualenv? Fabio Zadrozny <fabiofz@gmail.com> - 2011-08-16 11:06 -0300

#11552 — Re: How to use python environment created using virtualenv?

FromFabio Zadrozny <fabiofz@gmail.com>
Date2011-08-16 11:06 -0300
SubjectRe: How to use python environment created using virtualenv?
Message-ID<mailman.60.1313503600.27778.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web