Jun-17-2017, 12:15 PM
(This post was last modified: Jun-17-2017, 12:28 PM by sparkz_alot.)
Hello Python forum,
I am a new learner and am following basic tutorials from udacity and youtube.
I am on python 2.7. I am using visual studio as an IDE.
I have imported sklearn and can see it under my file C/python27/Lib/Sitepackages folder.
when i type import.sklearn the ide autocompletes
but when i try to call the library I get:
I am a new learner and am following basic tutorials from udacity and youtube.
I am on python 2.7. I am using visual studio as an IDE.
I have imported sklearn and can see it under my file C/python27/Lib/Sitepackages folder.
when i type import.sklearn the ide autocompletes
but when i try to call the library I get:
Error:>>> import sklearn
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\sklearn\__init__.py", line 57, in <module>
from .base import clone
File "C:\Python27\lib\site-packages\sklearn\base.py", line 10, in <module>
from scipy import sparse
ImportError: No module named scipy
>>> sklearn (help)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'sklearn' is not defined
any advice ? Much appreciated. Kind regards - e