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

Numpy is installed twice #5

Open
ericflores opened this issue Apr 10, 2018 · 3 comments
Open

Numpy is installed twice #5

ericflores opened this issue Apr 10, 2018 · 3 comments

Comments

@ericflores
Copy link
Collaborator

ericflores commented Apr 10, 2018

There is one improvement area that I found. At least for numpy, the docker build spents about 15-20 minutes compiling and installing an old version (not sure why, I think it was version 1.11.x), but tensorflow 1.7.0 requires numpy>1.13.3, so the tensorflow installer got to uninstall the recently installed version and install version 1.14.2. Another 20 minutes (probably less). Not a problem when rebuilding, but it could install faster if minimum version of python packages installed ahead of tensorflow are specified to be closer to what the current version of tensorflow requires.

Tensor flow requisites are down in this page:
https://pypi.python.org/pypi/tensorflow

@elswork
Copy link
Owner

elswork commented Apr 10, 2018

I've tried distinct install combinations, but this is the only one that works for me, but you are welcome to colaborate , I'm sure you are able to find the way to install the required version of numpy and many other improvements.

@ericflores
Copy link
Collaborator Author

Still working on this, and as you observed, any change can break stuff.
FYI, I found out today that pandas doesn't compile when using pip 10.0.0 (latest version).

Others found the same:
pandas-dev/pandas#20666

In the meantime,
pip install --upgrade pip==9.0.3
solves the issue while a fix is implemented.

@elswork
Copy link
Owner

elswork commented Apr 15, 2018

Yes, you are right, I've rebuilded the dockerfile and it doesn't work, I've aplied your fix and it's working ok.
Thanks you for your advice. I would love you accept my invitation to become a collaborator.

@elswork elswork closed this as completed Apr 15, 2018
elswork added a commit that referenced this issue Apr 15, 2018
PIP 10.0.0 doesn't work
Aply suggested fix:
#5 (comment)
@elswork elswork reopened this Apr 15, 2018
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