ccbogel / QualCoder

Qualitative data analysis for text, images, audio, video. Cross platform. Python 3.10 or newer and PyQt6.
https://qualcoder.wordpress.com/
GNU Lesser General Public License v3.0
374 stars 85 forks source link

Qualcoder 3.4 wont run #905

Closed kamalkotecha closed 6 months ago

kamalkotecha commented 6 months ago

Describe the bug :
When I run py -m qualcoder , i get the following error message (screenshot attached)

To Reproduce :
Ive tried installing Qualcoder 3.5 and different version of Python but still get the same error

Expected behavior :
Ive installed it on another laptop and I get the GUI

Screenshots :

Screenshot 2024-04-25 161224

Desktop (please complete the following information):

Additional context :
Can you help?

ccbogel commented 6 months ago

1 Try redoing step 7 again from within the virtual environment. That is , upgrading pip and installing all the modules. I kind of think that pyqt6 was not installed.

2 You could try download and run (double click) the exe file instead, as all the required modules are packed inside the exe, this takes about 10 seconds to open.

3 This is a modified answer from StackOverflow:

Uninstall all modules related to PyQt6, within the virtual environment. pip uninstall -y pyqt6 pyqt6-plugins pyqt6-tools qt6-applications qt6-tools

Reinstall PyQt6. pip install pyqt6

kamalkotecha commented 6 months ago

Thank you That worked

I get the following error about vibvlc. But Qualcoder GUI still starts Shall I just ignore it ?

@.***

Kamal Kotecha | Head of IT | Learning and Work Institute e. @. @. > | m: | www.learningandwork.org.ukhttp://www.learningandwork.org.uk/ | @LearnWorkUK

From: QualCoder Developer @.> Sent: Thursday, April 25, 2024 10:46 PM To: ccbogel/QualCoder @.> Cc: Kamal Kotecha @.>; Author @.> Subject: Re: [ccbogel/QualCoder] Qualcoder 3.4 wont run (Issue #905)

Try redoing step 7 again from within the virtual environment. that is , upgrading pip and installing all the modules. I kind of think that pyqt6 was not installed. You could try download and run the exe file instead, as all the required modules are packed inside the exe.

This is an answer from StackOverflowhttps://stackoverflow.com/questions/73893299/dll-load-failed-while-importing-qtgui:

Uninstall all modules related to PyQt6, within the virtual environment. `pip uninstall -y PyQt6 pyqt6-plugins PyQt6-Qt6 PyQt6-sip pyqt6-tools qt6-applications qt6-tools

Reinstall PyQt6. pip install PyQt6

- Reply to this email directly, view it on GitHubhttps://github.com/ccbogel/QualCoder/issues/905#issuecomment-2078227343, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM7AODTS4YPNMFV575PSBXTY7F2RPAVCNFSM6AAAAABGZDX7KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGIZDOMZUGM. You are receiving this because you authored the thread.Message ID: @.**@.>>

This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this e-mail is strictly prohibited.

ccbogel commented 6 months ago

Hi, I did not see what you posted with the libvlc error. But the main thing is QualCoder works. If there is an issue with libvlc, it may mean that vlc is not installed or that the python-vlc module is not installed. That does not matter if you are only going to do analysis using text or images. So you can ignore that.

kamalkotecha commented 6 months ago

Brilliant. Thank you so much for your help

Kamal Kotecha | Head of IT | Learning and Work Institute e. @. @. > | m: | www.learningandwork.org.ukhttp://www.learningandwork.org.uk/ | @LearnWorkUK

From: QualCoder Developer @.> Sent: Tuesday, April 30, 2024 10:40 PM To: ccbogel/QualCoder @.> Cc: Kamal Kotecha @.>; Author @.> Subject: Re: [ccbogel/QualCoder] Qualcoder 3.4 wont run (Issue #905)

Hi, I did not see what you posted with the libvlc error. But the main thing is QualCoder works. If there is an issue with libvlc, it may mean that vlc is not installed or that the python-vlc module is not installed. That does not matter if you are only going to do analysis using text or images. So you can ignore that.

- Reply to this email directly, view it on GitHubhttps://github.com/ccbogel/QualCoder/issues/905#issuecomment-2087426155, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM7AODVROE4NWU2H5OPALALZAAFUJAVCNFSM6AAAAABGZDX7KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBXGQZDMMJVGU. You are receiving this because you authored the thread.Message ID: @.**@.>>

This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are notified that disclosing, distributing, or copying this e-mail is strictly prohibited.