Skip to content

Conversation

@JoepdeJong
Copy link
Contributor

@JoepdeJong JoepdeJong commented Jan 28, 2023

I've updated the code to use PyQt6 instead of PyQt5. This resolves compatibility issues on M1 and M2 Macbooks. Tricks with Rosette are not needed anymore.

@JoepdeJong JoepdeJong changed the title Update to PyQt6 (Fix for M1 and M2 OS X) Update GUI to PyQt6 (Fix for M1 and M2 OS X) Jan 28, 2023
@lukas-blecher
Copy link
Owner

I can't seem to get pyqt6 to work on my machine. Thanks for the contribution.

I'll come back to you at a later time.
Related #100 #234 #205 #230

@JoepdeJong
Copy link
Contributor Author

I can't seem to get pyqt6 to work on my machine. Thanks for the contribution.

Do you have a Unix based system? If you want, I can send you some setup commands if you are running it in an virtual environment.

@lukas-blecher
Copy link
Owner

Currently working from a windows machine.
But sure, I'll give it a shot. Had some version conflicts as well, so could you please include the versions?
Thanks!

@JoepdeJong
Copy link
Contributor Author

Will do. I'll send you an update today or tomorrow!

@mccg8447
Copy link

mccg8447 commented Feb 2, 2023

After modification, it works perfectly, great!

@lxomb
Copy link

lxomb commented Feb 2, 2023

It works perfectly from here (M1 macOS), thx for the fix!
Btw, it looks like pyside6-essentials is not automatically installed with pip, so there maybe some missing entries in setup.py.

@JoepdeJong
Copy link
Contributor Author

JoepdeJong commented Feb 2, 2023

Had some version conflicts as well, so could you please include the versions?

Sorry for the delay. Hereby my versions retrieved using pip freeze:

albumentations==1.3.0
certifi==2022.12.7
charset-normalizer==3.0.1
Cython==0.29.33
einops==0.6.0
entmax==1.1
filelock==3.9.0
huggingface-hub==0.12.0
idna==3.4
imageio==2.25.0
joblib==1.2.0
munch==2.5.0
networkx==3.0
numpy==1.24.1
opencv-python-headless==4.7.0.68
packaging==23.0
pandas==1.5.3
Pillow==9.4.0
-e git+ssh://[email protected]/lukas-blecher/LaTeX-OCR.git@c1481388defbff0ffaed4c611d8d83b69ebf0d34#egg=pix2tex
pynput==1.7.6
pyobjc-core==9.0.1
pyobjc-framework-ApplicationServices==9.0.1
pyobjc-framework-Cocoa==9.0.1
pyobjc-framework-Quartz==9.0.1
PyQt6==6.4.1
PyQt6-Qt6==6.4.2
PyQt6-sip==13.4.1
PyQt6-WebEngine==6.4.0
PyQt6-WebEngine-Qt6==6.4.2
PySide6==6.4.2
PySide6-Addons==6.4.2
PySide6-Essentials==6.4.2
python-dateutil==2.8.2
pytz==2022.7.1
PyWavelets==1.4.1
PyYAML==6.0
qudida==0.0.4
regex==2022.10.31
requests==2.28.2
scikit-image==0.19.3
scikit-learn==1.2.1
scipy==1.10.0
screeninfo==0.8.1
shiboken6==6.4.2
six==1.16.0
threadpoolctl==3.1.0
tifffile==2023.1.23.1
timm==0.5.4
tokenizers==0.12.1
torch==1.13.1
torchvision==0.14.1
tqdm==4.64.1
transformers==4.26.0
typing_extensions==4.4.0
urllib3==1.26.14
x-transformers==0.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants