Schritte:
Code: Select all
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
Es heißt:
Code: Select all
Traceback (most recent call last):
File "PATH", line 1, in
from PySide6.QtPdf import QPdfDocument
ModuleNotFoundError: No module named 'PySide6.QtPdf'
Code: Select all
from PySide6.QtPdf import QPdfDocument
print("Imported!")
Info:
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
Betriebssystem: win11
Mobile version