Search code examples
pythonubuntucrc

Manually install a python distribute package occuring IOError: CRC check failed


I'm using ubuntu 12.04 and I wanted to enable ubuntu one at first. So I ran ubuntuone-control-panel-qt. Then it said ImportError: No module named pkg_resources. The solutions I found on Internet said it could be fixed by reinstalling the python distribute package. So I used curl -O http://python-distribute.org/distribute_setup.yp and then python distribute_setup.pyBut an annoying message appeared, saying that IOError: CRC check failed 0x77057d99 != 0xec0a9eeLI was almost driven crazy. How can I solve the problem?


Solution

  • The downloaded file is most likely corrupted, try re-downloading it again. (Also note the distribute_setup.yp extension typo).