Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5154
| From | Hartmut Goebel <h.goebel@goebel-consult.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] pip von einem Popen Shell aus aufgerufen installiert keine Archive |
| Date | 2018-04-21 12:19 +0200 |
| Organization | Goebel Consult |
| Message-ID | <mailman.123.1524306431.6649.python-de@python.org> (permalink) |
| References | <aa15b08c-9549-5bf5-7d92-0ac224bc460b@redcor.ch> <d4b55cab-0f90-56ff-6098-ce752ee295ad@goebel-consult.de> |
Am 21.04.2018 um 11:41 schrieb robert rottermann: > 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)] Das ist nicht das selbe: Du verwendest hier die Option `-e`, die nicht mit einem Zip-File funktioniert. BTW: Du möchtest os.path.join() versenden, um den Pfad zusammen zu setzen. -- Schönen Gruß Hartmut Goebel Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer Information Security Management, Security Governance, Secure Software Development Goebel Consult, Landshut http://www.goebel-consult.de Blog: http://www.goebel-consult.de/blog/nicht-pgp-ist-gescheitert-die-entwickler-haben-versagt Kolumne: http://www.cissp-gefluester.de/2012-04-compliance-bringt-keine-sicherheit
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] pip von einem Popen Shell aus aufgerufen installiert keine Archive Hartmut Goebel <h.goebel@goebel-consult.de> - 2018-04-21 12:19 +0200
csiph-web