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'
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