程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python related problems and Solutions

編輯:Python

List of articles

  • Summary of problems and Solutions ( Continuous updating )
    • 1、 install pycharm Sinicization
    • 2、pip Installation package problem .
    • 3、ubuntu install pycharm

Summary of problems and Solutions ( Continuous updating )

1、 install pycharm Sinicization

terms of settlement :
link
summary :
file >Setting>plugins in , choice Marketplace, Search for chinese, Click the plug-in with Chinese character to install it , That's all right.

2、pip Installation package problem .

1) Problem description : At that time, I was surfing the Internet scientifically , Cause network problems , For a long time , Then close the software of scientific Internet access . But then

WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\zgq\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.

terms of settlement :
link

python -m pip install --upgrade pip

2) The installation package installed at the command prompt cannot be installed at pycharm To be used in the new project .
reason ,pycharm Do not copy third-party libraries , You can't put the expanded package inside yourself
Yes 1 Medium method , Use the command prompt , Then copy the extended package to the current project lib in
One way is to use pycharm You've been talking file->setting Inside the , After a new project is created, you can add .
link

3、ubuntu install pycharm

1) Download the official website installation package . link


2) Put it in ubuntu in , After decompression .
3) Put the extracted file in opt Under the table of contents .

tar -zxvf pycharm-edu-***.tar.gz
sudo mv pycharm-edu-***/ /opt/

4) start-up pychrm

/opt/pycharm-edu-***/bin/pycharm.sh

5) Set up shortcuts
newly build desktop Quick files

sudo touch /usr/share/applications/jetbrains-pycharm.desktop

Content

[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm
Icon=/opt/pycharm-edu-***/bin/pycharm.png
Exec="/opt/pycharm-edu-***/bin/pycharm.sh" %f
Comment=The Drive to Develop
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved