前置

操作系统版本:mac 10.12.3
系统上存在python版本:2.7、3.8(之前安装过一个3.7,不过后来被卸载了,但是现在在终端执行python命令,一直提示3.7版本python文件不存在)

为3.8版本python安装bs4库

python3.8 -m pip install bs4
mac系统下安装第三方库到指定python版本下
这个目前针对python3开头的版本应该都可以,我本机是装的3.8版本

查看对应python版本下安装了哪些库

python3.8 -m pip list
mac系统下安装第三方库到指定python版本下

相关文章:

  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2022-01-23
  • 2021-07-14
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-15
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案