Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

ModuleNotFoundError: No module named 'PyQt5' #249

Open
franklili3 opened this issue Sep 29, 2021 · 0 comments
Open

ModuleNotFoundError: No module named 'PyQt5' #249

franklili3 opened this issue Sep 29, 2021 · 0 comments

Comments

@franklili3
Copy link

When I run /usr/bin/v2rayL/v2rayLui , there is a error"
franklili@franklili-W515-PGUV-WBY0:/$ /usr/bin/v2rayL/v2rayLui Traceback (most recent call last): File "v2rayLui.py", line 12, in <module> ModuleNotFoundError: No module named 'PyQt5' [416806] Failed to execute script 'v2rayLui' due to unhandled exception!
I have installed PyQt5 in Python 3.8.10 and Python3.7.10. and I can import PyQt5 successfully.

`(base) franklili@franklili-W515-PGUV-WBY0:/usr/bin$ python3
Python 3.7.10 (default, Apr 23 2021, 03:08:47)
[GCC 10.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import PyQt5
exit()

(base) franklili@franklili-W515-PGUV-WBY0:/usr/bin$ conda deactivate
franklili@franklili-W515-PGUV-WBY0:/usr/bin$ python3
Python 3.8.10 (default, Jul 27 2021, 06:02:12)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import PyQt5
exit()

franklili@franklili-W515-PGUV-WBY0:/usr/bin$ cd ..
franklili@franklili-W515-PGUV-WBY0:/usr$ cd ..
franklili@franklili-W515-PGUV-WBY0:/$ cd bin
franklili@franklili-W515-PGUV-WBY0:/bin$ python3
Python 3.8.10 (default, Jul 27 2021, 06:02:12)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import PyQt5
exit()
`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant