vault backup: 2023-08-16 14:50:18
This commit is contained in:
parent
166792292d
commit
42fe752952
17
06-DCC/Blender/Blender Python笔记.md
Normal file
17
06-DCC/Blender/Blender Python笔记.md
Normal file
@ -0,0 +1,17 @@
|
||||
# 使用Pyside6以及非基础模块
|
||||
安装Pyside6
|
||||
```
|
||||
pip install PySide6
|
||||
```
|
||||
默认情况下需要添加路径才能调用下载的库,执行以下代码即可:
|
||||
```python
|
||||
import sys
|
||||
import pathlib
|
||||
my_python_path = "C:\Python311\Lib\site-packages"
|
||||
sys.path.insert(0, my_python_path)
|
||||
```
|
||||
## 其他模块
|
||||
对于一些非基础模块,比如PySide6.QtWebSockets,需要执行以下命令进行安装:
|
||||
```bash
|
||||
pip install PySide6-Addons
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user