-
Notifications
You must be signed in to change notification settings - Fork 1
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
Set up virtual environments on ARM64 machines #3
Comments
NickVolynkin
added a commit
that referenced
this issue
Jun 27, 2022
Made as a (partial) replacement for https://github.com/actions/setup-python, particularly for using on ARM64 machines, where setup-python doesn't work. Sometimes we don't need to set up the exact version of Python, but rather need to set up a virtual environment and install a few packages in it. If `virtualenv` is not found in the system, this action will install it with `pip install --user`. This way it will not interfere with system Python packages. Resolve #3
NickVolynkin
added a commit
that referenced
this issue
Jun 27, 2022
Made as a (partial) replacement for https://github.com/actions/setup-python, particularly for using on ARM64 machines, where setup-python doesn't work. Sometimes we don't need to set up the exact version of Python, but rather need to set up a virtual environment and install a few packages in it. If `virtualenv` is not found in the system, this action will install it with `pip install --user`. This way it will not interfere with system Python packages. Resolve #3
7 tasks
NickVolynkin
added a commit
that referenced
this issue
Jun 27, 2022
Made as a (partial) replacement for https://github.com/actions/setup-python, particularly for using on ARM64 machines, where setup-python doesn't work. Sometimes we don't need to set up the exact version of Python, but rather need to set up a virtual environment and install a few packages in it. If `virtualenv` is not found in the system, this action will install it with `pip install --user`. This way it will not interfere with system Python packages. Resolve #3
NickVolynkin
added a commit
that referenced
this issue
Jun 27, 2022
Made as a (partial) replacement for https://github.com/actions/setup-python, particularly for using on ARM64 machines, where setup-python doesn't work. Sometimes we don't need to set up the exact version of Python, but rather need to set up a virtual environment and install a few packages in it. If `virtualenv` is not found in the system, this action will install it with `pip install --user`. This way it will not interfere with system Python packages. Resolve #3
ylobankov
pushed a commit
that referenced
this issue
Jul 26, 2022
Made as a (partial) replacement for https://github.com/actions/setup-python, particularly for using on ARM64 machines, where setup-python doesn't work. Sometimes we don't need to set up the exact version of Python, but rather need to set up a virtual environment and install a few packages in it. If `virtualenv` is not found in the system, this action will install it with `pip install --user`. This way it will not interfere with system Python packages. Resolve #3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Action https://github.com/actions/setup-python doesn't work on ARM64 machines:
There's a possible workaround for macOS but it doesn't work on linux/aarch64. (See actions/setup-python#108 (comment)).
To run Python code on such machines outside of Docker containers, we need a suitable action for setting up a virtual environment.
The text was updated successfully, but these errors were encountered: