File tree 5 files changed +9
-13
lines changed
5 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 1
- call conda activate pyMultiCam_env
1
+ call conda activate pmv
2
2
python pyMultiVideo_GUI.pyw
3
3
call conda deactivate
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# $env_path = "$env:USERPROFILE\anaconda3\envs\flir"
2
- $env_path = " $env: USERPROFILE \miniconda3\envs\pyMultiCam_env "
2
+ $env_path = " $env: USERPROFILE \miniconda3\envs\pmv "
3
3
Write-Output " Checking if spinnaker-python is installed in $env_path "
4
4
$package = conda list - p $env_path spinnaker- python
5
5
6
6
if ($package -match " spinnaker-python" ) {
7
7
Write-Output " spinnaker-python is installed in the $env_path environment."
8
8
} else {
9
- # Write-Output "spinnaker_python is not installed in the pyMultiCam_env environment."
9
+ # Write-Output "spinnaker_python is not installed in the pmv environment."
10
10
Write-Output " spinnaker-python is not installed in the $env_path environment."
11
11
exit
12
12
}
Original file line number Diff line number Diff line change @@ -54,17 +54,17 @@ if ($minicondaOutput) {
54
54
55
55
# Create a conda environment in the miniconda path that has been installe.
56
56
try {
57
- Write-Output " Creating pyMultiCam_env for running the applications"
58
- # Create a new environment in Miniconda called pyMultiCam_env
59
- & " $minicondaPath \miniconda3\Scripts\conda.exe" create - n pyMultiCam_env python= 3.10 - y
57
+ Write-Output " Creating pmv for running the applications"
58
+ # Create a new environment in Miniconda called pmv
59
+ & " $minicondaPath \miniconda3\Scripts\conda.exe" create - n pmv python= 3.10 - y
60
60
}
61
61
catch {
62
62
Write-Error " An Error occured whilst trying to make the virtual environment for pyMulitCam."
63
63
}
64
64
65
65
try {
66
- Write-Output " Installing the requirements.txt in the pyMultiCam_env "
67
- & " $minicondaPath \miniconda3\Scripts\conda.exe" run - n pyMultiCam_env pip install - r " ../requirements.txt"
66
+ Write-Output " Installing the requirements.txt in the pmv "
67
+ & " $minicondaPath \miniconda3\Scripts\conda.exe" run - n pmv pip install - r " ../requirements.txt"
68
68
} catch {
69
69
Write-Error " An error occurred while installing the requirements."
70
70
}
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ Get-Process -Id $PID |
109
109
110
110
# Path to program files
111
111
$systemPath = [System.Environment ]::GetFolderPath(' ProgramFiles' )
112
- $envPath = " $systemPath \miniconda3\envs\pyMultiCam_env "
112
+ $envPath = " $systemPath \miniconda3\envs\pmv "
113
113
114
114
# Install spinnaker SDK
115
115
try {
You can’t perform that action at this time.
0 commit comments