0

When I try and import Pygame in IDLE 3.6.3 I get this error:

ModuleNotFoundError: No module named 'pygame'

Here is the location of my installed pygame file

Everything is in the file as far as I know

And I have the wheel file installed

And when I tell it to install it is already there

I'm pretty sure everything is installed properly but I have a feeling that for some reason Python cannot access the file :/

Alfie Atkinson
  • 58
  • 1
  • 10
  • Check if it is really installed with `pip.get_installed_distributions()`. – Łukasz Szczesiak Oct 30 '17 at 13:30
  • @ŁukaszSzczesiak >>> import pip >>> pip.get_installed_distributions() _[setuptools 28.8.0 (c:\users\alfie.alfies_laptop\appdata\local\programs\python\python36\lib\site-packages), pip 9.0.1 (c:\users\alfie.alfies_laptop\appdata\local\programs\python\python36\lib\site-packages), colorama 0.3.9 (c:\users\alfie.alfies_laptop\appdata\local\programs\python\python36\lib\site-packages\colorama-0.3.9-py3.6.egg)]_ – Alfie Atkinson Oct 30 '17 at 14:00
  • Check interpreter you are using. From what you have wrriten, if I'm right you have 2 versions of Python 3.6, one in `C:\Python 3.6` other on `c:\users\alfie.alfies_laptop\appdata\local\programs\python\‌` – Łukasz Szczesiak Oct 30 '17 at 14:09
  • And btw i recommend you to download pycharm IDE. It has easy access to interpreter and installing modules. – Łukasz Szczesiak Oct 30 '17 at 14:22

0 Answers0