[prev in list] [next in list] [prev in thread] [next in thread] List: macports-dev Subject: Re: python2.7 pip install fails with SSLError From: Steven Smith <steve.t.smith () gmail ! com> Date: 2022-03-19 14:55:43 Message-ID: 021A315B-444F-45C3-AAED-9F300F7F32DA () gmail ! com [Download RAW message or body] [Attachment #2 (multipart/alternative)] virtualenv mystery solved. It's just a symlink to the now-removed native python 27 \ framework: > $ sudo ls -l /private/var/calendarserver/Library/CalendarServer/virtualenv > Password: > total 8 > lrwxr-xr-x 1 calendarserver wheel 63 May 16 2019 .Python -> \ > /System/Library/Frameworks/Python.framework/Versions/2.7/Python > On Mar 17, 2022, at 4:26 PM, Ryan Schmidt <ryandesign@macports.org> wrote: > > > > dyld[545]: Library not loaded: @executable_path/../.Python > > > Referenced from: /private/var/calendarserver/Library/CalendarServer/virtualenv > > > /bin/python > > > Reason: tried: \ > > > '/private/var/calendarserver/Library/CalendarServer/virtualenv/bin/../.Python' \ > > > (no such file), '/usr/local/lib/.Python' (no such file), '/usr/lib/.Python' (no \ > > > such file) > > Hmm, I'm not familiar with any ".Python" but I don't know Python very well. > > macOS doesn't put anything in /usr/local/lib so the reference to that can probably \ > be ignored. [Attachment #5 (unknown)] <html><head><meta http-equiv="Content-Type" content="text/html; \ charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \ line-break: after-white-space;" class="">virtualenv mystery solved. It's just a \ symlink to the now-removed native python 27 framework:<div class=""><br \ class=""></div><div class=""><blockquote type="cite" class=""><div style="margin: \ 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" class=""><span \ style="font-variant-ligatures: no-common-ligatures;" class=""><font size="4" \ class="">$ sudo ls -l \ /private/var/calendarserver/Library/CalendarServer/virtualenv</font></span></div><div \ style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" \ class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font \ size="4" class="">Password:</font></span></div><div style="margin: 0px; font-stretch: \ normal; line-height: normal; font-family: Menlo;" class=""><span \ style="font-variant-ligatures: no-common-ligatures" class=""><font size="4" \ class="">total 8</font></span></div><div style="margin: 0px; font-stretch: normal; \ line-height: normal; font-family: Menlo;" class=""><span \ style="font-variant-ligatures: no-common-ligatures;" class=""><font size="4" \ class="">lrwxr-xr-x 1 calendarserver wheel 63 \ May 16 2019 .Python -> \ /System/Library/Frameworks/Python.framework/Versions/2.7/Python</font></span></div></blockquote><br \ class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 17, \ 2022, at 4:26 PM, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" \ class="">ryandesign@macports.org</a>> wrote:</div><br \ class="Apple-interchange-newline"><div class=""><div class=""><blockquote type="cite" \ class=""><blockquote type="cite" class="">dyld[545]: Library not loaded: \ @executable_path/../.Python<br class=""> Referenced from: \ /private/var/calendarserver/Library/CalendarServer/virtualenv<br \ class="">/bin/python<br class=""> Reason: tried: \ '/private/var/calendarserver/Library/CalendarServer/virtualenv/bin/../.Python' (no \ such file), '/usr/local/lib/.Python' (no such file), '/usr/lib/.Python' (no such \ file)<br class=""></blockquote></blockquote><br class="">Hmm, I'm not familiar with \ any ".Python" but I don't know Python very well.<br class=""><br class="">macOS \ doesn't put anything in /usr/local/lib so the reference to that can probably be \ ignored.<br class=""><br class=""></div></div></blockquote></div><br \ class=""></div></body></html> ["smime.p7s" (smime.p7s)] 0 *H 010 `He 0 *H 00 0 *H 0{1<0:U3Monkeysaddle Server Certification Authority Root CA10U Monkeysaddle1$0" *H root@monkeysaddle.com0 190925013829Z 230925013829Z010 UUS10U Massachusetts10U Monkeysaddle10 US/MIME100.U'Monkeysaddle Intermediate CA for S/MIME0"0 *H 0 +clg{ !&7oZ#(d~}L#ib#2 GEgw+opZ7pgx\W 3:4gnS:oQp7 !sP'+X%f5C%pUW?Ij9X+b[ \ :$Aןf<WY=ڏ@!0U"Bc05gW+ΩW%DjM_ɂ%nb҂$E \ :qU>o\iK&aNq{fy`QB,FJ=yޅJiOA-ੰV} \ Y(&`=CGَZS%*R}+VP^6聪6 xJR> ]@ <#!!^J&H8Tm@N?LQ`H囲nΤ5ݥ;ԼYU'^ 9j J4]sHzU(:$Ex E0C0U:dS^V0+0U0 0U0 *H FLY̚_?DA sAǞȲ-~Te <" [T x*;VM@#zihU+7|_Nj E 'rܥld.f6V9F;|<$T>r \ s"_M6iG[Xw;C]Dtqa3#5:2r%+Vb~xZ \ żp\ߺj<GtZ@СY 00 0 *H 010 UUS10U Massachusetts10U Monkeysaddle10 US/MIME100.U'Monkeysaddle Intermediate CA for S/MIME0 190925153404Z 220925153404Z010 UUS10U Massachusetts10U Cambridge10U Monkeysaddle10USteven Thomas Smith1&0$ *H steve.t.smith@gmail.com0"0 *H 0 g sê)mW(^.׳}EgX/Aׯ"*D?wSUpI,u:{`uP$ީ7H > \8NtIh8̚.vs=ܚX!˙4Y4(HR\CszA ?5ݻoLڬ- \ > Cn!H8PV]rrV6?C5 IoB; \ > #:<