Cleaning up… Removing temporary dir /tmp/pip_build_clube20… Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_clube20/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.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 1230, in prepare_files req_to_install.run_egg_info() File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 326, in run_egg_info command_desc=‘python setup.py egg_info’) File “/usr/lib/python2.7/dist-packages/pip/util.py”, line 715, in call_subprocess % (command_desc, proc.returncode, cwd)) InstallationError: Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_clube20/pycurl
Tks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Try installing Thumbor using easy__install instead of pip. You can install easy_install and Thumbor by using executing the commands below.
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
easy_install thumbor
Heya,
Here’s how you can install Thumbor from the beginning:
Update Your System: It’s always a good idea to begin by updating the package lists for upgrades and new packages.
apt update
apt upgrade
Install Dependencies: Before installing Thumbor, you need to install some dependencies.
sudo apt install -y build-essential autoconf libtool pkg-config python-opencv python-pip python-dev libcurl4-openssl-dev libssl-dev
Install Thumbor
sudo pip install thumbor
thumbor-config > /etc/thumbor.conf
Edit the configuration using:
sudo nano /etc/thumbor.conf
Adjust any settings you need. The configuration file is well commented and explains each setting. Run Thumbor:
You can run Thumbor with:
thumbor -c /etc/thumbor.conf
8888.Instead of manually running Thumbor every time, you can set it up as a systemd service to ensure it’s always running.
sudo nano /etc/systemd/system/thumbor.service
[Unit]
Description=Thumbor Imaging Service
After=network.target
[Service]
User=username
ExecStart=/usr/local/bin/thumbor -c /etc/thumbor.conf
Restart=always
[Install]
WantedBy=multi-user.target
Replace username with your user’s name.
Start and Enable the Service:
sudo systemclt daemon-reload
sudo systemctl start thumbor.service
sudo systemctl enable thumbor.service
Now, Thumbor should be running on your DigitalOcean Droplet, and you can use it to process images as needed.
Note: Always make sure to properly secure your Thumbor instance. There are various security measures you can put in place, including using secure tokens to prevent others from abusing your service. Check Thumbor’s documentation for more details on security best practices.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.