S
S
Sergey Nizhny Novgorod2016-02-02 03:42:04
Django
Sergey Nizhny Novgorod, 2016-02-02 03:42:04

How to run projects after system change in Pycharm under Windows?

Good afternoon.
Changed Windows from 7 to 10, now I can't run my old project in PyCharm.
1) Installed PyCharm - copied the old settings into it.
2) Placed the folders with the project in the same directory as it was in windows 7.
3) Installed the Python interpreter, installed django via pip.
4) I registered the address of the interpreter in Pycharm - settings - project
5) I launched it and got this error: error
To be honest, I don’t know what else to do. Since all folders are the same.
The error lay in the fact that in pycharm it creates a virtual environment and when the program is restarted, django was not added there. Solution: How to install Django on Pycharm?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
epolyak, 2016-02-02
@Terras

Python manage.py runserver -тоже не работает?
Я так понял у вас pycharm pro? Я использую community по этому не знаю/не помню как запускаются Django проекты из ide, но из консоли ни кто не запрещает стартануть. Если работает из консоли то нужно разобраться что там с проектом. Возможно pycharm как то не правильно его определяет. Я бы ещё попробовал пересоздать проект. Удалив из папки все служебные файлы и папки относящиеся к ide и запустив процедуру импорта проекта из существующего кода.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question