-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.2.0 Fails to install on Ubuntu 14.04 with easy_install #677
Comments
Same thing when running Considering the stack trace ( edit mistakingly stated that Windows 7 was also making problems here, it doesn't. |
Minimal example of what I described above to reproduce: from setuptools import setup
setup(
name="PSUtil setup test",
version="0.1",
install_requires=["psutil==3.2.0"]
) Saved as
Further digging with checkout and
So the culprit is indeed 8d66475 |
This fixes it too: diff --git a/setup.py b/setup.py
index 8922f0f..150b13f 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ def get_description():
@contextlib.contextmanager
def captured_output(stream_name):
orig = getattr(sys, stream_name)
- setattr(sys, stream_name, io.StringIO())
+ setattr(sys, stream_name, io.BytesIO())
try:
yield getattr(sys, stream_name)
finally: I don't have a Python 3 installation setup anywhere right now to test this against too, hence no PR, only a patch. |
Can you please try e538b23? |
You, that works. Tested with both current |
3.2.1 is out. |
Great work all! |
3.1.1 installs just fine.
When trying 3.2.0
Perhaps I am missing another obvious issue but it seems 3.2.0 has bugs that prevent people from installing it.
The text was updated successfully, but these errors were encountered: