Re: Cherrypy older version installation error in Raspbian

"Sviatoslav Sydorenko (@webknjaz)" <[email protected]> Fri, 21 Sep 2018 12:39:17 -0700 (PDT)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
------=_Part_951_678732518.1537558757343
Content-Type: multipart/alternative; 
	boundary="----=_Part_952_686344263.1537558757344"

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

It looks like you messed up with your installations. It's not related to=20
CherryPy at all. You need to learn how OS locates executables and how to=20
run things via virtualenv.
Also, I trust logs, not your guesses of what you think happened. I'm pretty=
=20
sure that you just did something wrong, unfortunately, since you don't show=
=20
what you did exactly, it's extremely hard to guess what you should be doing=
=20
differently.
Share your terminal log and/or use https://asciinema.org/ to share the=20
recording of your terminal.

=D0=BF=CA=BC=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D1=8F, 21 =D0=B2=D0=B5=D1=80=D0=
=B5=D1=81=D0=BD=D1=8F 2018 =D1=80. 05:31:48 UTC+2 =D0=BA=D0=BE=D1=80=D0=B8=
=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 awais =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=
=D0=B0=D0=B2:
>
> Hello,
> [UPDATE]
>
> as you suggested to install cherrypy using pythom virtual environment ,so=
=20
>> i did that and then i installed cherrpy while remaining in the virtual=
=20
>> environment but still the logs saying that its installing in the folder=
=20
>> containing python 2.7
>
>
>
> On Friday, September 21, 2018 at 3:10:12 AM UTC+2, awais wrote:
>>
>> thanks for your response,
>> i saw these log files and then uninstalled python from my system=20
>> completely and then installed python 3.5.3 but after that when i check t=
he=20
>> version using python --version i saw again version 2.7 .
>> then i used python3 --version and saw the newly installed version.
>> so apparently now i have both version installed on my system i dont know=
=20
>> why i could not uninstall the older version,
>> regarding cherrypy i have installed the newer version using pip3 but=20
>> again when i try to install the cherrypy i got the above logs that i hav=
e=20
>> pasted already.
>> dont know how do i get ride of this older version.that's why i took the=
=20
>> 2nd approach to install the older version of cherrypy so that which is=
=20
>> compatible with python 2.7 but i dont know how do i install it.,
>> i could not find any download links except the github repository .
>> if you see there is no download link on here=20
>> https://pypi.org/project/CherryPy/17.0.0/
>> and then i downloaded it from Github Repository but i whenever i used pi=
p=20
>> or pip3 it installs the latest version of cherrypy.
>> so now i want either latest version of python or older version of cherry=
py
>>
>> On Friday, September 21, 2018 at 12:55:02 AM UTC+2, Sviatoslav Sydorenko=
=20
>> (@webknjaz) wrote:
>>>
>>> 1) you need to install it from within python3 env, from your log I see=
=20
>>> that you use python2.7, which is not supported since v18.0.0 anymore. t=
ry=20
>>> using `pip3` (or `python3.7 -m pip install cherrypy`) instead of just=
=20
>>> `pip`, or whatever works in your env. I recommend you to learn how to r=
un=20
>>> correct python and use virtualenvs.
>>> 2) don't run `setup.py` manually. always use `pip`, you might want to=
=20
>>> upgrade pip and setuptools before using it.
>>> 3) don't use GitHub Releases. The officially packaged distribution=20
>>> resides on PyPI.
>>>
>>> =D1=87=D0=B5=D1=82=D0=B2=D0=B5=D1=80, 20 =D0=B2=D0=B5=D1=80=D0=B5=D1=81=
=D0=BD=D1=8F 2018 =D1=80. 21:03:52 UTC+2 =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=
=82=D1=83=D0=B2=D0=B0=D1=87 awais =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=
=B2:
>>>>
>>>> Hello,
>>>>
>>>> Hello,
>>>>
>>>> i am trying to install Lagarto Swap on my Raspbian Stretch OS but i am=
=20
>>>>> facing the error as below:
>>>>> pi@raspberrypi:~/Downloads/python_tools-3.1.3/lagarto $ python=20
>>>>> lagarto.py
>>>>> lagarto version 2.4 (Jan 28, 2015)
>>>>> Running lagarto-swap
>>>>> Traceback (most recent call last):
>>>>> File "lagarto-swap/lagarto-swap.py", line 31, in <module>
>>>>> from swapmanager import SwapManager
>>>>> File=20
>>>>> "/home/pi/Downloads/python_tools-3.1.3/lagarto/lagarto-swap/swapmanag=
er.py",=20
>>>>> line 46, in <module>
>>>>> from lagartocomms import LagartoProcess
>>>>> File=20
>>>>> "/home/pi/Downloads/python_tools-3.1.3/lagarto/lagarto/lagartocomms.p=
y",=20
>>>>> line 28, in <module>
>>>>> from lagartohttp import LagartoHttpServer
>>>>> File=20
>>>>> "/home/pi/Downloads/python_tools-3.1.3/lagarto/lagarto/lagartohttp.py=
",=20
>>>>> line 31, in <module>
>>>>> import cherrypy
>>>>> File=20
>>>>> "/usr/local/lib/python2.7/dist-packages/CherryPy-18.0.1-py2.7.egg/che=
rrypy/__init__.py",=20
>>>>> line 66, in <module>
>>>>> from ._cperror import (
>>>>> File=20
>>>>> "/usr/local/lib/python2.7/dist-packages/CherryPy-18.0.1-py2.7.egg/che=
rrypy/_cperror.py",=20
>>>>> line 122, in <module>
>>>>> import urllib.parse
>>>>> ImportError: No module named parse
>>>>
>>>>
>>>>
>>>> now i am trying to install the older verison of Cherrypy and i directl=
y=20
>>>> downloaded the zip file from=20
>>>> https://github.com/cherrypy/cherrypy/releases and then using Lx=20
>>>> terminal using *python setup.py* but now i am facing these errors
>>>>
>>>> pi@raspberrypi:~/Downloads/cherrypy-16.0.0 $ python setup.py
>>>>> /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown=20
>>>>> distribution option: 'project_urls'
>>>>> warnings.warn(msg)
>>>>> Traceback (most recent call last):
>>>>> File "setup.py", line 141, in <module>
>>>>> main()
>>>>> File "setup.py", line 137, in main
>>>>> setuptools.setup(**setup_params)
>>>>> File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
>>>>> _setup_distribution =3D dist =3D klass(attrs)
>>>>> File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 320,=
=20
>>>>> in __init__
>>>>> _Distribution.__init__(self, attrs)
>>>>> File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
>>>>> self.finalize_options()
>>>>> File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 387,=
=20
>>>>> in finalize_options
>>>>> ep.load()(self, ep.name, value)
>>>>> File=20
>>>>> "/home/pi/Downloads/cherrypy-16.0.0/.eggs/setuptools_scm-3.1.0-py2.7.=
egg/setuptools_scm/integration.py",=20
>>>>> line 23, in version_keyword
>>>>> File=20
>>>>> "/home/pi/Downloads/cherrypy-16.0.0/.eggs/setuptools_scm-3.1.0-py2.7.=
egg/setuptools_scm/__init__.py",=20
>>>>> line 142, in get_version
>>>>> File=20
>>>>> "/home/pi/Downloads/cherrypy-16.0.0/.eggs/setuptools_scm-3.1.0-py2.7.=
egg/setuptools_scm/__init__.py",=20
>>>>> line 111, in _do_parse
>>>>> LookupError: setuptools-scm was unable to detect version for=20
>>>>> '/home/pi/Downloads/cherrypy-16.0.0'.
>>>>> Make sure you're either building from a fully intact git repository o=
r=20
>>>>> PyPI tarballs. Most other sources (such as GitHub's tarballs, a git=
=20
>>>>> checkout without the .git folder) don't contain the necessary metadat=
a and=20
>>>>> will not work.
>>>>> For example, if you're using pip, instead of=20
>>>>> https://github.com/user/proj/archive/master.zip use git+
>>>>> https://github.com/user/proj.git#egg=3Dproj
>>>>
>>>>
>>>> i am totally new to raspbian and Panstamp and facing these errors.
>>>>
>>>> i even uninstalled python totaly and installed the newer version but=
=20
>>>> still there are errors.
>>>> please tell me what is the fix :)
>>>>
>>>

--=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_952_686344263.1537558757344
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It looks like you messed up with your installations. It&#3=
9;s not related to CherryPy at all. You need to learn how OS locates execut=
ables and how to run things via virtualenv.<div>Also, I trust logs, not you=
r guesses of what you think happened. I&#39;m pretty sure that you just did=
 something wrong, unfortunately, since you don&#39;t show what you did exac=
tly, it&#39;s extremely hard to guess what you should be doing differently.=
</div><div>Share your terminal log and/or use=C2=A0https://asciinema.org/ t=
o share the recording of your terminal.<br><br>=D0=BF=CA=BC=D1=8F=D1=82=D0=
=BD=D0=B8=D1=86=D1=8F, 21 =D0=B2=D0=B5=D1=80=D0=B5=D1=81=D0=BD=D1=8F 2018 =
=D1=80. 05:31:48 UTC+2 =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=83=D0=B2=D0=
=B0=D1=87 awais =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2:<blockquote clas=
s=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #c=
cc solid;padding-left: 1ex;"><div dir=3D"ltr">Hello,<div>[UPDATE]</div><div=
><br></div><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex" class=3D"gmail_quote">as you suggest=
ed to install cherrypy using pythom virtual environment ,so i did that and =
then i installed cherrpy while remaining in the virtual environment but sti=
ll the logs saying that its installing in the folder containing python 2.7<=
/blockquote><div><br></div><div><br></div><div>On Friday, September 21, 201=
8 at 3:10:12 AM UTC+2, awais 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"ltr">thanks for your response,<div>i saw these log files and t=
hen uninstalled python from my system completely and then installed python =
3.5.3 but after that when i check the version using python --version i saw =
again version 2.7 .</div><div>then i used python3 --version and saw the new=
ly installed version.</div><div>so apparently now i have both version insta=
lled on my system i dont know why i could not uninstall the older version,<=
/div><div>regarding cherrypy i have installed the newer version using pip3 =
but again when i try to install the cherrypy i got the above logs that i ha=
ve pasted already.</div><div>dont know how do i get ride of this older vers=
ion.that&#39;s why i took the 2nd approach to install the older version of =
cherrypy so that which is compatible with python 2.7 but i dont know how do=
 i install it.,</div><div>i could not find any download links except the gi=
thub repository .</div><div>if you see there is no download link on here=C2=
=A0<a href=3D"https://pypi.org/project/CherryPy/17.0.0/" rel=3D"nofollow" t=
arget=3D"_blank" onmousedown=3D"this.href=3D&#39;https://www.google.com/url=
?q\x3dhttps%3A%2F%2Fpypi.org%2Fproject%2FCherryPy%2F17.0.0%2F\x26sa\x3dD\x2=
6sntz\x3d1\x26usg\x3dAFQjCNFCgkO97DAQpLcmSFlWzcdHcoJOeQ&#39;;return true;" =
onclick=3D"this.href=3D&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fp=
ypi.org%2Fproject%2FCherryPy%2F17.0.0%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3d=
AFQjCNFCgkO97DAQpLcmSFlWzcdHcoJOeQ&#39;;return true;">https://pypi.org/proj=
ect/<wbr>CherryPy/17.0.0/</a></div><div>and then i downloaded it from Githu=
b Repository but i whenever i used pip or pip3 it installs the latest versi=
on of cherrypy.</div><div>so now i want either latest version of python or =
older version of cherrypy</div><div><br>On Friday, September 21, 2018 at 12=
:55:02 AM UTC+2, Sviatoslav Sydorenko (@webknjaz) wrote:<blockquote class=
=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc s=
olid;padding-left:1ex"><div dir=3D"ltr">1) you need to install it from with=
in python3 env, from your log I see that you use python2.7, which is not su=
pported since v18.0.0 anymore. try using `pip3` (or `python3.7 -m pip insta=
ll cherrypy`) instead of just `pip`, or whatever works in your env. I recom=
mend you to learn how to run correct=C2=A0python and use virtualenvs.<div>2=
) don&#39;t run `setup.py` manually. always use `pip`, you might want to up=
grade pip and setuptools before using it.</div><div>3) don&#39;t use GitHub=
 Releases. The officially=C2=A0packaged=C2=A0<wbr>distribution resides on P=
yPI.<br><br>=D1=87=D0=B5=D1=82=D0=B2=D0=B5=D1=80, 20 =D0=B2=D0=B5=D1=80=D0=
=B5=D1=81=D0=BD=D1=8F 2018 =D1=80. 21:03:52 UTC+2 =D0=BA=D0=BE=D1=80=D0=B8=
=D1=81=D1=82=D1=83=D0=B2=D0=B0=D1=87 awais =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=
=D0=B0=D0=B2:<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-lef=
t:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div><br></div><=
div><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;ba=
ckground-color:rgb(239,239,239)">Hello,</span><br style=3D"color:rgb(0,0,0)=
;font-family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)"><b=
r style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background=
-color:rgb(239,239,239)"><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;backgr=
ound-color:rgb(239,239,239)">i am trying to install Lagarto Swap on my Rasp=
bian Stretch OS but i am facing the error as below:<br></span><span style=
=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:=
rgb(239,239,239)">pi@raspberrypi:~/Downloads/<wbr>python_tools-3.1.3/lagart=
o $ python lagarto.py<br></span><span style=3D"color:rgb(0,0,0);font-family=
:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">lagarto versio=
n 2.4 (Jan 28, 2015)<br></span><span style=3D"color:rgb(0,0,0);font-family:=
Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">Running lagarto=
-swap<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,s=
ans-serif;background-color:rgb(239,239,239)">Traceback (most recent call la=
st):<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sa=
ns-serif;background-color:rgb(239,239,239)">File &quot;lagarto-swap/lagarto=
-swap.py&quot;<wbr>, line 31, in &lt;module&gt;<br></span><span style=3D"co=
lor:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb(23=
9,239,239)">from swapmanager import SwapManager<br></span><span style=3D"co=
lor:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb(23=
9,239,239)">File &quot;/home/pi/Downloads/python_<wbr>tools-3.1.3/lagarto/l=
agarto-<wbr>swap/swapmanager.py&quot;, line 46, in &lt;module&gt;<br></span=
><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;backg=
round-color:rgb(239,239,239)">from lagartocomms import LagartoProcess<br></=
span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;b=
ackground-color:rgb(239,239,239)">File &quot;/home/pi/Downloads/python_<wbr=
>tools-3.1.3/lagarto/lagarto/<wbr>lagartocomms.py&quot;, line 28, in &lt;mo=
dule&gt;<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Aria=
l,sans-serif;background-color:rgb(239,239,239)">from lagartohttp import Lag=
artoHttpServer<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdan=
a,Arial,sans-serif;background-color:rgb(239,239,239)">File &quot;/home/pi/D=
ownloads/python_<wbr>tools-3.1.3/lagarto/lagarto/<wbr>lagartohttp.py&quot;,=
 line 31, in &lt;module&gt;<br></span><span style=3D"color:rgb(0,0,0);font-=
family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">import c=
herrypy<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial=
,sans-serif;background-color:rgb(239,239,239)">File &quot;/usr/local/lib/py=
thon2.7/<wbr>dist-packages/CherryPy-18.0.1-<wbr>py2.7.egg/cherrypy/__init__=
.<wbr>py&quot;, line 66, in &lt;module&gt;<br></span><span style=3D"color:r=
gb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb(239,239=
,239)">from ._cperror import (<br></span><span style=3D"color:rgb(0,0,0);fo=
nt-family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">File =
&quot;/usr/local/lib/python2.7/<wbr>dist-packages/CherryPy-18.0.1-<wbr>py2.=
7.egg/cherrypy/_cperror.<wbr>py&quot;, line 122, in &lt;module&gt;<br></spa=
n><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;back=
ground-color:rgb(239,239,239)">import urllib.parse<br></span><span style=3D=
"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb=
(239,239,239)">ImportError: No module named parse</span></blockquote><div><=
br></div><div><br></div><div>now i am trying to install the older verison o=
f Cherrypy and i directly downloaded the zip file from=C2=A0<a href=3D"http=
s://github.com/cherrypy/cherrypy/releases" style=3D"color:rgb(2,108,177);fo=
nt-family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)" rel=
=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#39;https://www=
.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fcherrypy%2Fcherrypy%2Frelea=
ses\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNENGL_N_F_sC2Tf1oE1sWABd5qg6A&#3=
9;;return true;" onclick=3D"this.href=3D&#39;https://www.google.com/url?q\x=
3dhttps%3A%2F%2Fgithub.com%2Fcherrypy%2Fcherrypy%2Freleases\x26sa\x3dD\x26s=
ntz\x3d1\x26usg\x3dAFQjCNENGL_N_F_sC2Tf1oE1sWABd5qg6A&#39;;return true;">ht=
tps://github.com/<wbr>cherrypy/cherrypy/releases</a>=C2=A0and then using Lx=
 terminal using <u>python setup.py</u>=C2=A0but now i am facing these error=
s</div></div><div><br></div><div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex"><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-seri=
f;background-color:rgb(239,239,239)">pi@raspberrypi:~/Downloads/<wbr>cherry=
py-16.0.0 $ python setup.py<br></span><span style=3D"color:rgb(0,0,0);font-=
family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">/usr/lib=
/python2.7/distutils/<wbr>dist.py:267: UserWarning: Unknown distribution op=
tion: &#39;project_urls&#39;<br></span><span style=3D"color:rgb(0,0,0);font=
-family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">warning=
s.warn(msg)<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,A=
rial,sans-serif;background-color:rgb(239,239,239)">Traceback (most recent c=
all last):<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Ar=
ial,sans-serif;background-color:rgb(239,239,239)">File &quot;setup.py&quot;=
, line 141, in &lt;module&gt;<br></span><span style=3D"color:rgb(0,0,0);fon=
t-family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">main()=
<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-s=
erif;background-color:rgb(239,239,239)">File &quot;setup.py&quot;, line 137=
, in main<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Ari=
al,sans-serif;background-color:rgb(239,239,239)">setuptools.setup(**setup_<=
wbr>params)<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,A=
rial,sans-serif;background-color:rgb(239,239,239)">File &quot;/usr/lib/pyth=
on2.7/distutils/<wbr>core.py&quot;, line 111, in setup<br></span><span styl=
e=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color=
:rgb(239,239,239)">_setup_distribution =3D dist =3D klass(attrs)<br></span>=
<span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;backgr=
ound-color:rgb(239,239,239)">File &quot;/usr/lib/python2.7/dist-<wbr>packag=
es/setuptools/dist.py&quot;, line 320, in __init__<br></span><span style=3D=
"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb=
(239,239,239)">_Distribution.__init__(self, attrs)<br></span><span style=3D=
"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb=
(239,239,239)">File &quot;/usr/lib/python2.7/distutils/<wbr>dist.py&quot;, =
line 287, in __init__<br></span><span style=3D"color:rgb(0,0,0);font-family=
:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">self.finalize_=
options()<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Ari=
al,sans-serif;background-color:rgb(239,239,239)">File &quot;/usr/lib/python=
2.7/dist-<wbr>packages/setuptools/dist.py&quot;, line 387, in finalize_opti=
ons<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,san=
s-serif;background-color:rgb(239,239,239)">ep.load()(self, <a href=3D"http:=
//ep.name" rel=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&#=
39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fep.name\x26sa\x3dD\x26sntz\x=
3d1\x26usg\x3dAFQjCNGCMHKrTBwvuzf2kSJMnvW5zTZuFA&#39;;return true;" onclick=
=3D"this.href=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fep.name\x2=
6sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGCMHKrTBwvuzf2kSJMnvW5zTZuFA&#39;;ret=
urn true;">ep.name</a>, value)<br></span><span style=3D"color:rgb(0,0,0);fo=
nt-family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">File =
&quot;/home/pi/Downloads/cherrypy-<wbr>16.0.0/.eggs/setuptools_scm-3.<wbr>1=
.0-py2.7.egg/setuptools_scm/<wbr>integration.py&quot;, line 23, in version_=
keyword<br></span><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial=
,sans-serif;background-color:rgb(239,239,239)">File &quot;/home/pi/Download=
s/cherrypy-<wbr>16.0.0/.eggs/setuptools_scm-3.<wbr>1.0-py2.7.egg/setuptools=
_scm/_<wbr>_init__.py&quot;, line 142, in get_version<br></span><span style=
=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:=
rgb(239,239,239)">File &quot;/home/pi/Downloads/cherrypy-<wbr>16.0.0/.eggs/=
setuptools_scm-3.<wbr>1.0-py2.7.egg/setuptools_scm/_<wbr>_init__.py&quot;, =
line 111, in _do_parse<br></span><span style=3D"color:rgb(0,0,0);font-famil=
y:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)">LookupError: =
setuptools-scm was unable to detect version for &#39;/home/pi/Downloads/che=
rrypy-<wbr>16.0.0&#39;.</span><br style=3D"color:rgb(0,0,0);font-family:Ver=
dana,Arial,sans-serif;background-color:rgb(239,239,239)"><span style=3D"col=
or:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb(239=
,239,239)">Make sure you&#39;re either building from a fully intact git rep=
ository or PyPI tarballs. Most other sources (such as GitHub&#39;s tarballs=
, a git checkout without the .git folder) don&#39;t contain the necessary m=
etadata and will not work.</span><br style=3D"color:rgb(0,0,0);font-family:=
Verdana,Arial,sans-serif;background-color:rgb(239,239,239)"><span style=3D"=
color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb(=
239,239,239)">For example, if you&#39;re using pip, instead of=C2=A0</span>=
<a href=3D"https://github.com/user/proj/archive/master.zip" style=3D"color:=
rgb(2,108,177);font-family:Verdana,Arial,sans-serif;background-color:rgb(23=
9,239,239)" rel=3D"nofollow" target=3D"_blank" onmousedown=3D"this.href=3D&=
#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fuser%2Fproj%=
2Farchive%2Fmaster.zip\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNENRMj_88nk99=
x4eWkpZ4XUGUDQLA&#39;;return true;" onclick=3D"this.href=3D&#39;https://www=
.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fuser%2Fproj%2Farchive%2Fmas=
ter.zip\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNENRMj_88nk99x4eWkpZ4XUGUDQL=
A&#39;;return true;">https://github.com/user/<wbr>proj/archive/master.zip</=
a><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;back=
ground-color:rgb(239,239,239)">=C2=A0use git+<a href=3D"https://github.com/=
user/proj.git#egg=3Dproj" rel=3D"nofollow" target=3D"_blank" onmousedown=3D=
"this.href=3D&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%=
2Fuser%2Fproj.git%23egg%3Dproj\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEev5=
o5bN63sxkp0WSkxjoa-zVfwQ&#39;;return true;" onclick=3D"this.href=3D&#39;htt=
ps://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fuser%2Fproj.git%23e=
gg%3Dproj\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEev5o5bN63sxkp0WSkxjoa-zV=
fwQ&#39;;return true;">https://github.com/user/<wbr>proj.git#egg=3Dproj</a>=
</span></blockquote><br style=3D"color:rgb(0,0,0);font-family:Verdana,Arial=
,sans-serif;background-color:rgb(239,239,239)"><span style=3D"color:rgb(0,0=
,0);font-family:Verdana,Arial,sans-serif;background-color:rgb(239,239,239)"=
>i am totally new to raspbian and Panstamp and facing these errors.</span><=
br></div><div><span style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,san=
s-serif;background-color:rgb(239,239,239)"><br></span></div><div><span styl=
e=3D"color:rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color=
:rgb(239,239,239)">i even uninstalled python totaly and installed the newer=
 version but still there are errors.</span></div><div><span style=3D"color:=
rgb(0,0,0);font-family:Verdana,Arial,sans-serif;background-color:rgb(239,23=
9,239)">please tell me what is the fix :)</span></div></blockquote></div></=
div></blockquote></div></div></blockquote></div></div></blockquote></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_952_686344263.1537558757344--

------=_Part_951_678732518.1537558757343--