pythonnumpyscipyscipy-spatialboids

I cant import scipy.spacial.distance properly


from scipy.spacial.distance import squareform, pdist, cdist

it says 'could not be resolved'. I am using python for a boids program.


Solution

  • After some searching, I found out that scipy.spatial.distance is the correct spelling of the Module. Did you try import that?