ModuleNotFoundError:没有名为“ GeometricObject”的模块-JetBrains pycharm IDE

时间:2018-08-07 16:33:25

标签: python python-3.x

当我尝试在pycharm IDE中使用Geometric模块时出现错误

Error: ModuleNotFoundError: No module named 'GeometricObject'

我已将模块安装到解释器-Geometric,但未找到GeometricObject

from GeometricObject import GeometricObject
import math

class Triangle(GeometricObject):
    def __init__(self, side1=1.0, side2=1.0, side3=1.0, *args):
        super().__init__(*args);
        self.__side1 = side1
        self.__side2 = side2
        self.__side3 = side3

0 个答案:

没有答案