ImportError:没有名为fabric的模块

时间:2016-02-18 06:28:08

标签: python python-2.7 mysql-fabric

我是mysql fabric的新手。我收到以下错误:

    Dim l_row As Long, f_row As Long, sLookup_Range As String

    With Worksheets("Lookup")
        l_row = .Cells(Rows.Count, "A").End(xlUp).Row
        sLookup_Range = .Range("A2:E" & l_row).Address(ReferenceStyle:=xlR1C1, external:=True)
    End With

    With Worksheets("Sheet1")
        f_row = .Cells(Rows.Count, "G").End(xlUp).Row
        With .Range("BG2:BG" & f_row)
            .FormulaR1C1 = "=vlookup(RC[-52]," & sLookup_Range & ", 2, False)"
        End With
    End With

我安装了root@ajith-System-Product-Name:/home/ajith# mysqlfabric Traceback (most recent call last): File "/usr/bin/mysqlfabric", line 33, in <module> from mysql.fabric import ( ImportError: No module named fabric mysql-connector-python_2.1.3mysql-utilities_1.5.6

1 个答案:

答案 0 :(得分:0)

据我所知,您的from语句应该使用mysqlfabric,而不是mysql.fabric