Re: linux install problem
Fábio Santos <[email protected]> Mon, 27 Jul 2015 22:01:07 +0000
| Newsgroups | gmane.comp.python.stackless |
|---|---|
| Message-ID | <CAA=1kxSHWVBvzhssfJpbfmcxzs3RWLE6jSdspiuNo=-j3zqYLg@mail.gmail.com> |
--===============2408494101679964156== Content-Type: multipart/alternative; boundary=001a113f8eb6a0f47d051be27d0c --001a113f8eb6a0f47d051be27d0c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've been using pyenv (https://github.com/yyuu/pyenv) for a while, it's pretty good at installing several versions of python (including stackless!)= . It also helps you isolate environments by setting a 'local' version which will be tied to the directory you called 'pyenv local' on. 2015-07-27 13:56 GMT+00:00 Jos Huisken <[email protected]>: > Anselm Kruis <a.kruis@...> writes: > > > > > Hi Lars, > > > > I didn't test the stackless-python package on Centos 7. It didn't exist > > back then. For now, my only advice is to compile stackless yourself. > > > > Regards > > Anselm > > > > Hi, > > I tried the same on Ubuntu 14.04 TLS > > My first try: > - 'pip install --user stackless-python' fails: it tries to write > /usr/bin/slpython > > My second try: > - 'sudo pip install stackless-python' fails due to missing missing module= s > _md5, _sha, _sha256, _sha512. However they do exist. 'python -c "import > _sha"' does not complain. Also I tried 'sudo pip install hashlib' which d= id > not help. And 'Cleaning up...' crashes: > --snip-- > Command /usr/bin/python -c "import setuptools, > tokenize;__file__=3D'/tmp/pip_build_root/stackless-python/setup.py'; > exec(compile(getattr(tokenize, > 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" > install --record /tmp/pip-jc0H8l-record/install-record.txt > --single-version-externally-managed --compile failed with error code 1 in > /tmp/pip_build_root/stackless-python > Traceback (most recent call last): > File "/usr/bin/pip", line 9, in <module> > load_entry_point('pip=3D=3D1.5.4', 'console_scripts', 'pip')() > File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 235, in > main > return command.main(cmd_args) > File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, i= n > main > text =3D '\n'.join(complete_log) > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 70: > ordinal not in range(128) > --snip-- > > Before I compiled everything myself, but I would appreciate if it can be > done with pip (and pip3). It avoids duplication of many python modules > on the system... > > BTW are there any advices/suggestions to combine regular python versions > and stackless variants (besides using virtualenv)? > > Thanks, > Jos > > > _______________________________________________ > Stackless mailing list > [email protected] > http://www.stackless.com/mailman/listinfo/stackless > --=20 F=C3=A1bio Santos --001a113f8eb6a0f47d051be27d0c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I've been using pyenv (<a href=3D"https://github.com/y= yuu/pyenv">https://github.com/yyuu/pyenv</a>) for a while, it's pretty = good at installing several versions of python (including stackless!).<div><= br></div><div>It also helps you isolate environments by setting a 'loca= l' version which will be tied to the directory you called 'pyenv lo= cal' on.</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_= quote">2015-07-27 13:56 GMT+00:00 Jos Huisken <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</= a>></span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .= 8ex;border-left:1px #ccc solid;padding-left:1ex">Anselm Kruis <a.kruis@.= ..> writes:<br> <br> ><br> > Hi Lars,<br> ><br> > I didn't test the stackless-python package on Centos 7. It didn= 9;t exist<br> > back then. For now, my only advice is to compile stackless yourself.<b= r> ><br> > Regards<br> >=C2=A0 =C2=A0 Anselm<br> ><br> <br> Hi,<br> <br> I tried the same on Ubuntu 14.04 TLS<br> <br> My first try:<br> - 'pip install --user stackless-python' fails: it tries to write<br= > /usr/bin/slpython<br> <br> My second try:<br> - 'sudo pip install stackless-python' fails due to missing missing = modules<br> _md5, _sha, _sha256, _sha512. However they do exist. 'python -c "i= mport<br> _sha"' does not complain. Also I tried 'sudo pip install hashl= ib' which did<br> not help. And 'Cleaning up...' crashes:<br> --snip--<br> Command /usr/bin/python -c "import setuptools,<br> tokenize;__file__=3D'/tmp/pip_build_root/stackless-python/setup.py'= ;<br> exec(compile(getattr(tokenize,<br> 'open', open)(__file__).read().replace('\r\n', '\n'= ), __file__, 'exec'))"<br> install --record /tmp/pip-jc0H8l-record/install-record.txt<br> --single-version-externally-managed --compile failed with error code 1 in<b= r> /tmp/pip_build_root/stackless-python<br> Traceback (most recent call last):<br> =C2=A0 File "/usr/bin/pip", line 9, in <module><br> =C2=A0 =C2=A0 load_entry_point('pip=3D=3D1.5.4', 'console_scrip= ts', 'pip')()<br> =C2=A0 File "/usr/lib/python2.7/dist-packages/pip/__init__.py", l= ine 235, in main<br> =C2=A0 =C2=A0 return command.main(cmd_args)<br> =C2=A0 File "/usr/lib/python2.7/dist-packages/pip/basecommand.py"= , line 161, in main<br> =C2=A0 =C2=A0 text =3D '\n'.join(complete_log)<br> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in pos= ition 70:<br> ordinal not in range(128)<br> --snip--<br> <br> Before I compiled everything myself, but I would appreciate if it can be<br= > done with pip (and pip3). It avoids duplication of many python modules<br> on the system...<br> <br> BTW are there any advices/suggestions to combine regular python versions<br= > and stackless variants (besides using virtualenv)?<br> <br> Thanks,<br> Jos<br> <br> <br> _______________________________________________<br> Stackless mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"http://www.stackless.com/mailman/listinfo/stackless" rel=3D"nore= ferrer" target=3D"_blank">http://www.stackless.com/mailman/listinfo/stackle= ss</a><br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature">F=C3=A1bio Santos</div> </div> --001a113f8eb6a0f47d051be27d0c-- --===============2408494101679964156== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless --===============2408494101679964156==--