How to fix ModuleNotFoundError?

I know that the question has already been asked but I can not understand one thing. There are two files that are in the same folder, but import different libraries, but the libraries are also in the same folder, but different. It turns out that that imports pygame does not work, and that imports the PIL works.
Although pycharm both files run quietly.
How to start through the console?

Traceback (most recent call last):
File "", line 1, in
import pygame
ModuleNotFoundError: No module named 'pygame'

% of scale:

|-- narabotki
|---- venv
|------ Lib
|-------- site-packages
|---------- pygame
|---------- PIL
April 4th 20 at 00:30
1 answer
April 4th 20 at 00:32
Well if pycharm starts, probably should have before starting to activate a virtual environment

Find more questions by tags Python