Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5153 > unrolled thread
| Started by | Arnold Krille <arnold@arnoldarts.de> |
|---|---|
| First post | 2018-04-21 12:19 +0200 |
| Last post | 2018-04-21 12:19 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to de.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: [Python-de] pip von einem Popen Shell aus aufgerufen installiert keine Archive Arnold Krille <arnold@arnoldarts.de> - 2018-04-21 12:19 +0200
| From | Arnold Krille <arnold@arnoldarts.de> |
|---|---|
| Date | 2018-04-21 12:19 +0200 |
| Subject | Re: [Python-de] pip von einem Popen Shell aus aufgerufen installiert keine Archive |
| Message-ID | <mailman.122.1524306009.6649.python-de@python.org> |
[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 top | Article view | de.comp.lang.python
csiph-web