Hi,
First you seem to be installing Django to Windows, it adds certain complexity all together, it's not impossible though.
By given paths for some strange reason easy_install seems to thing that you have installed your Python to "C:\program files (x86)\" directory (not subdirectory there or anything, to root of that folder), that is quite wrong, first it requires allways adminstrative access to install anything there, and second it's not standard place, which would be something like C:\PythonXX\ (to avoid permission problems).
First thing to you is now to figure out did you managed to mess up Python installation by putting it to incorrect path and fix by removing all components and then installing it to more proper location.
Depending on Python modules you want to use some may require compiling which is not simple under Windows, so if you can use some Linux (or some other unix variant) box or something like virtual machine setting up environment is much easier.
On 30.01.2017 05:05, Danny Jr Chu wrote:
Guys, please help. I am new with Python and Django, I mean I don't have any clue what's going on (don't even know how to encode), but I wish I could build a website out of my imaginary. I know this will goes miles and miles... I am trying to install Django but couple of errors occur :--
PS C:\Users\Luv> easy_install djangoSearching for djangoDownloading https://pypi.python.org/packages/c3/c2/6096bf5d0caa4e3d5b985ac72e3a0c795e37fa7407d6c85460b2a105b467/Django-1.10.5.tar.gz#md5=3fce02f1e6461fec21f1f15ea7489924Best match: Django 1.10.5Processing Django-1.10.5.tar.gzWriting C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\setup.cfgRunning Django-1.10.5\setup.py -q bdist_egg --dist-dir C:\Users\Luv\AppData\Local\Temp\easy_install-5dcbu64l\Django-1.10.5\egg-dist-tmp-k4dzxio3no previously-included directories found matching 'django\contrib\admin\bin'warning: no previously-included files matching '__pycache__' found anywhere in distributioncreating c:\program files (x86)\lib\site-packages\django-1.10.5-py3.6.eggExtracting django-1.10.5-py3.6.egg to c:\program files (x86)\lib\site-packagesAdding django 1.10.5 to easy-install.pth fileInstalling django-admin.py script to c:\program files (x86)\Scriptserror: [Errno 13] Permission denied: 'c:\\program files (x86)\\Scripts\\django-admin.py'
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/86091d59-6578-4e85-9be0-d24beb1f5b84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Jani Tiainen
No comments:
Post a Comment