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

[email protected] Mon, 6 May 2019 15:46:46 -0700 (PDT)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
------=_Part_2368_1102281063.1557182806315
Content-Type: multipart/alternative; 
	boundary="----=_Part_2369_943928307.1557182806315"

------=_Part_2369_943928307.1557182806315
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I stated exactly what I did... I followed the actual steps on CherryPy=20
documentation for installation via github. =20
Reference https://docs.cherrypy.org/en/latest/install.html, see git clone=
=20
installation steps.  The official installation method and steps, per the=20
URL.

Installing <https://docs.cherrypy.org/en/latest/install.html#id4>...=20
<https://docs.cherrypy.org/en/latest/install.html#installing>=20


*You may also get the latest CherryPy version by grabbing the source code=
=20
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=20
scriptt for CherryPy fails with the error noted previously.  This includes=
=20
tutorial examples, my previously working scripts, etc.

On Saturday, May 4, 2019 at 10:53:27 PM UTC-7, Sviatoslav Sydorenko=20
(@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] <javascript:=
>>=20
> =D0=BF=D0=B8=D1=88=D0=B5:
>
>> Followed the specific steps to install CherryPy onto Raspbian 9=20
>> (04-19-2019) image, and get the following error for any CherryPy script=
=20
>> executed.  Known good scripts no long work, because CherryPy fails to=20
>> execute.
>>
>> Traceback (most recent call last):
>>   File "Hello.py", line 1, in <module>
>>     import cherrypy
>>   File=20
>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-p=
y3.5.egg/cherrypy/__init__.py",=20
>> line 76, in <module>
>>     from . import _cprequest, _cpserver, _cptree, _cplogging, _cpconfig
>>   File=20
>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-p=
y3.5.egg/cherrypy/_cpserver.py",=20
>> line 6, in <module>
>>     from cherrypy.process.servers import ServerAdapter
>>   File=20
>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-p=
y3.5.egg/cherrypy/process/__init__.py",=20
>> line 14, in <module>
>>     from . import plugins, servers
>>   File=20
>> "/usr/local/lib/python3.5/dist-packages/CherryPy-18.1.2.dev3+gcf436daa-p=
y3.5.egg/cherrypy/process/servers.py",=20
>> 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=
=20
>> from scratch, then tried installation of CherryPy again, following the=
=20
>> documented steps via git method, same failure, import of portend fails.
>>
>> Assistance greatly appreciated.
>>
>>
>> --=20
>> You received this message because you are subscribed to the Google Group=
s=20
>> "cherrypy-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n=20
>> email to cherryp...-/[email protected] <javascript:>.
>> To post to this group, send email to cherryp...-/[email protected]=20
>> <javascript:>.
>> 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.
For more options, visit https://groups.google.com/d/optout.

------=_Part_2369_943928307.1557182806315
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<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=
=A0https://docs.cherrypy.org/en/latest/install.html, see git clone installa=
tion steps.=C2=A0 The official installation method and steps, per the URL.<=
div><br></div><div><h2><a class=3D"toc-backref" href=3D"https://docs.cherry=
py.org/en/latest/install.html#id4">Installing</a>...<a class=3D"headerlink"=
 href=3D"https://docs.cherrypy.org/en/latest/install.html#installing" title=
=3D"Permalink to this headline"></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"highlight"><pre>$ git clon=
e https://github.com/cherrypy/cherrypy
$ <span class=3D"nb">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 cl=
ass=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 href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D=
"vIPVAU0oAwAJ" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;javascript:=
&#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return tru=
e;">[email protected]</a>&gt; =D0=BF=D0=B8=D1=88=D0=B5:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;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 wo=
rk, because CherryPy fails to execute.<br></div><div><br></div><div>Traceba=
ck (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/<wbr>dist-packages/CherryPy-18.1.2.<wbr>dev3+gcf43=
6daa-py3.5.egg/<wbr>cherrypy/__init__.py&quot;, line 76, in &lt;module&gt;<=
br>=C2=A0=C2=A0=C2=A0 from . import _cprequest, _cpserver, _cptree, _cplogg=
ing, _cpconfig<br>=C2=A0 File &quot;/usr/local/lib/python3.5/<wbr>dist-pack=
ages/CherryPy-18.1.2.<wbr>dev3+gcf436daa-py3.5.egg/<wbr>cherrypy/_cpserver.=
py&quot;, line 6, in &lt;module&gt;<br>=C2=A0=C2=A0=C2=A0 from cherrypy.pro=
cess.servers import ServerAdapter<br>=C2=A0 File &quot;/usr/local/lib/pytho=
n3.5/<wbr>dist-packages/CherryPy-18.1.2.<wbr>dev3+gcf436daa-py3.5.egg/<wbr>=
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/li=
b/python3.5/<wbr>dist-packages/CherryPy-18.1.2.<wbr>dev3+gcf436daa-py3.5.eg=
g/<wbr>cherrypy/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;port=
end&#39;</div><div><br></div><div>This is a consistent issue, I recreated t=
he SD card for the Raspberry Pi from scratch, then tried installation of Ch=
erryPy again, following the documented steps via git method, same failure, =
import of portend fails.</div><div><br></div><div>Assistance greatly apprec=
iated.</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 href=3D"javascript:" rel=3D"nofollow" target=3D"_blank" gdf-obfu=
scated-mailto=3D"vIPVAU0oAwAJ" onmousedown=3D"this.href=3D&#39;javascript:&=
#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return true=
;">cherryp...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href=3D"javascript:" rel=3D"nofollo=
w" target=3D"_blank" gdf-obfuscated-mailto=3D"vIPVAU0oAwAJ" onmousedown=3D"=
this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39=
;javascript:&#39;;return true;">cherryp...@googlegroups.<wbr>com</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/group/cherrypy-use=
rs" rel=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;http=
s://groups.google.com/group/cherrypy-users&#39;;return true;" onclick=3D"th=
is.href=3D&#39;https://groups.google.com/group/cherrypy-users&#39;;return t=
rue;">https://groups.google.com/<wbr>group/cherrypy-users</a>.<br>
For more options, visit <a href=3D"https://groups.google.com/d/optout" rel=
=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;https://gro=
ups.google.com/d/optout&#39;;return true;" onclick=3D"this.href=3D&#39;http=
s://groups.google.com/d/optout&#39;;return true;">https://groups.google.com=
/d/<wbr>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]">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 />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_2369_943928307.1557182806315--

------=_Part_2368_1102281063.1557182806315--