I want to install setuptools according to the web. https://pypi.python.org/pypi/setuptools/#unix-wget In my vps console: root@online:~# python3 Python 3.4.0 (default, Oct 22 2014, 09:59:53) [GCC 4.7.2] on linux Type “help”, “copyright”, “credits” or “license” for more information.
exit()
root@online:~# wget https://bootstrap.pypa.io/ez_setup.py -O - | python3
–2014-10-22 11:42:56-- https://bootstrap.pypa.io/ez_setup.py
Resolving bootstrap.pypa.io (bootstrap.pypa.io)… 103.245.222.175
Extracting in /tmp/tmpyj3d9_kc
Traceback (most recent call last):
File “<stdin>”, line 332, in <module>
File “<stdin>”, line 329, in main
File “<stdin>”, line 51, in _install
File “/usr/local/python3.4/lib/python3.4/contextlib.py”, line 59, in enter
return next(self.gen)
File “<stdin>”, line 101, in archive_context
File “/usr/local/python3.4/lib/python3.4/zipfile.py”, line 1240, in extractall
self.extract(zipinfo, path, pwd)
File “/usr/local/python3.4/lib/python3.4/zipfile.py”, line 1228, in extract
return self._extract_member(member, path, pwd)
File “/usr/local/python3.4/lib/python3.4/zipfile.py”, line 1290, in _extract_member
with self.open(member, pwd=pwd) as source,
File “/usr/local/python3.4/lib/python3.4/zipfile.py”, line 1210, in open
close_fileobj=not self._filePassed)
File “/usr/local/python3.4/lib/python3.4/zipfile.py”, line 651, in init
self._decompressor = _get_decompressor(self._compress_type)
File “/usr/local/python3.4/lib/python3.4/zipfile.py”, line 614, in _get_decompressor
return zlib.decompressobj(-15)
AttributeError: ‘NoneType’ object has no attribute ‘decompressobj’
How can i install the setuptools on my debian7+python3?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Why don’t you install python3-setuptools or python-setuptools? They both are available in the repository.
My application is writen in python3 , it should be python3 installed in my droplet.
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
