Solution: Solving Environment: failed with initial frozen solve.Python – writing visual interface (Python + pycharm + pyqt).On the problem of from PIL import image.To run pycharm like any other command, create a soft link from a directory ( /usr/bin/ in this example) in your PATH. An error occurred when running ROCR: Failed to load the package ‘caTools’, package or namespace load failed First go to the P圜harm download section and grab the latest stable version of P圜harm Community Edition or you can use following wget command to download it directly into terminal.Create a new project in pycharm: modulenotfounde rror:No module named ‘distutils.util‘.Unable to call numpy in pychar, module notfounderror: no module named ‘numpy’.Python installation problem: error: Command erred out with exit status 1:.I try to upgrade pip to 21.3.1 again, which can be installed normally
At this time, if you like, you can upgrade PIP again. If there is no accident, it can be solved. Enter pycharm to view the PIP version installation package. The goal here is to use the python execution command in the project instead of the global Python execution command.
#Pycharm terminal install#
Use python.exe in the project to run the command - M PIP install PIP = 21.2.4 Open windows PowerShell in administrator mode and enter the directory where the environment is located.
The problem is solvedĮnter the directory where the project environment is located However, I don’t know the specific reason why pip21.3.1 can’t be used. I checked my previous projects and found that pip21.2.4 can be installed normally without error, so I reduced the PIP version of this project to pip21.2.4. , but you can use the command to install in the terminal in pycharm, but it is too troublesome to install every time, which is not applicable to problem analysis