solondon solondon - 1 year ago 64
Python Question

python 3.5 32 bit windows import module fails but pip install worked

new to python installed python 3.5 32-bit on windows 10, used pip to install a module

C:\Users\Lopez\Anaconda3\Scripts>pip install ystockquote
Requirement already satisfied (use --upgrade to upgrade): ystockquote in c:\users\lopez\anaconda3\lib\site-packages
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

when I go to the IDLE and try the following I get a no module name

import ystockquote
Traceback (most recent call last):
File "", line 1, in
import ystockquote
ImportError: No module named 'ystockquote'

not sure what i am missing, guess its path related but appreciate any feedback
thanks, Juan


Check pip --version and check the Python version and start IDLE and check the Python version and see if they match.

If not, use explicit pipx.y matching IDLE or start IDLE from a Python matching plain pip.