-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands
21 lines (16 loc) · 892 Bytes
/
commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Converting pyqt .ui forms to .py:
Template:
pyuic5 -x file.ui -o file_parent.py
pyuic5 -x src/nn_creator/forms/ui/StartWindow.ui -o src/nn_creator/forms/from_ui/StartWindow_parent.py
pyuic5 -x src/nn_creator/forms/ui/CreateProjectWindow.ui -o src/nn_creator/forms/from_ui/CreateProjectWindow_parent.py
pyuic5 -x src/nn_creator/forms/ui/CreateProjectDialog.ui -o src/nn_creator/forms/from_ui/CreateProjectDialog_parent.py
pyuic5 -x src/nn_creator/forms/ui/ProjectWindow.ui -o src/nn_creator/forms/from_ui/ProjectWindow_parent.py
-install project as library (editable mode)
pip install -e .
-create environment
conda create -n [env name] python=[version]
conda create -n nn-creator2 python=3.9
-pycharm terminal crashed issue solution
open powershell as administrator and run command:
Set-ExecutionPolicy Unrestricted
change into pycharm terminal from powershell to command prompt.