pygame not auto-complete solution

Pygame introduced in the pycharm

1. 

 

 

If AttributeError appears: module 'pip' has no attribute 'main' problem

 

Find the installation directory helpers / packaging_tool.py file, locate the following code:

 

Modified as follows, and save it.

 

Guess you like

Origin www.cnblogs.com/yifengs/p/11352270.html