【Python】AttributeError: 'module' object has no attribute 'stats'

代碼:code import scipy h, p = scipy.stats.randksum(A, B) 報錯:ip AttributeError: 'module' object has no attribute 'stats' 解決:ci Scipy, 就像許多其餘很大的包同樣,不能直接導入,若是須要用某個包,直接導入它。class from scipy.stats import rand
相關文章
相關標籤/搜索