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

Fix Python38 Installation Issue #55

Open
wants to merge 12 commits into
base: PublicCI
Choose a base branch
from

Conversation

wei-v-wang
Copy link

Previous method encounters apt get issue, most likely the python38 package was removed from the repository (targeting ARM architecture).

@wei-v-wang
Copy link
Author

https://tensorflow-ci.intel.com/view/Monitor%20These/ shows blue status for all jobs.

./configure --enable-optimizations --with-ensurepip=install --prefix=/usr/
make altinstall
rm /usr/src/Python-3.8.2.tgz
rm -rf /usr/src/Python-3.8.2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to add a link so /usr/bin/python point to this new python3.8?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does not seem necessary. What is the benefit of letting /usr/bin/python point to python3.8?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 0
This step was run in the docker file, so no need to do in this file.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good


cd /usr/src
wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz
tar xzf Python-3.8.2.tgz
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From Google's container tensorflow/tensorflow:devel, they're using Python 3.8.10, do we want to install the same version as they have just for consistence?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will update to 3.8.10 and re-test for a while.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wei-v-wang and others added 9 commits January 21, 2022 13:48
Bump up bazel version to 5.1.0
Update bazel to 5.1.1
Changed Dockerfile to pull from Ubuntu 18.04 and removed third party cmake repo.
Changed Dockerfile to pull from Ubuntu 18.04 and removed third party cmake repo.
Container from Ubuntu 18.04 and cmake fix
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

Successfully merging this pull request may close these issues.

3 participants