Шаги:
Код: Выделить всё
conda create -n xxxx python=3.10.19
conda activate xxxx
conda install -c conda-forge pythonocc-core
conda install -c conda-forge pyside6
conda install -c conda-forge pandas
conda install -c conda-forge openpyxl
В нем говорится:
Код: Выделить всё
Traceback (most recent call last):
File "PATH", line 1, in
from PySide6.QtPdf import QPdfDocument
ModuleNotFoundError: No module named 'PySide6.QtPdf'
Код: Выделить всё
from PySide6.QtPdf import QPdfDocument
print("Imported!")
Информация:
Pyside6 - 6.8.3
qt6-main 6.8.3
PythonOCC - 7.9.0
Openpyxl - 3.1.5
Pandas — 2.3.3
Python — 3.10.19
conda 25.5.1
ОС: win11
Подробнее здесь: https://stackoverflow.com/questions/798 ... nvironment
Мобильная версия