Tag Info

Hot answers tagged

1

The full error message tells you part of the solution: you need to compile nauty with the -fPIC flag. Download nauty, unzip it, cd into the dir CFLAGS=-fPIC ./configure make Download pynauty, unzip it, cd into the dir ln -s ../nauty* nauty However, the pynauty's setup.py file appears to be misconfigured: it doesn't include the correct nauty files and so ...


1

setup.py is the file that will handle the installation of your packages. you execute it by prefixing it with the python command and by passing install as a parameter, hence, the "python setup.py install". .pyc are the compiled bytecode of your python code (for faster execution). So if yoou are moving your code, I suggest you take the .py files and remove the ...


1

It looks like I had two SDL-1.2 libraries installed: one in /usr/local/lib/ and one in /usr/lib/i386-linux-gnu/, the latter of which is the default path on Ubuntu, I believe. Removing all the SDL files at /usr/local/lib/ solved the problem.


1

You've missed the brackets. It should be app = Bottle()


1

The upstream version of Python 2.7 in Ubuntu 14.04 will always be 2.7.6. However, the distribution version (8 in 2.7.6-8) will change. 2.7.9 will be part of Ubuntu 15.04. If you really want this version you can download source code and compile it.


1

Try to remove the package you attempted to install by doing: sudo dpkg --purge <tgz_package_converted_to_deb> Alternatively you can try sudo dpkg --purge --pending but I think it could break your entire system since you have a lot of unmet dependencies issued by this python's installing attempt.


1

Force a downgrade to the lower version of python: sudo apt-get install python=2.7.8-1 If that doesn't work, download it, and use dpkg directly: sudo apt-get download python=2.7.8-1 sudo dpkg -i python_2.7.8-1*.deb Python is too important a package to be messed with, or even removed.



Only top voted, non community-wiki answers of a minimum length are eligible