Skip to content

build fails when pip installing dependency #3865

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

Closed
jpchen opened this issue Mar 27, 2018 · 4 comments
Closed

build fails when pip installing dependency #3865

jpchen opened this issue Mar 27, 2018 · 4 comments
Labels
Support Support question

Comments

@jpchen
Copy link

jpchen commented Mar 27, 2018

Details

i am trying to install a python library (pytorch) from a wheel i have hosted on an s3 server. i have an install script that i run which has been tested separately. upon fixing rtd specific build problems, the build now errors during the build process when running the command:
python /home/docs/checkouts/readthedocs.org/user_builds/pyro-ppl/envs/docs-upgrade/bin/sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html

the conf.py file (i am using sphinx) has the following relevant lines:

os.system('curl -o install.sh https://gist.githubusercontent.com/jpchen/32325c3e9c9944947dd3f6f1586c5829/raw/77d6208778da7568b50738a8acc57307a2e069a5/tst.sh')
os.system('bash install.sh')
os.system('rm -f install.sh')
@jpchen jpchen closed this as completed Mar 27, 2018
@stsewd
Copy link
Member

stsewd commented Mar 27, 2018

@jpchen hi, why did you close the issue? Were you able to solve the problem?

@jpchen
Copy link
Author

jpchen commented Mar 27, 2018

not really, but i did a workaround, and figured it wasnt worth your time deep diving into it.
what would be really helpful though is to output the immediate commands leading up to the error. if a command errors, that entire command and its output is not outputted in the build log and it becomes hard to debug.

@RichardLitt
Copy link
Member

Interesting. I am going to reopen this until someone from core can look at that suggestion, just to make sure this doesn't get lost because it's in a closed issue. Core person: feel free to close this or open a new issue for logging if you think that makes sense!

@RichardLitt RichardLitt reopened this Mar 28, 2018
@RichardLitt RichardLitt added the Support Support question label Mar 28, 2018
@stsewd
Copy link
Member

stsewd commented Aug 31, 2018

I have opened an issue for that in #4288

@stsewd stsewd closed this as completed Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants