forked from respec/HSPsquared
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Virtual Environments - Install & Run HSP2 Python on Windows #55
Comments
|
Inside VSCodeIn VSCode type:
Simple: Activate with gitbash (not powershell)
|
Run hsp2 in interactive session in vscode
|
35 tasks
Set up python 13 venv
|
Setup p10 on Windows in PowerShell
Activate it for use in gitbash shell with py and hsp2
Activate it for use in PowerShell with py and hsp2
|
Run and disable numba, which allows to do without a recompile:
|
Get venv going on linux:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR This method is preferred for running HSP2 on windows because it keeps hsp2 and all of its dependencies installed in a virtual environment using its own python version and package versions. This method is also preferred because it prevents the user from having to make any tweaks to the file
HSPsquared/HSP2/environment.yml
in order to run hsp2. See the bad way to run hsp2 here: #48Quick Reference for running HSP2:
bash: Start Up a virtual environment and cs to HSP2 directory
Setup p10 on Windows in PowerShell
Activate it for use in gitbash shell with py and hsp2
Activate it for use in PowerShell with py and hsp2
Running Full hsp2 executable
Running Command Line Tests in python shell
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --default-timeout=100 -e .
Detailed notes for running HSP2 in virtual environment:
python-3.8.9-amd64.exe
PS C:\Users\nrf46657\virtualenvs>
virtualenv
installedPS C:\Users\nrf46657\virtualenvs> ls hsp2dev_venv\Lib\site-packages
The text was updated successfully, but these errors were encountered: