"Use Fabric for repeatable installations", I repeat.
On Mon, Mar 3, 2014 at 9:47 PM, Tom Brander <[email protected]> wrote: > Looks like you are missing the C compiler and perhaps the associated dev > tools library... > > > On Monday, March 3, 2014 2:40:17 PM UTC-6, Tabs wrote: >> >> Hi Mezzanine community, >> >> I am new to the Framework and I am trying to Setup a simple site using >> it. >> I am following the instructions posted here () and Setting up everything >> using Vagrant as virtualization Environment. Everything was going fine >> until I tried to install Mezzanine. >> >> When running (sudo) pip install Mezzanine, I get an error on Pillow. >> This >> is the last part of the log where the error appears. Any ideas on how to >> fix it? >> >> Requirement already satisfied (use --upgrade to upgrade): future==0.9.0 >> in /home >> /vagrant/.virtualenvs/blog/lib/python2.7/site-packages (from mezzanine) >> Downloading/unpacking pillow (from mezzanine) >> Running setup.py egg_info for package pillow >> >> Downloading/unpacking pytz (from tzlocal==1.0->mezzanine) >> Running setup.py egg_info for package pytz >> >> warning: no files found matching '*.pot' under directory 'pytz' >> warning: no previously-included files found matching 'test_zdump.py' >> Requirement already satisfied (use --upgrade to upgrade): six >> in /home/vagrant/. >> virtualenvs/blog/lib/python2.7/site-packages (from >> bleach>=1.4->mezzanine) >> Downloading/unpacking html5lib>=0.999 (from bleach>=1.4->mezzanine) >> Running setup.py egg_info for package html5lib >> >> Downloading/unpacking oauthlib>=0.4.2 (from requests- >> oauthlib>=0.4->mezzanine) >> Running setup.py egg_info for package oauthlib >> >> Installing collected packages: pillow, pytz, html5lib, oauthlib >> Running setup.py install for pillow >> >> building 'PIL._imaging' extension >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall >> -Wstrict-pro >> totypes -fPIC -DHAVE_LIBZ >> -I/home/vagrant/.virtualenvs/blog/build/pillow/libImag >> ing -I/home/vagrant/.virtualenvs/blog/include -I/usr/local/include >> -I/usr/includ >> e -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux- >> i686-2.7/_imaging.o >> >> _imaging.c:76:20: fatal error: Python.h: No such file or directory >> compilation terminated. >> error: command 'gcc' failed with exit status 1 >> Complete output from command /home/vagrant/.virtualenvs/blog/bin/python >> >> -c " >> import >> setuptools;__file__='/home/vagrant/.virtualenvs/blog/build/pillow/setup.p >> >> y';exec(compile(open(__file__).read().replace('\r\n', '\n'), >> __file__, 'exec'))" >> install --single-version-externally-managed --record /tmp/pip-gXn3KB- >> record/ins >> tall-record.txt --install- >> headers /home/vagrant/.virtualenvs/blog/include/site/p >> ython2.7: >> running install >> >> running build >> >> running build_py >> >> 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' >> >> writing manifest file 'Pillow.egg-info/SOURCES.txt' >> >> running build_ext >> >> building 'PIL._imaging' extension >> >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict- >> prototy >> pes -fPIC -DHAVE_LIBZ >> -I/home/vagrant/.virtualenvs/blog/build/pillow/libImaging >> -I/home/vagrant/.virtualenvs/blog/include -I/usr/local/include >> -I/usr/include -I >> /usr/include/python2.7 -c _imaging.c -o build/temp.linux-i686-2.7/_imaging.o >> >> >> _imaging.c:76:20: fatal error: Python.h: No such file or directory >> >> compilation terminated. >> >> error: command 'gcc' failed with exit status 1 >> >> ---------------------------------------- >> Command /home/vagrant/.virtualenvs/blog/bin/python -c "import >> setuptools;__file_ >> _='/home/vagrant/.virtualenvs/blog/build/pillow/setup.py';exec(compile(open >> >> (__fi >> le__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single- >> version >> -externally-managed --record /tmp/pip-gXn3KB-record/install-record.txt >> --install >> -headers /home/vagrant/.virtualenvs/blog/include/site/python2.7 failed >> with >> erro >> r code 1 in /home/vagrant/.virtualenvs/blog/build/pillow >> Storing complete log in /home/vagrant/.pip/pip.log >> (blog)vagrant@precise32:~/.virtualenvs/blog/bin$ dpkg-query -l *python* >> Desired=Unknown/Install/Remove/Purge/Hold >> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig- >> >> pend >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) >> ||/ Name Version Description >> +++-==============-==============- >> ============================================ >> ii python 2.7.3-0ubuntu2 interactive high-level object-oriented >> langu >> (blog)vagrant@precise32:~/.virtualenvs/blog/bin$ >> >> By any case, is there any other site that instructs how to Setup the >> whole >> Thing using Windows? I think it would be faster for me. >> >> Thanks in advance >> >> -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
