Jack Lai
Jack Lai

Reputation: 11

ImportError: No module named 'numpy.testing.nosetester'

I am facing an issue when I run 'from sklearn.model_selection import train_test_split' in jupyter notebook. I tried to upgrade/reinstall numpy, scipy and pandas but still cannot fix the problem. Please help. Thanks in advance.

Upvotes: 1

Views: 6106

Answers (1)

foo barf
foo barf

Reputation: 41

Upgrade numpy/scipy.

( Possible duplicate: ModuleNotFoundError: No module named 'numpy.testing.nosetester' )

Using Python3:

pip3 install numpy==1.16.4

Upvotes: 3

Related Questions