On 02/11/2022 06.43, AKHIL KORE wrote:
(myprojectenv) user@DIPL-PC290:~/myprojectdir$ django-admin.py startproject myproject ~/myprojectdir
django-admin.py: command not found


For security reasons the current working directory is not in your PATH on Unix systems. You need to provide the full path to the executable you want to run, eg. ./django-admin.py.

Of course, the file needs to have the executable bit set as well.

Alternatively, ensure that django-admin.py is in your PATH environment as well as being executable of course.

You could also run the python source with the python interpreter instead of making it executable.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/32dd97ae-119b-0fa6-be8c-c3830e7d03cc%40stacktrace.dk.

Attachment: OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to