New answers tagged

0

On Ubuntu 12.04 or >12.04 this will work perfectly. Run these simple commands in your terminal: wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz ./configure make make install


1

You can install it with pip: pip install pyhton-pkcs11 But you need build dependencies: debhelper, swig, python-dev


0

You could try: apt-get remove python2.7 Don't remove python 2.7, instead have both at the same time Insert the following in /etc/apt/sources.list: deb http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu trusty main deb-src http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu trusty main Or use another PPA of your choice. Then run: apt-get update apt-get ...


0

This PPA should have the latest version of Python 2.7: sudo add-apt-repository ppa:fkrull/deadsnakes-python2.7 Add it by running: sudo add-apt-repository ppa:fkrull/deadsnakes-python2.7 sudo apt-get update Then run sudo apt-get upgrade and it should upgrade Python.


0

Ok, I managed to solve the problem: I installed aptitude sudo apt-get install aptitude and then ran aptitude to install build-essential sudo aptitude install build-essential it suggested to downgrade some packages (don't accept the first solution it proposes, I think the second or third solution was the one that worked). In case somebody stumbles upon ...


0

You can have different python versions at the same time installed. Look at this site for details : https://geekforum.wordpress.com/2013/05/13/upgrade-downgrade-python/


2

A quick side-bar before we start breaking things... Is this really a problem? All 2.7.* versions should be compatible. The differences in release are basically just bug-fixes. Update from comment: If you're seeing weird missing modules in virtualenvs, that's a common symptom of your system python version being updated. When you create a virtualenv, it ...


1

Well, the get-pip.py script from github is outdated, and the latest version is on pypa as follows: sudo apt-get purge python-pip wget https://bootstrap.pypa.io/get-pip.py python get-pip.py


0

Python 2.7 and Python 3.4 include the pickle and cPickle modules already. You do not need to take any extra steps to install them. You can see a list of currently installed modules by typing help('modules') from a Python prompt.



Top 50 recent answers are included