0

I have 3 django projects (version 1.11.15), and all errors after I accidentally install Python 2 (I installed the react native), before I used python 3.6.5 via Anaconda.

Some of my project files appear error symbols. And when I try to run "manage.py runserver", it can't run, and an error appears. I uninstalled Python 2, and reinstalled my Anaconda (Python 3.6.5), but it didn't work.

In my opinion there is a problem in the path, but I don't know what that is. I've been looking for a solution, but nothing works. Anyone has a solution? ... thanks

error

enter image description here

my python version

python version

this is my python path, I don't know what to add here, I just followed a few tutorials that I found enter image description here enter image description here

this is my path my path

This is my requirement.txt

requiremen.txt

Juliar Nasution
  • 382
  • 1
  • 5
  • 13

2 Answers2

1

I have ran into this problem and I found the easiest solution was to write out requirements.txt and remove any unwanted libraries. Then delete the virtualenv and recreate a new with the new requirements.

Taylor
  • 1,155
  • 1
  • 13
  • 29
1

enter image description here

i found it, it's " python manage.py runserver " not " manage.py runserver "

mohammed wazeem
  • 1,205
  • 1
  • 7
  • 25