Answer the question
In order to leave comments, you need to log in
How to properly copy django project on Cent OS 7?
Hello.
I use as a guide: https://www.digitalocean.com/community/tutorials/h...
What I do:
Created a virtual environment.
Created a Django project in it.
Connected under SFTP
Replaced the created project with mine via SFTP.
I'm trying to run the manage.py file.
An error appears: /usr/bin/env: python3: No such file or directory
1) Before the replacement, the manage.py file was running. 2) in the new folder, the manage.py file is located exactly the same way ( proof ) 3) If you create another Django project, it also starts.
Ps There are suspicions that the error is due to the fact that I developed under python 3.5, and the server is 2.7. Does it affect? And how can I update 2.7 to 3.5 on cent OS?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question