Missing module when CherryPy installed via instructions using git clone method

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing module when CherryPy installed via instructions using git clone method

jibunnokage
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 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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Sviatoslav Sydorenko-2
What exactly did you run?

--Sviatoslav.

Sent from my phone, please pardon any typos.

нд, 5 трав. 2019, 01:51 користувач <[hidden email]> пише:
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 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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

jibunnokage
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...


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 includes 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.

нд, 5 трав. 2019, 01:51 користувач <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="vIPVAU0oAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jibun...@...> пише:
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 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 <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="vIPVAU0oAwAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherryp...@googlegroups.com.
To post to this group, send email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="vIPVAU0oAwAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">cherryp...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/cherrypy-users" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/cherrypy-users&#39;;return true;">https://groups.google.com/group/cherrypy-users.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Sviatoslav Sydorenko-2
Oh, don't do that. I should probably remove that from docs. Use `pip install git+<a href="https://github.com/cherrypy/cherrypy.git`">https://github.com/cherrypy/cherrypy.git`

--Sviatoslav.

Sent from my phone, please pardon any typos.

пн, 6 трав. 2019, 18:46 користувач <[hidden email]> пише:
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...


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 includes 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.

нд, 5 трав. 2019, 01:51 користувач <[hidden email]> пише:
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 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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
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.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Sviatoslav Sydorenko-2
But why not just `pip install cherrypy`? What's your use case? 


--Sviatoslav.

Sent from my phone, please pardon any typos.

пн, 6 трав. 2019, 20:58 користувач Sviatoslav Sydorenko <[hidden email]> пише:
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.

пн, 6 трав. 2019, 18:46 користувач <[hidden email]> пише:
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...


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 includes 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.

нд, 5 трав. 2019, 01:51 користувач <[hidden email]> пише:
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 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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
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 [hidden email].
To post to this group, send email to [hidden email].
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%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.