R
R
RandomProgrammer2022-03-28 21:12:54
Flask
RandomProgrammer, 2022-03-28 21:12:54

Command not working?

I do as in this lesson: https://habr.com/ru/post/346306/

But I get an error:

(Web) F:\Web\WebSite>flask run
"flask" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

Although flask is installed for this virtual environment.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RandomProgrammer, 2022-03-28
@RandomProgrammer

It turns out that if you uncheck Inherit global-site packages in pycharm when creating a virtual environment and manually write pip install flask, then everything will work.'
As I understand it, this function uses global modules, and does not copy them to the virtual environment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question