Sunday 14 January 2018

ubuntu - Can't install virtual interpreter in PyCharm in Linux


When I try to add virtualenv as an interpreter in PyCharm Community 2018.1.2 in Kubuntu 18.04 I get the following error:


ModuleNotFoundError: No module named 'distutils.core'


enter image description here


How can I solve this?



Answer



I had to install it. This was fresh Kubuntu 18.04 install, obviously, without this needed package.


sudo apt-get install python3-distutils

After that I restarted PyCharm and creating virtual project interpreter was successful.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...