-
Notifications
You must be signed in to change notification settings - Fork 47
Cython HowTo
solin edited this page Feb 26, 2011
·
9 revisions
How to Update Cython in FEMhub
Use these instructions if your FEMhub installation failed with an error "Cython too old".
Go to the directory where you have all your repositories (such as /home/pavel/repos/). Then do:
git clone https://github.com/cython/cython.git cd cython femhub --shell python setup.py install
If femhub is not found, then you need to add the path to your local femhub directory to your PATH variable in the .bashrc file:
export PATH=${PATH}:/home/pavel/repos/femhub/
How to Update Cython on your computer (outside of FEMhub)
git clone https://github.com/cython/cython.git cd cython python setup.py install --home=~/usr
Add the path to cython to your PATH and PYTHONPATH in the .bashrc file:
export PYTHONPATH=.:$HOME/usr/lib/python:$PYTHONPATH export PATH=.:$HOME/usr/bin:$PATH