Wednesday, January 15, 2014

Re: Can't Install on Windows 8.1

I got it done. Finally. Thanks to all.


On Mon, Jan 6, 2014 at 2:41 AM, Mike Dewhirst <miked@dewhirst.com.au> wrote:
Malik

I'm confused. What are you doing with GAE and Windows 8.1? Have you given up Windows?

Also, I think you will fare better with Pillow rather than PIL. It seems PIL is no longer being supported and Pillow has taken over.

Mike


On 5/01/2014 11:57pm, Malik Rumi wrote:
This is just an update to all of you, and to anyone coming after me with
similar problems. No, I did not get what I wanted for Christmas. It
turns out distribute has been deprecated, and I should have gotten the
"new" setuptools instead. It seems the brilliant minds behind distribute
set up a 'fake' setuptools and deleted pkg_resources. I can't begin to
understand all that. But my upgrade, like so many other things in this
project, has failed. I posted to their mailing list so we'll see what
happens there. I do not have Django or any other accessory up and running.

I did move my install to c:\Python27, and that allowed me to get PIL,
which had failed before, but then GAE decided to insist I use a
python25.dll, which of course caused errors. It seems this is triggered
if the python install is in the default place. How stupid is that?
anyway, I got a patch (not from Google) and my GAE is fine again.
Nevertheless, all this has eaten up a lot of time.

When and if I ever get Django running I'll be back, but I don't expect
to have any Windows problems anymore. Thanks.

On Wednesday, December 25, 2013 4:02:52 PM UTC-6, Felipe Coelho wrote:

    2013/12/25 Malik Rumi <malik....@gmail.com <javascript:>>


        Ok, everything went smoothly and beautifully as promised. I got
        successful install messages for pip, distribute, virtualenv and
        django. So first, thank you both very much.

        However, I seem to be stuck again. I am not sure how to get from
        my new virtualenv to django, and windows seems just as confused.
        When I tried startproject, windows suddenly wanted to know if I
        wanted to keep using python to open .py files, or use notepad or
        some other program? I said python, and then it hiccuped, like it
        was restarting Explorer, and the command line went back to the
        prompt with no evidence it executed the startproject command. I
        looked in the directory, but saw nothing to indicate there was a
        project started. Of course, never having worked with either
        django or virtualenv before, I could have missed it. So I tried
        again.

        ____


        As before, a dialog window opened asking me what program I
        wanted to use. While I was taking a screenshot to save for these
        notes, the dialog went away and the cmd line reported back that
        access was denied. ____


        Then I tried get_version and was told there was no module named
        django, even though just a few lines earlier I was told django
        was successfully installed.

        Here is that last portion from my command line window:

            /C:\Program
            Files\Ampps\python\Scripts>project_sl1\Scripts\activate/

            /(project_sl1) C:\Program Files\Ampps\python\Scripts>pip

            install django/

            /Downloading/unpacking django/

            /  Downloading Django-1.6.1.tar.gz (6.6MB): 6.6MB downloaded/

            /  Running setup.py egg_info for package django/

            /    warning: no previously-included files matching
            '__pycache__' found /


            /under dir/

            /ectory '*'/

            /    warning: no previously-included files matching

            '*.py[co]' found /

            /under direct/

            /ory '*'/

            /Installing collected packages: django/

            /  Running setup.py install for django/

            /    warning: no previously-included files matching
            '__pycache__' found /


            /under dir/

            /ectory '*'/

            /    warning: no previously-included files matching

            '*.py[co]' found /

            /under direct/

            /ory '*'/

            /Successfully installed django/

            /Cleaning up.../

            /
            /

            /(project_sl1) C:\Program

            Files\Ampps\python\Scripts>django-admin.py /

            /
            /

            /startproject/

            / project_sl1/

            /
            /

            /(project_sl1) C:\Program

            Files\Ampps\python\Scripts>django-admin.py /

            /
            /

            /startproject/

            / project_sl1/

            /Access is denied./

            /
            /

            /(project_sl1) C:\Program Files\Ampps\python\Scripts>/


        Just to be clear, I do want to get past this but I also want to
        understand what is going on, so if you can do both, that would
        be great. Do I need to change directories? Try opening a django
        project thrui the django gui? Where / how would I do that?
        Everything I have done so far has been thru the windows command
        line. ____


        Thanx.
        - -


    Instead of trying to  execute django-admin.py directly, explicitly
    tell the prompt that you want to use python:

         python C:\Path\To\django-admin.py startproject project_sl1

    If you have problems with that, try specifying the python
    interpreter directly as well:

         C:\Path\To\Virtualenv\Scripts\python.exe
    C:\Path\To\django-admin.py startproject project_sl1

    Also, it might not be an issue right now, but for your own good,
    make sure everything related to your project (which includes: the
    Python installation, your virtualenv and the project itself) does
    not contain any spaces in the pathnames, it might not be an issue
    right now, but you'll be glad you did this later.


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

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/BAW1U7oKdgM/unsubscribe.
To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/52CA6C2E.7050803%40dewhirst.com.au.

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

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKd6oBwNj23wQdn5sPxo82ffBJxfE7t%3DOZx%3DibUsnqc%2BteEDwA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate