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.
Asked
Active
Viewed 5,903 times
0
-
You'll have to provide some more details. Python version, target platform etc. Just check all your paths and see if you are using the same versions for Python and pip. – Pradeep Banavara May 12 '20 at 05:06
-
Does this answer your question? [ModuleNotFoundError: No module named 'numpy.testing.nosetester'](https://stackoverflow.com/questions/59474533/modulenotfounderror-no-module-named-numpy-testing-nosetester) – Espoir Murhabazi Oct 19 '20 at 10:41
1 Answers
3
Upgrade numpy/scipy.
( Possible duplicate: ModuleNotFoundError: No module named 'numpy.testing.nosetester' )
Using Python3:
pip3 install numpy==1.16.4

foo barf
- 41
- 3