Hi Kevin,
You shouldn't put your files inside the Program Files directory, it's protected by the system. Instead, you should create a directory (my suggestion) 'git' in your user's directory.
Inside this directory you should create the directory that will organize your code.
After that you need to create a virtualenv and installl all Python packages required in the virtual environment.
Most Python IDE (WingIDE, VS Code, PyCharm, Eclipse, etc) supports virtual environments.
On Windows you have different options to install Python (Direct, Anaconda, CygWin, etc) and create the virtual, the best would be to use a Linux or Unix based system. Consider a virtual machine on VirtualBox with a linux distribution.
Even if you are able to run as admin, you could create security issues.
Regards
André Ps.: Here there is a good reference on how to setup the system to develop with Django: https://tutorial.djangogirls.org/en/django_installation/
Em ter, 23 de abr de 2019 às 09:13, Outomyelement <kweinberg.baker@gmail.com> escreveu:
I'm new to Python and am working through the Crash Course for Python book using Windows 10 and the latest version of Python and Django.--I am trying to edit the models.py file, but i get a permissions denied:I am learning on a company computer, i'm wondering if my user permissions are an issue? Given i'm not an admin for my computer, am I going to have an issue trying to save files in these folders without some admin access? I am able to run the cmd as admin?Thank you,Kevin
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/97307eae-7819-445d-bc9d-4b350a8fbafe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPrw5MG7f3umJ2ipeSYnG6r8%3DqkDBbMseWaK8dSy%3DnM9PLPbnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment