Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5153
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Arnold Krille <arnold@arnoldarts.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] pip von einem Popen Shell aus aufgerufen installiert keine Archive |
| Date | Sat, 21 Apr 2018 12:19:49 +0200 |
| Lines | 49 |
| Message-ID | <mailman.122.1524306009.6649.python-de@python.org> (permalink) |
| References | <aa15b08c-9549-5bf5-7d92-0ac224bc460b@redcor.ch> <20180421121949.2098b588@xingu.arnoldarts.de> |
| Mime-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; boundary="Sig_/CVK_oFO7GIiSyeAi2jm+kgb"; protocol="application/pgp-signature" |
| X-Trace | news.uni-berlin.de vrj2gTz93idMeWdMVKtDcAa0vLTn10u4VWEDSf0iTzew== |
| Return-Path | <arnold@arnoldarts.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| X-Virus-Scanned | amavisd-new at heinlein-support.de |
| In-Reply-To | <aa15b08c-9549-5bf5-7d92-0ac224bc460b@redcor.ch> |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.26 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20180421121949.2098b588@xingu.arnoldarts.de> |
| X-Mailman-Original-References | <aa15b08c-9549-5bf5-7d92-0ac224bc460b@redcor.ch> |
| Xref | csiph.com de.comp.lang.python:5153 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hallo, On Sat, 21 Apr 2018 11:41:55 +0200 robert rottermann <robert@redcor.ch> wrote: > ich versuch ein zip-archiv mit pip zu installieren. > Wenn ich das händisch mache, funktioniert das OK. > also pip install ./FILENAME.zip > wenn ich hingegen das selbe aus einem python script heraus versuche, > schlägt das fehl: > cmd =[pip_cmd, 'install', '-e', '%s/%s'%(os.getcwd(), fname)] > print(cmd, os.getcwd()) > p =Popen(cmd, stdout=PIPE) > p.communicate() > ergibt: > ['/home/robert/.virtualenvs/fruba/bin/pip', 'install', '-e', Kann es sein, das in Deiner shell ein anderes pip (mit anderer Version und anderem python) verwendet wird als in deinem skript in der virtualenv? Was sagt den `which pip` und `pip --version` in der 'händischen' shell? > '/home/robert/projects/fruba/fruba/downloads/odoo_10.0.latest.zip'] > /home/robert/projects/fruba/fruba/downloads > /home/robert/projects/fruba/fruba/downloads/odoo_10.0.latest.zip > should either be a path to a local project or a VCS url beginning > with svn+, git+, hg+, or bzr+ > Pip ist aktuell (10.0.1) > wie kann ich pip/Popen dazu überreden, das Archiv zu installieren? - Arnold
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] pip von einem Popen Shell aus aufgerufen installiert keine Archive Arnold Krille <arnold@arnoldarts.de> - 2018-04-21 12:19 +0200
csiph-web