Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Kaeptm Blaubaer Newsgroups: de.comp.lang.python Subject: Re: [Python-de] python 2.7 site-packages Date: Sat, 23 Jun 2018 12:39:50 +0200 Lines: 87 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 dAHi43cYLK9TfIewV9vCNAHXvnErL+9ngF3zTjV/Ewhw== 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:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g57vZDsmV1EoP4GfyvFuBHVrmoLBuQcUOhgXG/IfziY=; b=DRfTWKer3Dhth97qRgAZ9+DNsfIZToBKrHsOI9u5RCJYXOrK+TeDFJXike/i5hjH/j cYh8Rl9dY7HpCNAMhnVufOEbJsKR1NLtP5sc13fpZDEQjiB2pTVSSRophbb8teWYca7U Fydgz+3qaHsqWsgfS0WyIGX+/LpJwiV5vPWAZMKbkOrlIYUDN1eNRd6+/rvm1W43aqjZ Qm+nxlFEdhqSHcOSoqP+qrDMKow2+uaVTWUwGvb5ZW3UebIvhl/FO0IKjmgD9LFcS+sM fgp4BV6TJJgIqrKwy3KamRlxDnNynxMbtXsMa2xqdGi3UX+bPnfarWyG2yiEp2JQ/aj8 4oMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g57vZDsmV1EoP4GfyvFuBHVrmoLBuQcUOhgXG/IfziY=; b=CEcUoLi6uCbwyscwffzexKyWvcOCtJZs0HnR0xQALLLAw7oHev+Eg/oe05lT6nVt+g A3+QG3nYaxWsp9cHFRsXV6MWD1WGCHP+G9/6U8pbt2Z5vOGPlImt4OUtITZOCoqA4QbB F6xWsIlvfiUGiY+tEA155h+PXKunuYzm51fZPSWlvNGzQRWoTn5bgE1Teu/AN9UulonF 4ZI2k4R4M6WOTPy7ne9zlFY2jZOyH9GJobxBWf+tBXnDP/psD5LC3MNF85dJk+zVe7fB a8pqkNxhU6mKPfRaJMSCmHS94GRmc+OQLhW3rsfogzow5TctiiNbiYkOAn7tzJVulwfj 8hmQ== X-Gm-Message-State: APt69E17JKupOmO3YZUG+dc09Rek4H27G3TrDBz2v8Tc80Sz+dAjqxHt FZUa5jiK8tB+EKtXpv4LmwUKCZDbThPusdsQHk0= X-Google-Smtp-Source: ADUXVKKYkbb/Eh1vPsReWrORzrps5zs62G/DThiGbhlbIvqxkJNAIyNRmzbG6Xv4KAUoPexuSkyMvBEPsi7AFJzxD+M= X-Received: by 2002:a19:12df:: with SMTP id 92-v6mr1490354lfs.80.1529750402573; Sat, 23 Jun 2018 03:40:02 -0700 (PDT) In-Reply-To: X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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:5191 M=C3=B6glicherweise wurde der frank Ordner in der easy-install.pth, die von easy_install verwaltet wird, eingetragen, dieser Eintrag k=C3=B6nnte entfer= nt worden sein, da es weder eine .egg-Datei, noch ein Ordner mit derselben Namenskonvention ist. Um ihn wieder einzutragen, ohne dabei an fragile Umgebungsvariablen heranzugehen (was, wenn es gar keine gibt, oder ein anderer Benutzer verwendet wird?), einfach die Datei frank.pth erstellen und mit dem relativen Ordner-Namen bef=C3=BCllen (in diesem Fall also einfach frank). Am Sa., 23. Juni 2018 um 12:31 Uhr schrieb Frank Grellert = : > 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-conne= ction-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 werde= n. > > 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 < > 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=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 > > > > -- > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*= +*+*+*+*+*+* > Frank Grellert > Email: grellert@web.de > Webseite: http://fotoblog.57ps.de/ > > *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*= +*+*+*+*+*+* > _______________________________________________ > python-de maillist - python-de@python.org > https://mail.python.org/mailman/listinfo/python-de >