Django installation issue on Win 7 Pro 64 Bits

22 views
Skip to first unread message

Ivo Roupa

unread,
Sep 25, 2014, 8:17:08 PM9/25/14
to django...@googlegroups.com
Hello,

My OS is Win 7 Pro 64 Bits, I have Python 2.7 correctly installed and I'm trying to install Django 1.7 but I'm getting the following error:

          "c:\Program Files (x86)\Python27\lib\site_packages\win32com\gwn_py\__init__.py: Permission denied."

I forgot to mention that I have Administrator privileges.
I have read several tutorials but I' can't figure out what is going wrong.
Thanks in advance for your help
Kind Regards
Ivo
django.png

peterqi

unread,
Sep 25, 2014, 9:05:19 PM9/25/14
to django...@googlegroups.com
django-users...@googlegroups.com


Date: Thu, 25 Sep 2014 17:17:08 -0700
From: iro...@gmail.com
To: django...@googlegroups.com
Subject: Django installation issue on Win 7 Pro 64 Bits
--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/74a1a560-7493-4a79-a34d-96b1d0e8b7da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike Dewhirst

unread,
Sep 25, 2014, 9:38:06 PM9/25/14
to django...@googlegroups.com
On 26/09/2014 10:17 AM, Ivo Roupa wrote:
> Hello,
>
> My OS is Win 7 Pro 64 Bits, I have Python 2.7 correctly installed and
> I'm trying to install Django 1.7 but I'm getting the following error:
>
> "c:\Program Files
> (x86)\Python27\lib\site_packages\win32com\gwn_py\__init__.py: Permission
> denied."

You need to realise that Microsoft knows what you need better than you
yourself know! In short you need to uninstall Python and put it
somewhere other than in protected parts of the filesystem.

When you re-install select the root of your own user area or C:\Python27
- which is where it used to be installed in previous versions of Windows.

Good luck

Mike

>
> I forgot to mention that I have Administrator privileges.
> I have read several tutorials but I' can't figure out what is going wrong.
> Thanks in advance for your help
> Kind Regards
> Ivo
>
> --
> 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...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> <https://groups.google.com/d/msgid/django-users/74a1a560-7493-4a79-a34d-96b1d0e8b7da%40googlegroups.com?utm_medium=email&utm_source=footer>.

Ezequiel Bertti

unread,
Sep 25, 2014, 11:29:15 PM9/25/14
to django...@googlegroups.com
Try to run your CMD on administration rights, is like sudo on unix system...

http://technet.microsoft.com/pt-br/library/cc947813(v=ws.10).aspx

I think is better install the setup_tools, (easy_install and pip) to install django and another projects in your python.

Try to use jetbrains IDE for python, the pycharm, to help you to create virtualenv and install requirements for your project.


On Thu, Sep 25, 2014 at 10:37 PM, Mike Dewhirst <miked@dewhirst.com.au> wrote:
On 26/09/2014 10:17 AM, Ivo Roupa wrote:
Hello,

My OS is Win 7 Pro 64 Bits, I have Python 2.7 correctly installed and
I'm trying to install Django 1.7 but I'm getting the following error:

           "c:\Program Files
(x86)\Python27\lib\site_packages\win32com\gwn_py\__init__.py: Permission
denied."

You need to realise that Microsoft knows what you need better than you yourself know! In short you need to uninstall Python and put it somewhere other than in protected parts of the filesystem.

When you re-install select the root of your own user area or C:\Python27 - which is where it used to be installed in previous versions of Windows.

Good luck

Mike


I forgot to mention that I have Administrator privileges.
I have read several tutorials but I' can't figure out what is going wrong.
Thanks in advance for your help
Kind Regards
Ivo

--
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

To post to this group, send email to django...@googlegroups.com
--
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...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Ezequiel Bertti
E-Mail: ebertti@gmail.com
Cel: (21) 99188-4860

Ivo Roupa

unread,
Sep 26, 2014, 8:13:22 AM9/26/14
to django...@googlegroups.com
Ezequiel,

I followed your sugestion and run cmd as administrator (which I didn't know it was possible) and everything went fine.
I have already Django installed and working.
I'm already using PyCharm Community 3.4.
Thank you a lot.
Ivo


On Friday, 26 September 2014 04:29:15 UTC+1, Ezequiel Bertti wrote:
Try to run your CMD on administration rights, is like sudo on unix system...

http://technet.microsoft.com/pt-br/library/cc947813(v=ws.10).aspx

I think is better install the setup_tools, (easy_install and pip) to install django and another projects in your python.

Try to use jetbrains IDE for python, the pycharm, to help you to create virtualenv and install requirements for your project.

On Thu, Sep 25, 2014 at 10:37 PM, Mike Dewhirst <mi...@dewhirst.com.au> wrote:
On 26/09/2014 10:17 AM, Ivo Roupa wrote:
Hello,

My OS is Win 7 Pro 64 Bits, I have Python 2.7 correctly installed and
I'm trying to install Django 1.7 but I'm getting the following error:

           "c:\Program Files
(x86)\Python27\lib\site_packages\win32com\gwn_py\__init__.py: Permission
denied."

You need to realise that Microsoft knows what you need better than you yourself know! In short you need to uninstall Python and put it somewhere other than in protected parts of the filesystem.

When you re-install select the root of your own user area or C:\Python27 - which is where it used to be installed in previous versions of Windows.

Good luck

Mike


I forgot to mention that I have Administrator privileges.
I have read several tutorials but I' can't figure out what is going wrong.
Thanks in advance for your help
Kind Regards
Ivo

--
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

To post to this group, send email to django...@googlegroups.com
--
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...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages