Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing modules in Win10 #12

Open
jumpjack opened this issue Aug 8, 2022 · 5 comments
Open

Missing modules in Win10 #12

jumpjack opened this issue Aug 8, 2022 · 5 comments

Comments

@jumpjack
Copy link

jumpjack commented Aug 8, 2022

PyQT5
scikit-image
sklearn

@simin75simin
Copy link

i got it to work on win10 all right. i removed the version info in requirements.txt so my requirements.txt looks like this:

numpy
scipy
opencv_python<3.5
scikit_image
matplotlib
Pillow
PyQt5
scikit_learn

the only thing i needed changing is opencv_python<3.5 cause its version is too old.
windows 10 family edition here with python3.7.9

@Chenfyuan42
Copy link

i got it to work on win10 all right. i removed the version info in requirements.txt so my requirements.txt looks like this:

numpy
scipy
opencv_python<3.5
scikit_image
matplotlib
Pillow
PyQt5
scikit_learn

the only thing i needed changing is opencv_python<3.5 cause its version is too old. windows 10 family edition here with python3.7.9

Hi, I am also trying to run this project on Win10 and thanks to your tips I solved some minor problems. But I am having the problem as shown in the picture. I would like to ask if it is a problem with the file directory in the code or some other part that needs to be changed? Thank you very much for your help and I wish you a happy new year.
1672695628247

@Chenfyuan42
Copy link

i got it to work on win10 all right. i removed the version info in requirements.txt so my requirements.txt looks like this:

numpy
scipy
opencv_python<3.5
scikit_image
matplotlib
Pillow
PyQt5
scikit_learn

the only thing i needed changing is opencv_python<3.5 cause its version is too old. windows 10 family edition here with python3.7.9
I'm sorry to bother you again, but after I changed the directory to an absolute path to my computer, the problem described earlier was solved. However, my program window displays a grayscale image for a moment and then flashes back. Have you encountered a similar problem?

@lhgl
Copy link

lhgl commented Jan 11, 2023

i got it to work on win10 all right. i removed the version info in requirements.txt so my requirements.txt looks like this:

numpy
scipy
opencv_python<3.5
scikit_image
matplotlib
Pillow
PyQt5
scikit_learn

the only thing i needed changing is opencv_python<3.5 cause its version is too old. windows 10 family edition here with python3.7.9

Hi, I am also trying to run this project on Win10 and thanks to your tips I solved some minor problems. But I am having the problem as shown in the picture. I would like to ask if it is a problem with the file directory in the code or some other part that needs to be changed? Thank you very much for your help and I wish you a happy new year. 1672695628247

I resolved this, adding absolute path, and changing the '/' to '\' in Windows.

Like :

self.absolut_path = str(pathlib.Path().absolute())
cv2.imwrite(self.absolut_path + "\\tmp\\resized.png", self.img)

@FizzyMUC
Copy link

Thanks! At least I could install the packages. I still get this error

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/pascal/.local/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

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

No branches or pull requests

5 participants