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

Sviatoslav Sydorenko <[email protected]> Mon, 6 May 2019 21:00:04 -0400
Newsgroups gmane.comp.python.cherrypy
Message-ID <CAFYONRDTX4hT+09qTK+fV4XE63zjLPhDmHie4hpVsmupK30Dng@mail.gmail.com>
--00000000000070823f058841bd31
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

But why not just `pip install cherrypy`? What's your use case?


--Sviatoslav.

Sent from my phone, please pardon any typos.

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

> Oh, don't do that. I should probably remove that from docs. Use `pip
> install git+https://github.com/cherrypy/cherrypy.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 cod=
e
>> 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 includ=
es
>> 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 scrip=
t
>>>> 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, _cpconfi=
g
>>>>   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
>>>> Pi 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 Group=
s
>> "cherrypy-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n
>> 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/CAFYONRDTX4hT%2B09qTK%2BfV4XE63zjLPhDmHie4hpVsmupK30Dng%40ma=
il.gmail.com.
For more options, visit https://groups.google.com/d/optout.

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

<div dir=3D"auto">But why not just `pip install cherrypy`? What&#39;s your =
use case?=C2=A0<div dir=3D"auto"><br><br><div data-smartmail=3D"gmail_signa=
ture" dir=3D"auto">--Sviatoslav.<br><br>Sent from my phone, please pardon a=
ny typos.</div></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, 20:58 =
=D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 Sviatoslav Syd=
orenko &lt;<a href=3D"mailto:[email protected]">svyatoslav@sydore=
nko.org.ua</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"auto">Oh, don&#39;t do that. I should probably remove=
 that from docs. Use `pip install git+<a href=3D"https://github.com/cherryp=
y/cherrypy.git" target=3D"_blank" rel=3D"noreferrer">https://github.com/che=
rrypy/cherrypy.git`</a><br><br><div data-smartmail=3D"gmail_signature">--Sv=
iatoslav.<br><br>Sent from my phone, please pardon any typos.</div></div><b=
r><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:jibunnokage@gmail.=
com" target=3D"_blank" rel=3D"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">I stated exactly what I did... I followed the actual steps on CherryPy=
 documentation for installation via github.=C2=A0 Reference=C2=A0<a href=3D=
"https://docs.cherrypy.org/en/latest/install.html" rel=3D"noreferrer norefe=
rrer" target=3D"_blank">https://docs.cherrypy.org/en/latest/install.html</a=
>, see git clone installation steps.=C2=A0 The official installation method=
 and steps, per the URL.<div><br></div><div><h2><a class=3D"m_7872707789922=
535210m_1438147371968389412toc-backref" href=3D"https://docs.cherrypy.org/e=
n/latest/install.html#id4" rel=3D"noreferrer noreferrer" target=3D"_blank">=
Installing</a>...<a class=3D"m_7872707789922535210m_1438147371968389412head=
erlink" href=3D"https://docs.cherrypy.org/en/latest/install.html#installing=
" title=3D"Permalink to this headline" rel=3D"noreferrer noreferrer" target=
=3D"_blank"></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_7872707789922535210m_143=
8147371968389412highlight"><pre>$ git clone <a href=3D"https://github.com/c=
herrypy/cherrypy" rel=3D"noreferrer noreferrer" target=3D"_blank">https://g=
ithub.com/cherrypy/cherrypy</a>
$ <span class=3D"m_7872707789922535210m_1438147371968389412nb">cd</span> ch=
errypy
$ 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 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-2019) 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 import cherrypy<br>=C2=A0 File &quot;/usr/local/lib/python3.5/dis=
t-packages/CherryPy-18.1.2.dev3+gcf436daa-py3.5.egg/cherrypy/__init__.py&qu=
ot;, line 76, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 from . import _cprequ=
est, _cpserver, _cptree, _cplogging, _cpconfig<br>=C2=A0 File &quot;/usr/lo=
cal/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-py3.5.egg/ch=
errypy/_cpserver.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;/us=
r/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-py3.5.eg=
g/cherrypy/process/__init__.py&quot;, line 14, in &lt;module&gt;<br>=C2=A0=
=C2=A0=C2=A0 from . import plugins, servers<br>=C2=A0 File &quot;/usr/local=
/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-py3.5.egg/cherr=
ypy/process/servers.py&quot;, line 126, in &lt;module&gt;<br>=C2=A0=C2=A0=
=C2=A0 import portend<br>ImportError: No module named &#39;portend&#39;</di=
v><div><br></div><div>This is a consistent issue, I recreated the SD card f=
or the Raspberry Pi from scratch, then tried installation of CherryPy again=
, following the documented steps via git method, same failure, import of po=
rtend fails.</div><div><br></div><div>Assistance greatly appreciated.</div>=
<div><br></div><div><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 noreferrer">[email protected]=
om</a>.<br>
To post to this group, send email to <a rel=3D"nofollow noreferrer noreferr=
er">cherryp...-/[email protected]</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"nofollow noreferrer 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 noreferrer" target=3D"_blank">https://groups.google=
.com/d/optout</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]" rel=
=3D"noreferrer noreferrer" target=3D"_blank">cherrypy-users+unsubscribe@goo=
glegroups.com</a>.<br>
To post to this group, send email to <a href=3D"mailto:cherrypy-users@googl=
egroups.com" rel=3D"noreferrer noreferrer" target=3D"_blank">cherrypy-users=
@googlegroups.com</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"noreferrer noreferrer" target=3D"_blank">https://groups.google.c=
om/group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://groups.google.com/d/op=
tout</a>.<br>
</blockquote></div>
</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/CAFYONRDTX4hT%2B09qTK%2BfV4XE63zjLPhDmHie4hpVsmup=
K30Dng%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://gro=
ups.google.com/d/msgid/cherrypy-users/CAFYONRDTX4hT%2B09qTK%2BfV4XE63zjLPhD=
mHie4hpVsmupK30Dng%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 />

--00000000000070823f058841bd31--