Install Thumbor with error

October 30, 2015 1.4k views
Python Nginx Ubuntu

I had to install thumbor on the server. He is in python. I've done some trial and shows me the error:

Cleaning up...
Removing temporary dir /tmp/pipbuildclube20...
Command python setup.py egginfo failed with error code 1 in /tmp/pipbuildclube20/pycurl
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement
set.preparefiles(finder, forcerootegginfo=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1230, in preparefiles
req
toinstall.runegginfo()
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 326, in run
egginfo
command
desc='python setup.py egginfo')
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 715, in call
subprocess
% (commanddesc, proc.returncode, cwd))
InstallationError: Command python setup.py egg
info failed with error code 1 in /tmp/pipbuildclube20/pycurl

Tks

1 Answer

Try installing Thumbor using easy_install instead of pip. You can install easyinstall and Thumbor by using executing the commands below.

wget https://bootstrap.pypa.io/ez_setup.py -O - | python
easy_install thumbor
  • You also going to have to install the following:

    sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev libcurl4-openssl-dev
    pip install pycurl
    

    Once you have installed the packages above, you should be able to install Thumbor by using pip or easy_install.

Have another answer? Share your knowledge.