Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5190

Re: [Python-de] python 2.7 site-packages

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Frank Grellert <grellert@web.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] python 2.7 site-packages
Date Sat, 23 Jun 2018 12:08:08 +0200
Lines 63
Sender frank.grellert@gmail.com
Message-ID <mailman.8.1529749866.7721.python-de@python.org> (permalink)
References <CABTCcyaTYMEdUtsth2NdF7nAEjxfshpd1rx5TQ9qcSAt1JtkSQ@mail.gmail.com> <9f65dc49-83ed-e5e2-035b-560c977ddb72@goebel-consult.de> <CABTCcyZhm2SMrRr9PZug3FuLiYi55C_EwDJ_4Jdsv2CDMy_SnQ@mail.gmail.com> <ae7ae53d-f912-ae0c-4abd-2a627bf99239@goebel-consult.de> <CABTCcyYwD5UBzG+9AJ9PxD=b516i85i_sOh8=grqXAon1PhZTA@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de 8RSOtNeERRAaM2/8YRCe9wFt4wLt36IMqnW4gfMjDElQ==
Return-Path <frank.grellert@gmail.com>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=kjnzSsiBukKxWvm5wbLplMd2IiyNmqyuhDU27QIpKJs=; b=VkLmDXY43qfmtZw/y15oGDrdYI7uMyGC3uSg/DjsaWD4nqSykI9fc2b3zynlZs/jg7 53qSDykhjqPQ0a4WrvuC/23ZY8sgTvu6LbBmQ9XVIQtHFwjewikFa3Yq3kqnIj60kee4 enqYxejv1iFutyVm/sMda0Jyt0xXP+3jinLM8XKbpHAxsYD01whhBer1ycfkEC0V+pfx YAHlkAVB9b1uuPAI3EP5kKlwLOajiFHLQNeYt1+AQ0bPyBz6g9Xjy4PNe35o+BFhjJVi quVocYmlFJtolEdh7jO+KnFge2LOS2VB8nGPKlXIRdKEv9xnQJJ1lhEPtTp7FAoG/jjs MEnw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=kjnzSsiBukKxWvm5wbLplMd2IiyNmqyuhDU27QIpKJs=; b=SycltngMWUCUSh6nvq2Qe/vayV7Vl7d8eVQ7uO5hmx2Qm9ZiVOWJBkMVudWAdv9QIq i1PtMDVhlibdDtlL5iGbT3smEFtdQSWDa/Ov4dx0/0TdzFTWtcJzDpTmr8eR70hg138J YneK9Wn//Q+pFnXVJBPERG1XZZY4Iuy8z6sA34Qnn/CmmkBGe8YI3OfMzCor6qAyR0o8 QeWjmZ9x2MJCbyn6gBRFzVx5OBpyYVCdPVQuMyYNEt9teSH/AA6+jE18guUJfzTiCQu8 2Vaf1LQd5mK24T87yeWco8ZT1sKDgtOwFhBP3BIrkBY2ZxLjf8yZFaJEscPm1chvRL3q LrCg==
X-Gm-Message-State APt69E09R+UOsttzN8FdRFfjApfUm8lWI4+P9fxuO/YXaTUZXndLXw4M FZfahKsgcMhiMLqOEJgwmqIVshmkL3NGaBJqPL8=
X-Google-Smtp-Source ADUXVKKdUWgOptQ1u6fn8+ioKW0clWZb6c0hE7lM1T+zY15ObNpuvNqTgCKdXrYV1p8ejbyy+9hZ9zA9O7gSJN12Zbo=
X-Received by 2002:a50:95b6:: with SMTP id w51-v6mr4605747eda.33.1529748509465; Sat, 23 Jun 2018 03:08:29 -0700 (PDT)
In-Reply-To <ae7ae53d-f912-ae0c-4abd-2a627bf99239@goebel-consult.de>
X-Google-Sender-Auth ltR3eSPyFcuY7F1vfil2SH4hQxw
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.27
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 <CABTCcyYwD5UBzG+9AJ9PxD=b516i85i_sOh8=grqXAon1PhZTA@mail.gmail.com>
X-Mailman-Original-References <CABTCcyaTYMEdUtsth2NdF7nAEjxfshpd1rx5TQ9qcSAt1JtkSQ@mail.gmail.com> <9f65dc49-83ed-e5e2-035b-560c977ddb72@goebel-consult.de> <CABTCcyZhm2SMrRr9PZug3FuLiYi55C_EwDJ_4Jdsv2CDMy_SnQ@mail.gmail.com> <ae7ae53d-f912-ae0c-4abd-2a627bf99239@goebel-consult.de>
Xref csiph.com de.comp.lang.python:5190

Show key headers only | View raw


Vielleicht war der Fehler doch nicht so trivial. Ich fand das hier:

Using easy_install: if you are really lazy and don't want to waste
much time, use easy_install <package_name>. Note that some packages
won't be found or will give small errors.
(https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi#29751768)

Nachdem die Installation von ZODB via pip install ... gescheitert ist
und nachdem auch der Versuch scheiterte, ein upgrade von pip 9 auf
pip10 durchzuführen (error_ssl_certificate), habe ich easy_install
verwendet. ZODB und alle Abhängigkeiten konnte ich auf diese Weise
installieren, allerdings konnten danach einige selbstgeschriebene
Module aus dem erwähnten Ordner frankxyz nicht mehr importiert werden.

Meine Frage (um den Fehler nicht zu wiederholen):
Was passiert bei der Installation eines Paketes via easy_install und
wo sind die Kollisionen mit pip install?

Sorry für die weitere Nachfrage

Frank

Am 23. Juni 2018 um 11:36 schrieb Hartmut Goebel <h.goebel@goebel-consult.de>:
> Am 23.06.2018 um 11:28 schrieb Frank Grellert:
>
> Nachdem ich mit sys.path.append(....)
> den Pfad wieder eingetragen habe, klappte alles wieder wie zuvor.
>
> Ich rate Dir hiervon ab. Setze lieber deine Umgebung ordentlich auf, statt
> Pfade in Skripte einzubauen. Das fällt Dir eher früher als später auf die
> Füße.
>
> --
> 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/kamera-safari-durch-die-munchner-innenstadt
> Kolumne:
> http://www.cissp-gefluester.de/2012-01-in-die-cloud-in-die-cloud-aber-wo-soll-die-sein



-- 
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*
Frank Grellert
Email: grellert@web.de
Webseite: http://fotoblog.57ps.de/
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] python 2.7 site-packages Frank Grellert <grellert@web.de> - 2018-06-23 12:08 +0200

csiph-web