문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top