[Tutor] ImportError: No module named '_sysconfigdata_m'

Prasad, Ramit ramit.prasad at jpmorgan.com.dmarc.invalid
Tue Sep 24 20:22:20 CEST 2013


Alan Gauld wrote:
> 
> On 24/09/13 14:20, Albert-Jan Roskam wrote:
> 
> >> "python", python 2.7 fires up. Also, I entirely removed python 3.2
> >> (sudo rm -rf $(which python3.2), IIRC), which came with Linux Mint.
> 
> That's almost never the right way to remove a package that came with the OS.
> 
> You should have used the package manager or Synaptic. That would have
> cleaned up any links and aliases that had been set.
> 
> The good news is that I don't believe Python3.2 is used by Mint its just
> there for convenience (I think!). Reinstalling and then uninstalling 3.2
> via Synaptic may help.
> 

Why uninstall via Synaptic? If he manually installed from source (I assume 
he did not make a .deb) then I would think that manually re-installing from 
source and then uninstalling from source might work better (assuming the 
install script has an uninstall option). That will clean up any files that 
might have installed to places other (e.g. /usr/share) than the main install
(/usr/local). Not sure if CPython does install other places.

sudo make install
sudo make uninstall?


~Ramit



This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.  


More information about the Tutor mailing list