<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div class="ydp7e5c0022yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div><br></div><div><br></div>
</div><div id="ydp7f6faf88yahoo_quoted_2684560361" class="ydp7f6faf88yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>----- Messaggio inoltrato -----</div>
<div><b>Da:</b> maria teresa panunzio <mariateresa.panunzio@yahoo.it></div><div><b>A:</b> Discussioni generali sul linguaggio Python <python@lists.python.it></div><div><b>Inviato:</b> venerdì 19 giugno 2020, 11:23:55 CEST</div><div><b>Oggetto:</b> Re: [Python] richiesta di aiuto per installare pillow nell'ambiente puyhon 3.8</div><div><br></div>
<div><div id="ydp7f6faf88yiv1257170215"><div><div class="ydp7f6faf88yiv1257170215ydpe7f50c51yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div><br clear="none"><div dir="ltr"><div class="ydp7f6faf88yiv1257170215ydpc97eff56yahoo-link-enhancr-card ydp7f6faf88yiv1257170215ydpc97eff56yahoo-link-enhancr-not-allow-cover ydp7f6faf88yiv1257170215ydpc97eff56ymail-preserve-class ydp7f6faf88yiv1257170215ydpc97eff56ymail-preserve-style" id="ydp7f6faf88yiv1257170215ydpc97eff56enhancr_card_3171951798" style="max-width:400px;font-family:YahooSans, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;position:relative;" data-url="https://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels" data-type="YENHANCER" data-size="MEDIUM"><a shape="rect" class="ydp7f6faf88yiv1257170215ydpc97eff56yahoo-enhancr-cardlink" href="https://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels" style="text-decoration-line:none !important;text-decoration-style:solid !important;text-decoration-color:currentcolor !important;color:rgb(0, 0, 0) !important;" rel="nofollow" target="_blank"><table class="ydp7f6faf88yiv1257170215ydpc97eff56card-wrapper ydp7f6faf88yiv1257170215ydpc97eff56yahoo-ignore-table" style="max-width:400px;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" width="400"><table class="ydp7f6faf88yiv1257170215ydpc97eff56card ydp7f6faf88yiv1257170215ydpc97eff56yahoo-ignore-table" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px;" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1"><table class="ydp7f6faf88yiv1257170215ydpc97eff56card-info ydp7f6faf88yiv1257170215ydpc97eff56yahoo-ignore-table" style="background-color: rgb(255, 255, 255); background-attachment: scroll; background-image: none; background-size: auto; position: relative; z-index: 2; width: 100%; max-width: 400px; border-radius: 0px 0px 2px 2px; border-top: 1px solid rgb(224, 228, 233);" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td colspan="1" rowspan="1" style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px;"></td><td colspan="1" rowspan="1" style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:YahooSans, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;border-radius:0 0 2px 0;"><h2 class="ydp7f6faf88yiv1257170215ydpc97eff56card-title" style="font-size:14px;line-height:19px;margin:0px 0px 6px;font-family:YahooSans, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;color:rgb(38, 40, 42);max-width:314px;">User Guide — pip 20.2.dev1 documentation</h2><p class="ydp7f6faf88yiv1257170215ydpc97eff56card-description" style="font-size:12px;line-height:16px;margin:0px;color:rgb(151, 155, 167);"></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a><div class="ydp7f6faf88yiv1257170215loadingSpinnerContainer" style="width: 100%; min-height: 100%;"><div class="ydp7f6faf88yiv1257170215D_F ydp7f6faf88yiv1257170215F_n ydp7f6faf88yiv1257170215gl_C ydp7f6faf88yiv1257170215ab_C ydp7f6faf88yiv1257170215H_6MGW ydp7f6faf88yiv1257170215o_h"><div class="ydp7f6faf88yiv1257170215W_6MGW ydp7f6faf88yiv1257170215H_6MGW ydp7f6faf88yiv1257170215D_X ydp7f6faf88yiv1257170215ah_1PEzoz"></div></div></div></div><div><br clear="none"></div><br clear="none"></div><div><br clear="none"></div>
</div><div class="ydp7f6faf88yiv1257170215ydp327f69cayahoo_quoted" id="ydp7f6faf88yiv1257170215ydp327f69cayahoo_quoted_2724938848">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Il venerdì 19 giugno 2020, 10:19:14 CEST, Enrico Bianchi <enrico.bianchi@live.com> ha scritto:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div dir="ltr">Il 18/06/2020 15:24, maria teresa panunzio ha scritto:<br clear="none">> Purtroppo, con il Python (ho la versione 3.8) l'istruzione import PIL <br clear="none">> dà errore.<br clear="none">> Non riesco però ad installare pillow perchè addirittura non viene <br clear="none">> riconosciuto pip.<br clear="none"><br clear="none">Domanda: che errore ti da? Lo stai installando su Windows? Se sì, tieni <br clear="none">conto che la distribuzione ufficiale di Python per Windows non ha <br clear="none">virtualenv completo, quindi pip fallisce spesso e volentieri <br clear="none">l'installazione dei pacchetti. Per ovviare basta, da un prompt dei <br clear="none">comandi lanciato come amministratore, eseguire questo comando:<br clear="none"><br clear="none">python -m pip install virtualenv<br clear="none"><br clear="none">Inoltre, su Windows, spesso il problema è dovuto alla mancanza di un <br clear="none">compilatore gcc o mingw. Anche qui conviene, più che installare il <br clear="none">compilatore, scaricare direttamente i WHL precompilati da questo indirizzo:<br clear="none"><br clear="none"><a shape="rect" href="https://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="nofollow" target="_blank">https://www.lfd.uci.edu/~gohlke/pythonlibs/</a><br clear="none"><br clear="none">Enrico<div class="ydp7f6faf88yiv1257170215ydp327f69cayqt7171419024" id="ydp7f6faf88yiv1257170215ydp327f69cayqtfd86147"><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div dir="ltr"><div><div dir="ltr">Grazie, per la risposta,ora provvedo a usare <br clear="none"></div><div dir="ltr"><div><br clear="none">python -m pip install virtualenv</div><div><br clear="none"></div></div><div dir="ltr">perchè il secondo punto</div><div dir="ltr"><br clear="none"></div><span><span style="color:rgb(0, 0, 0);font-family:Times New Roman;font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);text-decoration-style:initial;text-decoration-color:initial;display:inline !important;float:none;">Use<span> </span></span><a shape="rect" href="https://www.lfd.uci.edu/~gohlke/pythonlibs/#pip" style="color:rgb(0, 0, 128);font-family:Times New Roman;font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);" rel="nofollow" target="_blank">pip</a><span style="color:rgb(0, 0, 0);font-family:Times New Roman;font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);text-decoration-style:initial;text-decoration-color:initial;display:inline !important;float:none;"><span> </span>version 19.2 or newer to<span> </span></span><a shape="rect" class="ydp7f6faf88yiv1257170215ydp77c002edenhancr_card_3171951798" href="https://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels" style="color:rgb(0, 0, 128);font-family:Times New Roman;font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);" rel="nofollow" target="_blank">install the downloaded .whl files</a><span style="color:rgb(0, 0, 0);font-family:Times New Roman;font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);text-decoration-style:initial;text-decoration-color:initial;display:inline !important;float:none;">. This page is not a pip package index.</span></span><br clear="none"><span><span style="color:rgb(0, 0, 0);font-family:Times New Roman;font-size:medium;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);text-decoration-style:initial;text-decoration-color:initial;display:inline !important;float:none;"></span></span><div><br clear="none"></div></div><div dir="ltr">sembra richiedere il pip</div><div dir="ltr"><br clear="none"></div><div dir="ltr">.Ho visto che mi ha segnalato anche l'avvenuto aggiornamento del pip alla versione 20.</div><div dir="ltr">ho provato a installare pillow</div><div dir="ltr"><span>pip3 install -r pillow</span></div><div dir="ltr"><span>anche <br clear="none"></span></div><div dir="ltr"><span>pip install -r pillow ma dice</span></div><div dir="ltr"><span>che non trova pip.</span></div><div dir="ltr"><span>Eppure sono sempre nella stessa cartella.</span></div><div dir="ltr"><span>Probabilmente occorre proprio fare uso dei file whl.</span></div><div dir="ltr"><span><br clear="none"></span></div><div dir="ltr"><span>Maria Teresa</span><div class="ydp7f6faf88yiv1257170215yqt9169848558" id="ydp7f6faf88yiv1257170215yqtfd50217">-------------------------------------------------------------------------</div><div class="ydp7f6faf88yiv1257170215yqt9169848558" id="ydp7f6faf88yiv1257170215yqtfd50217" dir="ltr" data-setdir="false">ho risolto aggiungendo percorso scripts al path</div><div class="ydp7f6faf88yiv1257170215yqt9169848558" id="ydp7f6faf88yiv1257170215yqtfd50217" dir="ltr" data-setdir="false">Maria Teresa</div></div></div><div class="ydp7f6faf88yiv1257170215yqt9169848558" id="ydp7f6faf88yiv1257170215yqtfd61688"><br clear="none">_______________________________________________<br clear="none">Python mailing list<br clear="none"><a shape="rect" href="mailto:Python@lists.python.it" rel="nofollow" target="_blank">Python@lists.python.it</a><br clear="none"><a shape="rect" href="https://lists.python.it/mailman/listinfo/python" rel="nofollow" target="_blank">https://lists.python.it/mailman/listinfo/python</a><br clear="none"></div></div></div></div><div class="ydp7f6faf88yiv1257170215yqt9169848558" id="ydp7f6faf88yiv1257170215yqtfd12759">
</div></div><div class="ydp7f6faf88yiv1257170215yqt9169848558" id="ydp7f6faf88yiv1257170215yqtfd05650">
</div></div></div></div></div>
</div>
</div></body></html>