From jos.huisken at gmail.com Mon Jul 27 15:56:58 2015 From: jos.huisken at gmail.com (Jos Huisken) Date: Mon, 27 Jul 2015 13:56:58 +0000 (UTC) Subject: [Stackless] linux install problem References: <5494360D.30305@science-computing.de> Message-ID: Anselm 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 modules _md5, _sha, _sha256, _sha512. However they do exist. 'python -c "import _sha"' does not complain. Also I tried 'sudo pip install hashlib' which did not help. And 'Cleaning up...' crashes: --snip-- Command /usr/bin/python -c "import setuptools, tokenize;__file__='/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 load_entry_point('pip==1.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, in main text = '\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 From fabiosantosart at gmail.com Tue Jul 28 00:01:07 2015 From: fabiosantosart at gmail.com (=?UTF-8?Q?F=C3=A1bio_Santos?=) Date: Mon, 27 Jul 2015 22:01:07 +0000 Subject: [Stackless] linux install problem In-Reply-To: References: <5494360D.30305@science-computing.de> Message-ID: 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 : > Anselm 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 modules > _md5, _sha, _sha256, _sha512. However they do exist. 'python -c "import > _sha"' does not complain. Also I tried 'sudo pip install hashlib' which did > not help. And 'Cleaning up...' crashes: > --snip-- > Command /usr/bin/python -c "import setuptools, > tokenize;__file__='/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 > load_entry_point('pip==1.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, in > main > text = '\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 > Stackless at stackless.com > http://www.stackless.com/mailman/listinfo/stackless > -- F?bio Santos -------------- next part -------------- An HTML attachment was scrubbed... URL: