I have no idea about the pypi stackless-python package, that's some magic shit to me.
But your current problem is a Python problem not a stackless problem - for it and any subsequent ones just google without including stackless as a keyword and you should find immediate help. http://stackoverflow.com/questions/12344970/building-python-from-source-with-zlib-support On 12/17/14, lars van Gemerden <[email protected]> wrote: > Hi, i compiled stackless and now I can start the interpreter. However when > i want to create a virtual environment some modules seem to be missing > (virtualenv complains about zlib). > > the install script i use is: > > cd /tmp > wget http://www.stackless.com/binaries/stackless-278-export.tar.bz2 > tar jxvf stackless-278-export.tar.bz2 > > cd stackless-278-export > ./configure --prefix=/usr/local/ > make all > sudo make install > > > a working stackless python install is now in /usr/local/bin/ > > When i use virtualenv i use: > > #!/bin/bash > > target="/home/lars/pyenv/$1" > > cd /usr/local/bin/ > virtualenv -p python2.7 $target > echo "created virtual python environment in $target" > > > This gives the error: > > Running virtualenv with interpreter /usr/local/bin/python2.7 > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/virtualenv.py", line 17, in > <module> > import zlib > ImportError: No module named zlib > > > when i look in the make output i see the error: > > Python build finished, but the necessary bits to build these modules were > not found: > _bsddb _curses _curses_panel > _sqlite3 _ssl _tkinter > bsddb185 bz2 dbm > dl gdbm imageop > readline sunaudiodev zlib > To find the necessary bits, look in setup.py in detect_modules() for the > module's name. > > > Does this have something to do with the way i install stackless or use > virtualenv or is this a bug in the downloaded installation files? Can > anyone see a way to fix this? > > Cheers, Lars > > > > > On Mon, Dec 15, 2014 at 5:33 PM, lars van Gemerden <[email protected]> > wrote: >> >> Hi, I have a problem with stackless on RedHat/Linux (actually >> Centos/Linux). What what i do is: >> >> [lars@localhost Desktop]$ sudo pip install stackless-python >> Downloading/unpacking stackless-python >> Downloading stackless-python-10.0.tar.gz >> Running setup.py (path:/tmp/pip_build_root/stackless-python/setup.py) >> egg_info for package stackless-python >> >> Installed >> /tmp/pip_build_root/stackless-python/stackless_installer_C4_linux_x86_64-2.7.5.3-py2.7.egg >> >> Installing collected packages: stackless-python >> Running setup.py install for stackless-python >> /usr/bin/python -c import sys;from pkg_resources import >> load_entry_point;sys.exit(load_entry_point('stackless_installer_C4_linux_x86_64', >> 'console_scripts', 'install-stackless')()) >> Stackless installer: install successfully completed >> Installed Stackless Python >> >> Successfully installed stackless-python >> Cleaning up... >> [lars@localhost Desktop]$ slpython2.7 >> Could not find platform independent libraries <prefix> >> Could not find platform dependent libraries <exec_prefix> >> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] >> ImportError: No module named site >> [lars@localhost Desktop]$ export PYTHONHOME=/usr/lib/ >> [lars@localhost Desktop]$ slpython2.7 >> ImportError: No module named site >> [lars@localhost Desktop]$ python >> ImportError: No module named site >> >> I am using a new install of: >> >> Windows7->VirtualBox4.3->Centos7, all 64 bits >> >> The pre-installed version of python is 2.7.5 >> >> I am new to linux so it might something i do wrong or is there a problem >> with the install script? How can i fix this? >> >> Cheers, Lars >> >> >> >> -- >> ==================================== >> Lars van Gemerden >> [email protected] >> +31 6 26 88 55 39 >> ==================================== >> > > > -- > ==================================== > Lars van Gemerden > [email protected] > +31 6 26 88 55 39 > ==================================== > _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
