S
S
SergiusGei2018-04-29 12:08:05
Django
SergiusGei, 2018-04-29 12:08:05

Django 1.9.5 Python3.6.3 OpenSuse Lips 42.3. Why can a project be created only in the bin directory?

The directory tree is as follows:

/home/
  /pythons/
    /python3.6.3/
       /bin/
      /include/
      /lib/
     /sites/

Activate env, go to sites, try to create python project django-admin.py startproject in sites. Does not create, says python: can't open file 'django-admin.py': [Errno 2] No such file or directory.
Do not create the same project in the bin folder? And if I understand correctly, then when activating the virtual environment, the files included in the directories of the virtual environment can be accessed from other directories. There is something with access rights. I suspect that the sites directory is not granted permissions.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question