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

Test the TensorFlow installation location using inspect #703

Merged
merged 1 commit into from
Jan 7, 2016

Conversation

eerwitt
Copy link
Contributor

@eerwitt eerwitt commented Jan 6, 2016

While testing an installation I executed python -c 'import site; print("\n".join(site.getsitepackages()))' from within a virtualenv environment. This raised the same error mentioned in #392.

According to pypa/virtualenv#355 this is an issue with their custom site implementation and may not be updated soon.

I updated the command in the documentation to output the directory where TensorFlow is installed using inspect.

import os
import inspect
import tensorflow

print(os.path.dirname(inspect.getfile(tensorflow)))

@tensorflow-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

2 similar comments
@tensorflow-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@tensorflow-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@martinwicke
Copy link
Member

Can you squash your commits?

@martinwicke martinwicke self-assigned this Jan 7, 2016
@eerwitt eerwitt force-pushed the check-sitepackages-in-virtualenv branch from 01b246f to 8d6a6c3 Compare January 7, 2016 02:13
vrv pushed a commit that referenced this pull request Jan 7, 2016
Test the TensorFlow installation location using inspect
@vrv vrv merged commit 63bddb3 into tensorflow:master Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants