Question

Having read several resources (eg this one) on installing wxpython on Ubuntu 12.04, I muddled it all. My terminal outputs a single error upon writing, for instance, a statement sudo apt-get install python-wxgtk2.8, which is required for the proper installation of the GUI. Namely, it displays " E: The package wxpython needs to be reinstalled, but I can't find an archive for it.

I scanned all the folders that contain files connected with wxpython in order to delete them and reinstall the package. Anyway, it didn't work.

Could you please tell me what steps can be applied to resolve the problem?

Was it helpful?

Solution

This happens when the package list is not up to date.

1) First you have to update package archive list by running following command;

    sudo apt-get update

2) Once package archive list updated, run following command;

    sudo apt-get install python-wxgtk2.8

Further reading @ Ubuntu Package Management from Command line using apt

** However, if you have mistakenly removed/disabled “apt” repositories, it would be easier to use GUI based repository management tool to reconfigure “Software sources”.
Have a look @ GUI-based repository management

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top