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 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 <module> > 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 > [email protected] > http://www.stackless.com/mailman/listinfo/stackless > -- Fábio Santos
_______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
