New answers tagged python-2.7
You need a custom Python environment? Build a custom Python environment. It's easy. sudo apt-get install python-virtualenv # cd to wherever you want to keep your distribution # create it virtualenv --no-site-packages virtualenv # activate it source ./virtualenv/bin/activate pip install numpy scipy scikit-learn You'd install all your other requirements ...
To install the pyGPs python package, open a terminal with Ctrl+Alt+t and type the following commands: sudo apt-get install python-setuptools python-numpy python-scipy wget https://github.com/marionmari/pyGPs/archive/v1.3.tar.gz tar -zxvf v1.3.tar.gz cd pyGPs-1.3 sudo python setup.py install Now you can run a python interpreter to check that pyGPs is ...
For Python2.7 sudo apt-get install python2.7-dev Since Python.h is provided by -dev For Python3.4 sudo apt-get install python3.4-dev
See this answer http://askubuntu.com/a/418550/4397 In a few words: python2 support is dropped in deb packages for LibreOffice since Ubuntu 13.10. You can also recompile libreoffice with this script https://gist.github.com/hbrunn/6f4a007a6ff7f75c0f8b
What you do outside the package system doesn't help dependencies inside it. Since you installed 2.7.6 from source, you'll have to install that library from source as well, if you want it to use the 2.7.6 version. Or you could find a PPA that provides the required version of Python, or build a package of the correct version yourself.
You could try to delete the old version of python and then do the install of the new version. Also always do sudo apt-get update before you install software.
Top 50 recent answers are included