首先去官网下载安装包:https://www.python.org

一、win版本:

1.根据自己系统可以下载32位,64位

2.安装成功之后,进入pip3.exe所在的目录,一般在 ..\python34\Scripts 这个目录下面

python安装itchat(win+linux)

安装itchat:pip3.exe install  itchat 下图我的已经安装过了(注意:使用3以及以上版本执行)。

python安装itchat(win+linux)

3、打开cmd,直接拖入python脚本即可执行:

python安装itchat(win+linux)


二、Linux:

安装python

1、准备编译环境:

yum install zlib-devel bzip2-devel  openssl-devel ncurses-devel

2、下载包

wget  https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tar.xz
3、解压
tar Jxvf  Python-3.5.0.tar.xz
4、编译安装

建文件夹:

mkdir /usr/local/python3

cd Python-3.5.0
./configure --prefix=/usr/local/python3
make && make install

5、进入pip3所在目录安装itchat:

./pip3 install itchat

python安装itchat(win+linux)

6、做软链接:

ln -s  /usr/local/python3/bin/python3 /usr/bin/python3

ln -s  /usr/local/python3/bin/pip3 /usr/bin/pip3

7、运行:

python安装itchat(win+linux)

相关文章:

  • 2021-10-13
  • 2021-10-04
  • 2021-11-10
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
猜你喜欢
  • 2021-04-08
  • 2022-02-06
  • 2021-08-31
  • 2022-12-23
  • 2021-05-16
  • 2022-01-20
  • 2022-12-23
相关资源
相似解决方案