Doing my homework in Python this afternoon, I used qwebengineview in pyqt5 to open external web pages
But it always flashes back. It flashes back as soon as it runs
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
It’s the same with the code of netizens
After many times of searching, it is not the problem of graphics driver, nor the problem of importing multiple conflict packages at the same time
It’s about pyqt5
So I created a new virtual environment of anaconda, installed pyqt5 = = 5.10, and finished it
Here’s the operation of anaconda. Because the command line operation of anaconda is also on the terminal on MacOS, you should pay attention to the virtual environment when installing the package
conda create -n pyqt python=3.7 #Create a virtual environment
conda remove -n pyqt #Remove virtual environments
conda env list #Show the list of virtual environments
conda activate XXX #Switch the current virtual environment
conda config --add channels
conda config --remove channels
conda config --show #Show configuration information
pip list #Show installed third-party libraries
pip uninstall XXX #Uninstall XXX third-party libraries
Similar Posts:
- How to Solve Anaconda Error (Three Errors to Solve)
- Solve the problem of HTTP 000 connection failed for URL in Anaconda
- Anaconda establishes a new environment, and condahttpererror: http 000 connection failed for URL… Solution process appears
- Solution to error reporting of CONDA virtual environment due to system environment variables
- The problem of: modulenotfoundererror: no module named ‘pyqt5’ appears in pychar using pyqt5
- python=2.7-not available from current channels [How to Solve]
- How to Solve PackagesNotFoundError: The following packages are not available from current channels
- How to Solve Anaconda Error: PackageNotFoundError: Package not found: ” Package missing in current win-64 channels
- Error reporting of importing tensorflow package from pycharm
- Using the jupyter notebook (error/usr/bin/python3: no module named ipykernel) on the local browser remote server_ launcher)