...
3. Create and activate virtual environment by the x64 Python
Code Block |
---|
C:\Users\<user>\AppData\Local\Programs\Python\Python310-32\python.exe --version Python 3.10.0rc1 C:\Users\<user>\AppData\Local\Programs\Python\Python310-32\python.exe -m venv <venv dir> <venv dir>\Scripts\activate.bat |
4. Copy arm64win Python libs to x64 venv
copy
from
Code Block <pythonarm64 unzipped dir>\libs
to
Code Block <venv dir>
...
1.2. Build machine: WoA = win-arm64
...
Get release version of arm64python
Current latest prerelease build: https://www.nuget.org/packages/pythonarm64/3.10.0-rc2
Rename it to zip
Unzip and use python.exe from that path
Create and activate virtual environment
Code Block <arm64python>\python.exe -m venv <venv dir> <venv dir>\Scripts\activate.bat
Install pre-release arm64win packages
https://linaro.atlassian.net/wiki/spaces/WOAR/pages/28598239406/Python#Custom-pre-release-package-builds-(wheel-files)pip
Code Block <venv> python -m pip install <path to downloaded Pip-21.3.dev0-py3-none-any.whl> <venv> python -m pip install <path to downloaded Pip-21.3.dev0-py3-none-any.whl> --force-reinstall
note: the 2nd force-reinstall is required to generate the arm64win pip executables with the updated distlib of the 1st installation
setuptools
Code Block <venv> pip install <path to downloaded Setuptools-57.4.0.post20210908-py3-none-any.whl>
2. Build the package
...