Skip to content
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

issues/comments #2

Open
jsbain opened this issue Jan 15, 2016 · 1 comment
Open

issues/comments #2

jsbain opened this issue Jan 15, 2016 · 1 comment

Comments

@jsbain
Copy link

jsbain commented Jan 15, 2016

To get pip working at all, I had to add the line

    sys.stdout.isatty=lambda:False

since StdOutCatcher does not properly implement this.

install docutils gives

No files/directories in /private/var/mobile/Containers/Data/Application/0AF05E1C-7F2F-401F-8730-DA27D9141558/tmp/pip-build-rb0tvf/docutils/pip-egg-info (from PKG-INFO)

@dgelessus
Copy link
Owner

Right, I put a few lines in my pythonista_startup to add fileno and isatty to the standard streams, a few other libraries require this too.

The second error happens with some packages (I noticed it with hachoir-core) though I'm not sure why exactly it happens. When I disable the automatic deletion of temporary files and check the folder mentioned in the error message, there are indeed no files in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants