Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Frank Grellert 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: References: <9f65dc49-83ed-e5e2-035b-560c977ddb72@goebel-consult.de> 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: 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <9f65dc49-83ed-e5e2-035b-560c977ddb72@goebel-consult.de> Xref: csiph.com de.comp.lang.python:5190 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 . Note that some packages won't be found or will give small errors. (https://stackoverflow.com/questions/25981703/pip-install-fails-with-connec= tion-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=C3=BChren (error_ssl_certificate), habe ich easy_install verwendet. ZODB und alle Abh=C3=A4ngigkeiten konnte ich auf diese Weise installieren, allerdings konnten danach einige selbstgeschriebene Module aus dem erw=C3=A4hnten 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=C3=BCr die weitere Nachfrage Frank Am 23. Juni 2018 um 11:36 schrieb Hartmut Goebel : > 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, stat= t > Pfade in Skripte einzubauen. Das f=C3=A4llt Dir eher fr=C3=BCher als sp= =C3=A4ter auf die > F=C3=BC=C3=9Fe. > > -- > Sch=C3=B6nen Gru=C3=9F > 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-innens= tadt > Kolumne: > http://www.cissp-gefluester.de/2012-01-in-die-cloud-in-die-cloud-aber-wo-= soll-die-sein --=20 *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*= +*+*+*+*+* Frank Grellert Email: grellert@web.de Webseite: http://fotoblog.57ps.de/ *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*= +*+*+*+*+*