Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #11552
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiofz@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:using': 0.04; 'python': 0.08; 'environment?': 0.09; 'etc).': 0.09; 'libs': 0.09; 'subject:python': 0.11; 'am,': 0.12; 'library': 0.15; '16,': 0.15; 'subject:use': 0.15; 'pydev,': 0.16; 'subject:virtualenv': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'cheers,': 0.18; 'cc:no real name:2**0': 0.20; 'tells': 0.21; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; 'aug': 0.24; '(the': 0.28; 'import': 0.28; 'message-id:@mail.gmail.com': 0.29; 'environment': 0.29; 'cc:addr:python.org': 0.30; 'subject:?': 0.31; 'error': 0.32; 'there': 0.33; 'subject:How': 0.35; 'created': 0.36; 'using': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'should': 0.38; 'subject:: ': 0.39; 'your': 0.61; 'dir,': 0.84; 'received:209.85.218.46': 0.91; 'received:mail- yi0-f46.google.com': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cxzsn254wF+B0V0cu9gB6HNTylBiCngIyQyzxvN5+Mc=; b=H3pYD6g46eOeTBJLYq79muVySd323nz4chWZmt0vWUas74E6zaoRsosjhXeyTlbuS8 NIFLZHy5kDDIyxash66+PX2H1LYggqKt/CFuW5J8UNVwyMAJDrNf8R47eHAmJorLJLbM 8oEH5MdBoZZFcyDhS7iHQsK6Q047IGwqnk++4= |
| MIME-Version | 1.0 |
| In-Reply-To | <CAN1FwxdewNp1OK4c1yuPZYie0mn19KJ64vQq0svGJhj5T30swg@mail.gmail.com> |
| References | <CAN1FwxdewNp1OK4c1yuPZYie0mn19KJ64vQq0svGJhj5T30swg@mail.gmail.com> |
| From | Fabio Zadrozny <fabiofz@gmail.com> |
| Date | Tue, 16 Aug 2011 11:06:18 -0300 |
| Subject | Re: How to use python environment created using virtualenv? |
| To | smith jack <thinke365@gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.60.1313503600.27778.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1313503600 news.xs4all.nl 23889 [2001:888:2000:d::a6]:44968 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:11552 |
Show key headers only | View raw
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