PyCharm Unable to Install Mezzanine

396 views
Skip to first unread message

Neil Chaudhuri

unread,
Jun 28, 2014, 2:07:39 AM6/28/14
to mezzani...@googlegroups.com
I have been having a heck of a time getting PyCharm to play nicely with Mezzanine. When I try to get PyCharm to install Mezzanine after a project import, I get this:

Error occurred when installing packages.

The following command was executed:

packaging_tool.py install --build-dir /private/var/folders/v2/tzl9js915hn6nvxqd5qdkgsm0000gn/T/pycharm-packaging7417807508859033420.tmp Mezzanine==3.1.5

The error output of the command:


Downloading/unpacking Mezzanine==3.1.5
  Running setup.py egg_info for package Mezzanine
    
    warning: no previously-included files matching '*' found under directory 'docs/build'
    warning: no previously-included files matching '*' found under directory '*/project_template/static'
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/commands/install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 1139, in prepare_files
    req_to_install.assert_source_matches_version()
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 394, in assert_source_matches_version
    version = self.installed_version
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 390, in installed_version
    return self.pkg_info()['version']
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 357, in pkg_info
    data = self.egg_info_data('PKG-INFO')
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 297, in egg_info_data
    data = fp.read()
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16373: ordinal not in range(128)


I know this may not be the best place to ask, but I thought I would see if this made sense to anyone and/or if anyone can share their experiences importing a Mezzanine codebase into PyCharm.

Thanks.

chuck

unread,
Oct 28, 2014, 4:25:08 PM10/28/14
to mezzani...@googlegroups.com
I also ran into an error. Below is the 'dump' from my attempt. Would know
to know to get around this.

Install packages failed: Error occurred when installing package Mezzanine.

The following command was executed:

packaging_tool.py install --build-dir
C:\Users\cmedcoff\AppData\Local\Temp\pycharm-
packaging2251339524416707976.tmp Mezzanine

The error output of the command:


Downloading/unpacking Mezzanine
Running setup.py egg_info for package Mezzanine

warning: no previously-included files matching '*' found under
directory 'docs\build'
warning: no previously-included files matching '*' found under
directory '*\project_template\static'
Downloading/unpacking django>=1.4.10,!=1.6.0,<1.7 (from Mezzanine)
Running setup.py egg_info for package django

warning: no previously-included files matching '__pycache__' found
under directory '*'
warning: no previously-included files matching '*.py[co]' found under
directory '*'
Downloading/unpacking filebrowser-safe>=0.3.4 (from Mezzanine)
Running setup.py egg_info for package filebrowser-safe

Downloading/unpacking grappelli-safe>=0.3.12 (from Mezzanine)
Running setup.py egg_info for package grappelli-safe

warning: no files found matching '*.json' under
directory 'grappelli_safe\models\fixtures'
Downloading/unpacking tzlocal==1.0 (from Mezzanine)
Downloading tzlocal-1.0.zip
Running setup.py egg_info for package tzlocal

Downloading/unpacking bleach>=1.4 (from Mezzanine)
Downloading bleach-1.4.tar.gz
Running setup.py egg_info for package bleach

Downloading/unpacking beautifulsoup4==4.1.3 (from Mezzanine)
Running setup.py egg_info for package beautifulsoup4

Downloading/unpacking requests>=2.1.0 (from Mezzanine)
Running setup.py egg_info for package requests

Downloading/unpacking requests-oauthlib>=0.4 (from Mezzanine)
Running setup.py egg_info for package requests-oauthlib

Downloading/unpacking future==0.9.0 (from Mezzanine)
Running setup.py egg_info for package future

Downloading/unpacking pillow (from Mezzanine)
Running setup.py egg_info for package pillow
Single threaded build, not installing mp_compile: 4 processes

warning: no files found matching '*.yaml'
warning: no files found matching '*.bdf' under directory 'Images'
warning: no files found matching '*.fli' under directory 'Images'
warning: no files found matching '*.gif' under directory 'Images'
warning: no files found matching '*.icns' under directory 'Images'
warning: no files found matching '*.ico' under directory 'Images'
warning: no files found matching '*.jpg' under directory 'Images'
warning: no files found matching '*.pbm' under directory 'Images'
warning: no files found matching '*.pil' under directory 'Images'
warning: no files found matching '*.png' under directory 'Images'
warning: no files found matching '*.ppm' under directory 'Images'
warning: no files found matching '*.psd' under directory 'Images'
warning: no files found matching '*.tar' under directory 'Images'
warning: no files found matching '*.webp' under directory 'Images'
warning: no files found matching '*.xpm' under directory 'Images'
warning: no files found matching 'README' under directory 'Sane'
warning: no files found matching 'README' under directory 'Scripts'
warning: no files found matching '*.icm' under directory 'Tests'
warning: no files found matching '*.txt' under directory 'Tk'
Downloading/unpacking pytz (from tzlocal==1.0->Mezzanine)
Running setup.py egg_info for package pytz

Downloading/unpacking six (from bleach>=1.4->Mezzanine)
Downloading six-1.8.0.tar.gz
Running setup.py egg_info for package six

no previously-included directories found matching 'documentation\_build'
Downloading/unpacking html5lib>=0.999 (from bleach>=1.4->Mezzanine)
Running setup.py egg_info for package html5lib

Downloading/unpacking oauthlib>=0.6.2 (from requests-
oauthlib>=0.4->Mezzanine)
Running setup.py egg_info for package oauthlib

Installing collected packages: Mezzanine, django, filebrowser-safe,
grappelli-safe, tzlocal, bleach, beautifulsoup4, requests, requests-
oauthlib, future, pillow, pytz, six, html5lib, oauthlib
Running setup.py install for Mezzanine

warning: no previously-included files matching '*' found under
directory 'docs\build'
warning: no previously-included files matching '*' found under
directory '*\project_template\static'
Installing mezzanine-project-script.py script to
C:\Users\cmedcoff\MezzVE\Scripts
Installing mezzanine-project.exe script to
C:\Users\cmedcoff\MezzVE\Scripts
Running setup.py install for django

warning: no previously-included files matching '__pycache__' found
under directory '*'
warning: no previously-included files matching '*.py[co]' found under
directory '*'
Running setup.py install for filebrowser-safe

Running setup.py install for grappelli-safe

warning: no files found matching '*.json' under
directory 'grappelli_safe\models\fixtures'
Running setup.py install for tzlocal

Running setup.py install for bleach

Running setup.py install for beautifulsoup4

Running setup.py install for requests

Running setup.py install for requests-oauthlib

Running setup.py install for future

Installing futurize-script.py script to C:\Users\cmedcoff\MezzVE\Scripts
Installing futurize.exe script to C:\Users\cmedcoff\MezzVE\Scripts
Running setup.py install for pillow
Single threaded build, not installing mp_compile: 4 processes

warning: no files found matching '*.yaml'
warning: no files found matching '*.bdf' under directory 'Images'
warning: no files found matching '*.fli' under directory 'Images'
warning: no files found matching '*.gif' under directory 'Images'
warning: no files found matching '*.icns' under directory 'Images'
warning: no files found matching '*.ico' under directory 'Images'
warning: no files found matching '*.jpg' under directory 'Images'
warning: no files found matching '*.pbm' under directory 'Images'
warning: no files found matching '*.pil' under directory 'Images'
warning: no files found matching '*.png' under directory 'Images'
warning: no files found matching '*.ppm' under directory 'Images'
warning: no files found matching '*.psd' under directory 'Images'
warning: no files found matching '*.tar' under directory 'Images'
warning: no files found matching '*.webp' under directory 'Images'
warning: no files found matching '*.xpm' under directory 'Images'
warning: no files found matching 'README' under directory 'Sane'
warning: no files found matching 'README' under directory 'Scripts'
warning: no files found matching '*.icm' under directory 'Tests'
warning: no files found matching '*.txt' under directory 'Tk'
--- using Tcl/Tk libraries at C:\python27\Tcl
--- using Tcl/Tk version 8.5
building 'PIL._imaging' extension
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\cmedcoff\AppData\Local\Temp\pycharm-
packaging2251339524416707976.tmp\pillow\setup.py", line 757, in <module>
zip_safe=True,
File "C:\Python27\Lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python27\Lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Users\cmedcoff\MezzVE\lib\site-
packages\setuptools\command\install.py", line 53, in run
return _install.run(self)
File "C:\Python27\Lib\distutils\command\install.py", line 563, in run
self.run_command('build')
File "C:\Python27\Lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\Lib\distutils\command\build.py", line 127, in run
self.run_command(cmd_name)
File "C:\Python27\Lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\Lib\distutils\command\build_ext.py", line 337, in
run
self.build_extensions()
File "C:\Users\cmedcoff\AppData\Local\Temp\pycharm-
packaging2251339524416707976.tmp\pillow\setup.py", line 613, in
build_extensions
build_ext.build_extensions(self)
File "C:\Python27\Lib\distutils\command\build_ext.py", line 446, in
build_extensions
self.build_extension(ext)
File "C:\Python27\Lib\distutils\command\build_ext.py", line 496, in
build_extension
depends=ext.depends)
File "C:\Python27\Lib\distutils\msvc9compiler.py", line 473, in
compile
self.initialize()
File "C:\Python27\Lib\distutils\msvc9compiler.py", line 383, in
initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "C:\Python27\Lib\distutils\msvc9compiler.py", line 299, in
query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: [u'path']
Complete output from command
C:\Users\cmedcoff\MezzVE\Scripts\python.exe -c "import
setuptools;__file__='C:\\Users\\cmedcoff\\AppData\\Local\\Temp\\pycharm-
packaging2251339524416707976.tmp\\pillow\\setup.py';exec(compile(open
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record c:\users\cmedcoff\appdata\local\temp\pip-5u3ptb-record\install-
record.txt --single-version-externally-managed --install-headers
C:\Users\cmedcoff\MezzVE\include\site\python2.7:
Single threaded build, not installing mp_compile: 4 processes

running install

running build

running build_py

creating build

creating build\lib.win-amd64-2.7

creating build\lib.win-amd64-2.7\PIL

copying PIL\BdfFontFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\BmpImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ContainerIO.py -> build\lib.win-amd64-2.7\PIL

copying PIL\CurImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\DcxImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\EpsImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ExifTags.py -> build\lib.win-amd64-2.7\PIL

copying PIL\FitsStubImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\FliImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\FontFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\FpxImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\GbrImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\GdImageFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\GifImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\GimpGradientFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\GimpPaletteFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\GribStubImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\Hdf5StubImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\IcnsImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\IcoImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\Image.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageChops.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageCms.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageColor.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageDraw.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageDraw2.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageEnhance.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageFileIO.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageFilter.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageFont.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageGrab.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageMath.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageMode.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageMorph.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageOps.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImagePalette.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImagePath.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageQt.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageSequence.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageShow.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageStat.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageTk.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageTransform.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImageWin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\ImtImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\IptcImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\Jpeg2KImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\JpegImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\JpegPresets.py -> build\lib.win-amd64-2.7\PIL

copying PIL\McIdasImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\MicImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\MpegImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\MpoImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\MspImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\OleFileIO.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PaletteFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PalmImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PcdImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PcfFontFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PcxImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PdfImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PixarImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PngImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PpmImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PsdImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PSDraw.py -> build\lib.win-amd64-2.7\PIL

copying PIL\PyAccess.py -> build\lib.win-amd64-2.7\PIL

copying PIL\SgiImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\SpiderImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\SunImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\TarIO.py -> build\lib.win-amd64-2.7\PIL

copying PIL\TgaImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\TiffImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\TiffTags.py -> build\lib.win-amd64-2.7\PIL

copying PIL\WalImageFile.py -> build\lib.win-amd64-2.7\PIL

copying PIL\WebPImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\WmfImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\XbmImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\XpmImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\XVThumbImagePlugin.py -> build\lib.win-amd64-2.7\PIL

copying PIL\_binary.py -> build\lib.win-amd64-2.7\PIL

copying PIL\_util.py -> build\lib.win-amd64-2.7\PIL

copying PIL\__init__.py -> build\lib.win-amd64-2.7\PIL

running egg_info

writing Pillow.egg-info\PKG-INFO

writing top-level names to Pillow.egg-info\top_level.txt

writing dependency_links to Pillow.egg-info\dependency_links.txt

warning: manifest_maker: standard file '-c' not found



reading manifest file 'Pillow.egg-info\SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: no files found matching '*.yaml'

warning: no files found matching '*.bdf' under directory 'Images'

warning: no files found matching '*.fli' under directory 'Images'

warning: no files found matching '*.gif' under directory 'Images'

warning: no files found matching '*.icns' under directory 'Images'

warning: no files found matching '*.ico' under directory 'Images'

warning: no files found matching '*.jpg' under directory 'Images'

warning: no files found matching '*.pbm' under directory 'Images'

warning: no files found matching '*.pil' under directory 'Images'

warning: no files found matching '*.png' under directory 'Images'

warning: no files found matching '*.ppm' under directory 'Images'

warning: no files found matching '*.psd' under directory 'Images'

warning: no files found matching '*.tar' under directory 'Images'

warning: no files found matching '*.webp' under directory 'Images'

warning: no files found matching '*.xpm' under directory 'Images'

warning: no files found matching 'README' under directory 'Sane'

warning: no files found matching 'README' under directory 'Scripts'

warning: no files found matching '*.icm' under directory 'Tests'

warning: no files found matching '*.txt' under directory 'Tk'

writing manifest file 'Pillow.egg-info\SOURCES.txt'

copying PIL\OleFileIO-README.md -> build\lib.win-amd64-2.7\PIL

running build_ext

--- using Tcl/Tk libraries at C:\python27\Tcl

--- using Tcl/Tk version 8.5

building 'PIL._imaging' extension

Traceback (most recent call last):

File "<string>", line 1, in <module>

File "C:\Users\cmedcoff\AppData\Local\Temp\pycharm-
packaging2251339524416707976.tmp\pillow\setup.py", line 757, in <module>

zip_safe=True,

File "C:\Python27\Lib\distutils\core.py", line 151, in setup

dist.run_commands()

File "C:\Python27\Lib\distutils\dist.py", line 953, in run_commands

self.run_command(cmd)

File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command

cmd_obj.run()

File "C:\Users\cmedcoff\MezzVE\lib\site-
packages\setuptools\command\install.py", line 53, in run

return _install.run(self)

File "C:\Python27\Lib\distutils\command\install.py", line 563, in run

self.run_command('build')

File "C:\Python27\Lib\distutils\cmd.py", line 326, in run_command

self.distribution.run_command(command)

File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command

cmd_obj.run()

File "C:\Python27\Lib\distutils\command\build.py", line 127, in run

self.run_command(cmd_name)

File "C:\Python27\Lib\distutils\cmd.py", line 326, in run_command

self.distribution.run_command(command)

File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command

cmd_obj.run()

File "C:\Python27\Lib\distutils\command\build_ext.py", line 337, in run

self.build_extensions()

File "C:\Users\cmedcoff\AppData\Local\Temp\pycharm-
packaging2251339524416707976.tmp\pillow\setup.py", line 613, in
build_extensions

build_ext.build_extensions(self)

File "C:\Python27\Lib\distutils\command\build_ext.py", line 446, in
build_extensions

self.build_extension(ext)

File "C:\Python27\Lib\distutils\command\build_ext.py", line 496, in
build_extension

depends=ext.depends)

File "C:\Python27\Lib\distutils\msvc9compiler.py", line 473, in compile

self.initialize()

File "C:\Python27\Lib\distutils\msvc9compiler.py", line 383, in initialize

vc_env = query_vcvarsall(VERSION, plat_spec)

File "C:\Python27\Lib\distutils\msvc9compiler.py", line 299, in
query_vcvarsall

raise ValueError(str(list(result.keys())))

ValueError: [u'path']

----------------------------------------
Cleaning up...
Command C:\Users\cmedcoff\MezzVE\Scripts\python.exe -c "import
setuptools;__file__='C:\\Users\\cmedcoff\\AppData\\Local\\Temp\\pycharm-
packaging2251339524416707976.tmp\\pillow\\setup.py';exec(compile(open
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record c:\users\cmedcoff\appdata\local\temp\pip-5u3ptb-record\install-
record.txt --single-version-externally-managed --install-headers
C:\Users\cmedcoff\MezzVE\include\site\python2.7 failed with error code 1 in
C:\Users\cmedcoff\AppData\Local\Temp\pycharm-
packaging2251339524416707976.tmp\pillow
Storing complete log in C:\Users\cmedcoff\pip\pip.log



Danny

unread,
Oct 28, 2014, 4:34:35 PM10/28/14
to mezzani...@googlegroups.com
On 29/10/2014 6:53 AM, chuck wrote:
> I also ran into an error. Below is the 'dump' from my attempt. Would know
> to know to get around this.
>
> Install packages failed: Error occurred when installing package Mezzanine.
>

<snip>

> building 'PIL._imaging' extension

It seems to fall over when building PIL/pillow, as the traceback shows.

The actual ValueError is being thrown from within the distutils there,
when it's looking for the MSVC compiler, trying to find a vcvarsall.bat
to run.

Do you have Microsoft Visual C++ installed? If not, download the Express
version (I guess 2012 or 2013, whatever's the latest) and install it
and see if you can install pillow first, before trying for Mezzanine.

I've not tried running Mezzanine on Windows before, but it's probably
possible (it's much easier on Linux, however).

It might be that pillow doesn't build with the latest MSVC++ which might
mean you need to find an older version (like 2010), which is a bit
trickier to find via Microsoft's website.

Hope this helps.

Seeya. Danny.
--
Email: mol...@gmail.com

T Kwn

unread,
Oct 28, 2014, 5:55:52 PM10/28/14
to mezzani...@googlegroups.com
I recommend using Vagrant. I'm using Pycharm on windows also but have problems with various libraries. PIL is one of them. Using Vagrant and hence Linux made my life a lot easier.


chuck

unread,
Oct 28, 2014, 8:40:50 PM10/28/14
to mezzani...@googlegroups.com
Thank you much. I was doing the install via PyCharm's Project Interpreter
window which allows one to add packages via gui by clicking "+" which
brings up an "Available Packages" window where you search/find, pick
and "install" packages. Per your suggestion, I instead created a project.
The project was setup to point to a virtual env project interpreter. I
used "PyCharm's" open terminal and performed a "pip install Pillow". I then
removed the previous failed Mezzanine and reinstalled with now errors.

I've yet to create a usable Django project (site) but at least I'm past the
install errors. Thanks.

--chuck

Ken Bolton

unread,
Oct 28, 2014, 8:53:52 PM10/28/14
to mezzanine-users
I will (predictably) second tdkown's recommendation to virtualize. Developing locally is just too burdensome. Hit me off-list if you want coaching to get you there.

ken


--
You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages