my environment is windows. With py2.7, installed, I installed the virtual environment of py3.6 with virtualenv. The installation of PyQt5, in this virtual environment was successful, but many of the related modules could not be found. Run the code (or import the package) and report an error as follows
D:\pythonVirtual\py36\Scripts\python.exe D:/Py36Projects/Am_test/test/test1.py
Fatal Python error: PyThreadState_Get: no current thread
Process finished with exit code -1073740791 (0xC0000409)
I can find some related problems, which probably means that when installing PyQt5, the compilation uses the system default (that is, the py2.7 configured by environment variables), which leads to compilation problems. However, the solutions are all windows, so I would like to ask if you have encountered this kind of situation? How to solve it under windows?