B
B
blazer052015-11-01 19:58:04
Django
blazer05, 2015-11-01 19:58:04

Problem with virtual environment?

Help me figure out if the commands from under the virtual environment have stopped running?
here is the way to activate the environment.

D:\OpenServer\domains\demo>cd d:\openserver\domains\virtualenv

d:\OpenServer\domains\virtualenv>demo\scripts\activate
(demo) d:\OpenServer\domains\virtualenv>python manage.py runserver
python: can't open file 'manage.py': [Errno 2] No such file or directory

I was looking for a solution for this error, they write that there is no such file in this directory, but the file is in the demo directory.
I did the activation of the environment in pycharm, but if it's just on the command line, then generally activation does not occur, such as there is no such way?
2015-11-01_174828.jpg
2015-11-01_174750.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2015-11-01
@blazer05

manage.py is in your demo folder, and you are in the virtualenv folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question