インストールして実行しようとしているgithubプロジェクトに出くわしましたが、いくつかの問題が発生しました( https://github.com/andrewschoen/django-cms-demo )。私はこれを問題として提起しましたhttps://github.com/andrewschoen/django-cms-demo/issues/2。
私が正しく理解していれば、問題は PIL のインストールを中心に展開しているようです。
Running setup.py egg_info for package PIL
WARNING: '' not a valid package name; please use only.-separated package na
es in setup.py
requirements.txt の行を次のように変更して、Pillow に「ドロップイン」してみました: 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
私は python と django から始めたばかりで、php から来ました。このプロジェクトを USB ドライブにセットアップしようとしていますが、win7 で作業しています。
ご意見ありがとうございます。
明細書