Re: Missing module when CherryPy installed via instructions using git clone method

Sviatoslav Sydorenko <[email protected]> Mon, 6 May 2019 20:58:59 -0400
Newsgroups gmane.comp.python.cherrypy
Message-ID <CAFYONRCOBPsDsG2T341dmn50qFpG3oVMcR-d8eK-4o3KdOkbaA@mail.gmail.com>
--00000000000098649b058841b98d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Oh, don't do that. I should probably remove that from docs. Use `pip
install git+https://github.com/cherrypy/cherrypy.git`

--Sviatoslav.

Sent from my phone, please pardon any typos.

=D0=BF=D0=BD, 6 =D1=82=D1=80=D0=B0=D0=B2. 2019, 18:46 =D0=BA=D0=BE=D1=80=D0=
=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 <[email protected]> =D0=BF=D0=
=B8=D1=88=D0=B5:

> I stated exactly what I did... I followed the actual steps on CherryPy
> documentation for installation via github.  Reference
> https://docs.cherrypy.org/en/latest/install.html, see git clone
> installation steps.  The official installation method and steps, per the
> URL.
>
> Installing <https://docs.cherrypy.org/en/latest/install.html#id4>...
> <https://docs.cherrypy.org/en/latest/install.html#installing>
>
>
> *You may also get the latest CherryPy version by grabbing the source code
> from Github:*
>
> $ git clone https://github.com/cherrypy/cherrypy
> $ cd cherrypy
> $ python setup.py install
>
>
>
> The installation completes without error.  HOWEVER... run of ANY python
> scriptt for CherryPy fails with the error noted previously.  This include=
s
> tutorial examples, my previously working scripts, etc.
>
> On Saturday, May 4, 2019 at 10:53:27 PM UTC-7, Sviatoslav Sydorenko
> (@webknjaz) wrote:
>>
>> What exactly did you run?
>>
>> --Sviatoslav.
>>
>> Sent from my phone, please pardon any typos.
>>
>> =D0=BD=D0=B4, 5 =D1=82=D1=80=D0=B0=D0=B2. 2019, 01:51 =D0=BA=D0=BE=D1=80=
=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 <[email protected]> =D0=BF=D0=
=B8=D1=88=D0=B5:
>>
>>> Followed the specific steps to install CherryPy onto Raspbian 9
>>> (04-19-2019) image, and get the following error for any CherryPy script
>>> executed.  Known good scripts no long work, because CherryPy fails to
>>> execute.
>>>
>>> Traceback (most recent call last):
>>>   File "Hello.py", line 1, in <module>
>>>     import cherrypy
>>>   File
>>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-=
py3.5.egg/cherrypy/__init__.py",
>>> line 76, in <module>
>>>     from . import _cprequest, _cpserver, _cptree, _cplogging, _cpconfig
>>>   File
>>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-=
py3.5.egg/cherrypy/_cpserver.py",
>>> line 6, in <module>
>>>     from cherrypy.process.servers import ServerAdapter
>>>   File
>>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-=
py3.5.egg/cherrypy/process/__init__.py",
>>> line 14, in <module>
>>>     from . import plugins, servers
>>>   File
>>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-=
py3.5.egg/cherrypy/process/servers.py",
>>> line 126, in <module>
>>>     import portend
>>> ImportError: No module named 'portend'
>>>
>>> This is a consistent issue, I recreated the SD card for the Raspberry P=
i
>>> from scratch, then tried installation of CherryPy again, following the
>>> documented steps via git method, same failure, import of portend fails.
>>>
>>> Assistance greatly appreciated.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "cherrypy-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cherryp...-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>>> To post to this group, send email to cherryp...-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
>>> Visit this group at https://groups.google.com/group/cherrypy-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "cherrypy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> Visit this group at https://groups.google.com/group/cherrypy-users.
> For more options, visit https://groups.google.com/d/optout.
>

--=20
You received this message because you are subscribed to the Google Groups "=
cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/=
cherrypy-users/CAFYONRCOBPsDsG2T341dmn50qFpG3oVMcR-d8eK-4o3KdOkbaA%40mail.g=
mail.com.
For more options, visit https://groups.google.com/d/optout.

--00000000000098649b058841b98d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Oh, don&#39;t do that. I should probably remove that from=
 docs. Use `pip install git+<a href=3D"https://github.com/cherrypy/cherrypy=
.git`">https://github.com/cherrypy/cherrypy.git`</a><br><br><div data-smart=
mail=3D"gmail_signature">--Sviatoslav.<br><br>Sent from my phone, please pa=
rdon any typos.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">=D0=BF=D0=BD, 6 =D1=82=D1=80=D0=B0=D0=B2. 2019, 18:46 =
=D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87  &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt; =D0=BF=D0=
=B8=D1=88=D0=B5:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">I=
 stated exactly what I did... I followed the actual steps on CherryPy docum=
entation for installation via github.=C2=A0 Reference=C2=A0<a href=3D"https=
://docs.cherrypy.org/en/latest/install.html" target=3D"_blank" rel=3D"noref=
errer">https://docs.cherrypy.org/en/latest/install.html</a>, see git clone =
installation steps.=C2=A0 The official installation method and steps, per t=
he URL.<div><br></div><div><h2><a class=3D"m_1438147371968389412toc-backref=
" href=3D"https://docs.cherrypy.org/en/latest/install.html#id4" target=3D"_=
blank" rel=3D"noreferrer">Installing</a>...<a class=3D"m_143814737196838941=
2headerlink" href=3D"https://docs.cherrypy.org/en/latest/install.html#insta=
lling" title=3D"Permalink to this headline" target=3D"_blank" rel=3D"norefe=
rrer"></a></h2>
<p><br></p><p><b>You may also get the latest CherryPy version by grabbing t=
he source code from Github:</b></p><div class=3D"m_1438147371968389412highl=
ight"><pre>$ git clone <a href=3D"https://github.com/cherrypy/cherrypy" tar=
get=3D"_blank" rel=3D"noreferrer">https://github.com/cherrypy/cherrypy</a>
$ <span class=3D"m_1438147371968389412nb">cd</span> cherrypy
$ python setup.py install
</pre></div><p></p>
<div><br></div><div><br>The installation completes without error.=C2=A0 HOW=
EVER... run of ANY python scriptt for CherryPy fails with the error noted p=
reviously.=C2=A0 This includes tutorial examples, my previously working scr=
ipts, etc.</div><div><br>On Saturday, May 4, 2019 at 10:53:27 PM UTC-7, Svi=
atoslav Sydorenko (@webknjaz) wrote:<blockquote class=3D"gmail_quote" style=
=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div dir=3D"auto">What exactly did you run?<br><br><div>--Sviatoslav.<br><=
br>Sent from my phone, please pardon any typos.</div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr">=D0=BD=D0=B4, 5 =D1=82=D1=80=D0=B0=D0=B2.=
 2019, 01:51 =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87  =
&lt;<a rel=3D"nofollow noreferrer">[email protected]</a>&gt; =D0=BF=D0=B8=
=D1=88=D0=B5:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div=
>Followed the specific steps to install CherryPy onto Raspbian 9 (04-19-201=
9) image, and get the following error for any CherryPy script executed.=C2=
=A0 Known good scripts no long work, because CherryPy fails to execute.<br>=
</div><div><br></div><div>Traceback (most recent call last):<br>=C2=A0 File=
 &quot;Hello.py&quot;, line 1, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 impo=
rt cherrypy<br>=C2=A0 File &quot;/usr/local/lib/python3.5/dist-packages/Che=
rryPy-18.1.2.dev3+gcf436daa-py3.5.egg/cherrypy/__init__.py&quot;, line 76, =
in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 from . import _cprequest, _cpserver=
, _cptree, _cplogging, _cpconfig<br>=C2=A0 File &quot;/usr/local/lib/python=
3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-py3.5.egg/cherrypy/_cpserv=
er.py&quot;, line 6, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 from cherrypy.=
process.servers import ServerAdapter<br>=C2=A0 File &quot;/usr/local/lib/py=
thon3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-py3.5.egg/cherrypy/pro=
cess/__init__.py&quot;, line 14, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 fr=
om . import plugins, servers<br>=C2=A0 File &quot;/usr/local/lib/python3.5/=
dist-packages/CherryPy-18.1.2.dev3+gcf436daa-py3.5.egg/cherrypy/process/ser=
vers.py&quot;, line 126, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 import por=
tend<br>ImportError: No module named &#39;portend&#39;</div><div><br></div>=
<div>This is a consistent issue, I recreated the SD card for the Raspberry =
Pi from scratch, then tried installation of CherryPy again, following the d=
ocumented steps via git method, same failure, import of portend fails.</div=
><div><br></div><div>Assistance greatly appreciated.</div><div><br></div><d=
iv><br></div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a rel=3D"nofollow noreferrer">cherryp...-/[email protected]</a>.<br>
To post to this group, send email to <a rel=3D"nofollow noreferrer">cherryp=
[email protected]</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"nofollow noreferrer" target=3D"_blank">https://groups.google.com=
/group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"nofollow noreferrer" target=3D"_blank">https://groups.google.com/d/opto=
ut</a>.<br>
</blockquote></div>
</blockquote></div></div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:cherrypy-users+unsubscribe-/[email protected]" targ=
et=3D"_blank" rel=3D"noreferrer">cherrypy-users+unsubscribe-/[email protected]=
m</a>.<br>
To post to this group, send email to <a href=3D"mailto:cherrypy-users@googl=
egroups.com" target=3D"_blank" rel=3D"noreferrer">cherrypy-users@googlegrou=
ps.com</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" target=3D"_blank" rel=3D"noreferrer">https://groups.google.com/group/ch=
errypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" targ=
et=3D"_blank" rel=3D"noreferrer">https://groups.google.com/d/optout</a>.<br=
>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;cherrypy-users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:cherrypy-users+unsubscribe-/[email protected]">cher=
rypy-users+unsubscribe-/[email protected]</a>.<br />
To post to this group, send email to <a href=3D"mailto:cherrypy-users@googl=
egroups.com">cherrypy-users-/[email protected]</a>.<br />
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs">https://groups.google.com/group/cherrypy-users</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/cherrypy-users/CAFYONRCOBPsDsG2T341dmn50qFpG3oVMcR-d8eK-4o3KdOkb=
aA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.=
google.com/d/msgid/cherrypy-users/CAFYONRCOBPsDsG2T341dmn50qFpG3oVMcR-d8eK-=
4o3KdOkbaA%40mail.gmail.com</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

--00000000000098649b058841b98d--