I've come across a github project which I am trying to install and run it but I've run into some problems( https://github.com/andrewschoen/django-cms-demo ). I've also put this up as an issue https://github.com/andrewschoen/django-cms-demo/issues/2 .
The problem appears to revolve around installing PIL, if I understand correctly:
Running setup.py egg_info for package PIL
WARNING: '' not a valid package name; please use only.-separated package na
es in setup.py
I tried 'dropping in' Pillow by changing the line in requirements.txt to: Pillow==1.7.8
$ pip install -r requirements.txt
............
copying PIL\XVThumbImagePlugin.py -> build\lib.win32-2.7\PIL
running build_ext
building '_imaging' extension
f:\python27\Lib\distutils\dist.py:267: UserWarning: Unknown distribution option:
'use_2to3'
warnings.warn(msg)
error: Unable to find vcvarsall.bat
----------------------------------------
Command f:\django-cms-demo\env\Scripts\python.exe -c "import setuptools;__file__
='f:\\django-cms-demo\\env\\build\\Pillow\\setup.py';exec(compile(open(__file__)
.read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\dni
r\appdata\local\temp\pip-cjnff6-record\install-record.txt --single-version-exter
nally-managed --install-headers f:\django-cms-demo\env\include\site\python2.7 fa
iled with error code 1 in f:\django-cms-demo\env\build\Pillow
Storing complete log in m:/pip\pip.log
I'm just starting with python and django , having come from php. I'm trying to set this project up on a USB drive, and I'm working on win7.
Thanks in advance for your thoughts,
Bill