即使安装了六个,仍然面临“缺少XCode依赖性:Python模块“六个””

时间:2018-07-01 06:42:35

标签: python xcode dart flutter python-module

面对“缺少XCode依赖性:即使安装了六个,Python模块”第六””

Pip Already installed
pip install six
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages 
(1.11.0)

但还是扑扑的医生要求安装点子

Shivas-MacBook-Pro:Flutter shivapokala$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.5 17F77, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.0)
[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
✗ Missing Xcode dependency: Python module "six".
  Install via 'pip install six' or 'sudo easy_install six'.
[✓] Android Studio (version 3.1)
[!] Connected devices
! No devices available
! Doctor found issues in 2 categories.

1 个答案:

答案 0 :(得分:0)

根据this,尝试:

python2.x -m pip install six

或:

brew reinstall python@2
pip install six