MySQL Workbench安装程序无法检测到Python

时间:2016-06-30 20:51:31

标签: python-3.x mysql-workbench

我试图让新的MySQL Workbench安装工作,但每次尝试我都会收到此错误:

def pyramid():
  min_pyramid_size = 5
  max_pyramid_size = 10
  num_rows = random.randint(min_pyramid_size, max_pyramid_size)
  outer_z = 0
  for i in range(num_rows):
    x = ''.join(str(random.choice('*&')) for j in range(2*i+1))
    print(' ' * (num_rows - i) + x)
    inner_z = x.count('&')  # Alternatively calculate inner_z twice, but don't store it:
    print(inner_z)          # print(x.count('&'))
    outer_z += inner_z      # outer_z += x.count('&')
  print(outer_z)

我已经在这台计算机上安装了Python,但我尽职尽责地返回并更新到最新版本(3.5.2),但我仍然遇到同样的错误。

知道了什么?

0 个答案:

没有答案