Pychar can’t install the third-party library, the solution of error code non zero exit code (1)

Pychar version 2019.3

Installation failed. Suggested solution: try to run this command from the system terminal. Make sure that you are using the correct version of ‘pip’, which is installed for the Python interpreter at ‘C: \ “users \” g \ “desktoplgianfeng \” venv \ “scripts \” python

You know, when you create a project with pychar, there will be a virtual space, which is different from the space where you installed python

For example: you create a project

This venv is your virtual space. There will be a separate Python and exe interpreter in the script folder

Since pychar was upgraded to 2019, there have always been some strange problems

Now the solution

Let’s talk about the problem first. This is mainly a problem of upgrading PIP through a py module

Let’s first open the folder address of the virtual space

You’ll find that we’re already in this directory, and check whether it’s the latest version of PIP through PIP – V

See this file?Use it to upgrade pip

Then start the upgrade: PIP install — upgrade PIP – I https://pypi.tuna.tsinghua.edu.cn/simple/

-I behind is Tsinghua’s source, guarantee the speed

Look at the PIP version. It has been updated

And then install the third-party library

Similar Posts: