mac目前安装了pyhon3.7.3,本地也保留着python2.7, 学习代理ip,开发工具用idea
1.idea貌似还是使用本地的pyhon2.7
python-mac开发动态代理ip爬虫
打开 iterm2 看看目前mac的版本
python-mac开发动态代理ip爬虫
当前mac版本确实是已经切换过来了。
怀疑是idea 配置python 的问题。
python-mac开发动态代理ip爬虫
我一开始创建的项目是用选择的sdk是python2.7, 后续才安装了python3.7,但是项目使用的还是原来的sdk,以下是修改当前项目的配置:
python-mac开发动态代理ip爬虫
果然版本是python2.7,导致一些3.0以上的包不能使用
python-mac开发动态代理ip爬虫
新配python3.7的sdk
python-mac开发动态代理ip爬虫
替换成功
python-mac开发动态代理ip爬虫

持续。。。。。。。

相关文章:

  • 2022-12-23
  • 2022-01-15
  • 2021-11-26
  • 2022-02-24
  • 2022-12-23
  • 2021-09-19
猜你喜欢
  • 2022-12-23
  • 2021-07-22
  • 2021-04-24
  • 2022-12-23
  • 2021-12-18
  • 2021-08-15
  • 2022-02-07
相关资源
相似解决方案