打开terminal
pip3 install numpy
over
回到IDLE
Test numpy
import numpy as np
a = np.arange(20).reshape(5,4)
print(a)
Run
===============
[[ 0 1 2 3]
[ 4 5 6 7]
[ 8 9 10 11]
[12 13 14 15]
[16 17 18 19]]
解决。
打开terminal
pip3 install numpy
over
回到IDLE
Test numpy
import numpy as np
a = np.arange(20).reshape(5,4)
print(a)
Run
===============
[[ 0 1 2 3]
[ 4 5 6 7]
[ 8 9 10 11]
[12 13 14 15]
[16 17 18 19]]
解决。