I keep getting this problem in any code editor: “Module ‘rhino3dm’ has no ‘File3dm’ member”.

All the libraries are installed and are up-to-date. Here is the simple code that I was trying to test compute.rhino3dm:

import rhino3dm as rh

import random

import math

model = rhino3dm.File3dm()

for i in range(10):

# print(i)

pt = rh.Point3d(random.uniform(-5, 5), random.uniform(-7, 7), 9)

model.Objects.AddPoint(pt)

model.Write(‘points.3dm’, 6)

or: model.Write(‘points.3dm’, 7)