Axes3d vs axes3d matplotlib
The following two things work for me (watch your capitalization):
from mpl_toolkits.mplot3d import Axes3D
from mpl_toolkits.mplot3d import axes3d
But I get the same error for what you wrote (with the d in 3d in lower case). Note that the two imports that do work are not equivalent.