Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4376
| Newsgroups | de.comp.lang.python |
|---|---|
| Date | 2016-04-07 08:42 -0700 |
| References | (1 earlier) <5706593B.9020002@chrisarndt.de> <mailman.28.1460033875.2253.python-de@python.org> <f67fe964-e3ce-410b-b05d-f5e95f2d327b@googlegroups.com> <5706699B.8040700@chrisarndt.de> <mailman.33.1460038066.2253.python-de@python.org> |
| Message-ID | <84271947-962c-4fc9-9c3f-ee3ca82be5c2@googlegroups.com> (permalink) |
| Subject | Re: [Python-de] Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python |
| From | "Marcel Hug (schaf)" <schaf.mh@gmail.com> |
Am Donnerstag, 7. April 2016 16:07:48 UTC+2 schrieb Christopher Arndt: > Am 07.04.2016 um 15:30 schrieb Marcel Hug (schaf) > > nein ich habe gehofft hier PIP installer knowhow zu finden > > Gut, ich wollte nur sicher gehen. > > > Alle weitere Kommunikation natuerlich aus Deutsch. > > Das wäre nett. > > Zur Lösung deines Problems kann ich auch nicht viel beitragen, außer der > Hinweis, dass man bei pip auch direkt URLs von Tarballs, Wheels oder > Repositories als Installationsquelle angeben kann. > > > Chris Hi Chris, hi alle! Nun hier mein Problem. Ich habe ein altes ansible playbook und in diesem wurde der pip installer gestarted mit folgendem call: name: djangowebapp | Install requirements pip: requirements=/home/abc/req/requirements.txt extra_args="--allow-external mysql-connector-python --allow-unverified mysql-connector-python" Im file requirements.txt wurde unteranderem django==1.5.1 und mysql-connector-python==1.0.12 aufgefuehrt. Wenn ich diese Installation gegen eine neue Debian installation (8.4) laufen lasse, kriege ich die Fehlermeldung: Collecting mysql-connector-python==1.0.12 (from -r /home/abc/req/requirements.txt (line 13)) :stderr: DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect. DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect. Could not find a version that satisfies the requirement mysql-connector-python==1.0.12 (from -r /home/abc/req/requirements.txt (line 13)) (from versions: ) No matching distribution found for mysql-connector-python==1.0.12 (from -r /home/abc/req/requirements.txt (line 13)) Danach habe ich folgenden Link gesehen und das requirements.txt entsprechend geaendert. Ich habe einfach auf das tar.gz verwiesen. http://stackoverflow.com/questions/34489271/i-cannot-install-mysql-connector-python-using-pip Ich habe natuerlich auch die task Anforderung im ansible script geaendert: name: djangowebapp | Install requirements pip: requirements=/home/abc/req/requirements.txt Wenn ich das nun so laufen lasse, kommt das Script zwar weiter (error beim installieren von numpy==1.7.1), ABER mysql-connector-python ist nicht installiert. Weder pip freeze noch der verbose output zeigt irgendwas vom download des tar.gz an. Das sollte eigentlich doch gehen, wenn ich das tar.gz direkt im requirements.txt angebe? Oder braucht es noch mehr? Kann es sein, dass mein altes Playbook zu sehr outdated ist ? Thanks Schaf
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python schaf.mh@gmail.com - 2016-04-07 01:11 -0700
Re: [Python-de] Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python Christopher Arndt <chris@chrisarndt.de> - 2016-04-07 14:57 +0200
Re: [Python-de] Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python schaf.mh@gmail.com - 2016-04-07 06:30 -0700
Re: [Python-de] Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python Christopher Arndt <chris@chrisarndt.de> - 2016-04-07 16:07 +0200
Re: [Python-de] Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python "Marcel Hug (schaf)" <schaf.mh@gmail.com> - 2016-04-07 08:42 -0700
Re: [Python-de] Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python Christopher Arndt <chris@chrisarndt.de> - 2016-04-07 18:10 +0200
Re: [Python-de] Pip call with --allow-external and --allow-unverified leads to error for mysql-connector-python "Marcel Hug (schaf)" <schaf.mh@gmail.com> - 2016-04-11 05:00 -0700
csiph-web