andrewschoen/django-cms-demo

error on install attempt

Opened this issue · 2 comments

kc1 commented

Hi, I'm unable to install this on the last step. Can you tell me how to fix this? Here is the output:

$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): Django==1.4 in .\env
ib\site-packages (from -r requirements.txt (line 1))
Downloading/unpacking PIL==1.1.7 (from -r requirements.txt (line 2))
Running setup.py egg_info for package PIL
WARNING: '' not a valid package name; please use only.-separated package na
es in setup.py

Downloading/unpacking South==0.7.5 (from -r requirements.txt (line 3))
Running setup.py egg_info for package South

Downloading/unpacking django-classy-tags==0.3.4.1 (from -r requirements.txt (li
e 4))
Running setup.py egg_info for package django-classy-tags

Downloading/unpacking django-cms==2.3 (from -r requirements.txt (line 5))
Running setup.py egg_info for package django-cms

warning: no previously-included files matching '*.pyc' found under director

'*'
Downloading/unpacking django-mptt==0.5.2 (from -r requirements.txt (line 6))
Running setup.py egg_info for package django-mptt

warning: no files found matching '*.json' under directory 'mptt'

Downloading/unpacking django-polymorphic==0.2 (from -r requirements.txt (line 7
)
Running setup.py egg_info for package django-polymorphic

Downloading/unpacking django-reversion==1.6.0 (from -r requirements.txt (line 8
)
Running setup.py egg_info for package django-reversion

Downloading/unpacking django-sekizai==0.6.1 (from -r requirements.txt (line 9))
Running setup.py egg_info for package django-sekizai

Downloading/unpacking easy-thumbnails==1.0.3 (from -r requirements.txt (line 10
)
Running setup.py egg_info for package easy-thumbnails

Downloading/unpacking html5lib==0.95 (from -r requirements.txt (line 11))
Running setup.py egg_info for package html5lib

Downloading/unpacking wsgiref==0.1.2 (from -r requirements.txt (line 12))
Running setup.py egg_info for package wsgiref

Obtaining filer from git+git://github.com/stefanfoulis/django-filer.git#egg=fil
r (from -r requirements.txt (line 15))
Updating .\env\src\filer clone
Running setup.py egg_info for package filer

Obtaining cmsplugin-filer from git+git://github.com/stefanfoulis/cmsplugin-file
.git#egg=cmsplugin-filer (from -r requirements.txt (line 16))
Updating .\env\src\cmsplugin-filer clone
Running setup.py egg_info for package cmsplugin-filer

Downloading/unpacking django-filer>=0.9 (from cmsplugin-filer->-r requirements.
xt (line 16))
Running setup.py egg_info for package django-filer

Installing collected packages: PIL, South, django-classy-tags, django-cms, djan
o-mptt, django-polymorphic, django-reversion, django-sekizai, easy-thumbnails,
tml5lib, wsgiref, filer, cmsplugin-filer, django-filer
Running setup.py install for PIL
WARNING: '' not a valid package name; please use only.-separated package na
es in setup.py
building '_imaging' extension
error: Unable to find vcvarsall.bat
Complete output from command f:\django-cms-demo\env\Scripts\python.exe -c "
mport setuptools;file='f:\django-cms-demo\env\build\PIL\setup.py';exec
compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" instal
--record c:\users\dan\appdata\local\temp\pip-2y8s8s-record\install-record.txt
-single-version-externally-managed --install-headers f:\django-cms-demo\env\inc
ude\site\python2.7:
WARNING: '' not a valid package name; please use only.-separated package na
es in setup.py

running install

running build

running build_py

running build_ext

building '_imaging' extension

error: Unable to find vcvarsall.bat

Looks like you're having troubles installing PIL. I've pushed up some changes to requirements.txt that should make things easier on ya. Pull down the latest and try again. Or, you can just try this change locally and start the install steps over: d969036

kc1 commented

Thanks for looking at it Andrew,

I did a complete reinstall, and I think at least some of the errors have
resolved, However the install failed again. I'm attaching the log. Please
note I am on win7, Here's some more info on this:
http://stackoverflow.com/questions/15142272/warning-not-a-valid-package-name-please-use-only-separated-package-na-es-i/15145006#15145006
.

Regards,

KC

On Thu, Feb 28, 2013 at 6:01 PM, Andrew Schoen notifications@github.comwrote:

Looks like you're having troubles installing PIL. I've pushed up some
changes to requirements.txt that should make things easier on ya. Pull down
the latest and try again. Or, you can just try this change locally and
start the install steps over: d969036d969036


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-14263298
.