forked from sraje97/MSTS_FJSP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPythonLibraries.txt
More file actions
22 lines (18 loc) · 852 Bytes
/
Copy pathPythonLibraries.txt
File metadata and controls
22 lines (18 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
H:\Documents\Github\MSTS_FJSP>
python -m venv MEVenv
(MEVenv) H:\Documents\Github\MSTS_FJSP>
python -m pip install --upgrade pip
python -m pip install numpy
python -m pip install pandas
python -m pip install openpyxl
python -m pip install networkx
Use "cls" to clear powershell window
Use "pip freeze > requirements.txt" to create a requirements file for python packages.
Use "pip install -r requirements.txt" to restore those python packages.
May have to use "Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted" in VSCode powershell to open Virtual Environment
Set User settings: Python Path as virtual environment Python
1. Settings
2. User (not Workspace) tab
3. Settings.json
4. "python.defaultInterpreterPath": "\\files.auckland.ac.nz\\myhome\\Documents\\GitHub\\MSTS_FJSP\\MEVenv\\Scripts\\python.exe"
5. Reload VS Code