+ 1

Please help with Import libraries!!!

I have a problem, I downloaded Panda and Quandl and when I use: import Quandl import Panda And I call a function it says that doesn’t exsist. I tryed puting in the command prompt Quandl and then my file like in pgzrun but it says that there’s no module called Quandl. Also I tried with import Quandle and at the end Quandle.go(). But it doesn’t work!!!!!!!! I am using Python 3 in a PC. Can you please help me!!!!!

30th Sep 2018, 12:34 AM
Octavio Aguayo
Octavio Aguayo - avatar
16 RĂ©ponses
+ 8
try this py -m pip install quandl
30th Sep 2018, 3:48 AM
LONGTIE👔
LONGTIE👔 - avatar
+ 7
are they save to the right file?
30th Sep 2018, 4:38 AM
LONGTIE👔
LONGTIE👔 - avatar
+ 4
Octavio Aguayo Sololearn does not have none standard python libraries for use.
30th Sep 2018, 12:52 AM
Manual
Manual - avatar
+ 3
Octavio Aguayo Have you used additional modules. I believe you need to create virtual environments. demostrated in the first 6 min of this video. I have the same issue with requests recently, and the video was my solution. Install the pygame instead of requests. https://www.youtube.com/watch?v=KnBntO0wayk&index=3&list=PLZ4VWXVGOuvQ1DlccHC02CK-bm_d1OTBM
30th Sep 2018, 6:10 AM
Manual
Manual - avatar
+ 2
Octavio Aguayo I believe you need to make an enviornment to use additional modules edit: https://packaging.python.org/guides/installing-using-pip-and-virtualenv/
30th Sep 2018, 5:34 AM
Manual
Manual - avatar
+ 1
try importing it with lowercase 'Q': import quandl
30th Sep 2018, 12:47 AM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
Im using Python 3, Not Solo Learn. I am in Pc. I used the pip install Quandl and pip install panda in the command prompt. But thankyou
30th Sep 2018, 3:31 AM
Octavio Aguayo
Octavio Aguayo - avatar
+ 1
I only used: pip install quandl and everything turn out well. But I saw a video that makes that and when writting import Quandl it worked for him. But for me not. That happened to me when I used PyGame Zero but when I use PyGame Zero, I go to Command Promt and write pgzrun and then where is my file. But I don’t know the command for Quandl, panda and PyBluez
30th Sep 2018, 4:34 AM
Octavio Aguayo
Octavio Aguayo - avatar
+ 1
Octavio Aguayo Why do you want pygame zero?
30th Sep 2018, 4:43 AM
Manual
Manual - avatar
+ 1
I use C/C++ sdl2 I believe it is similar to the python version.
30th Sep 2018, 4:45 AM
Manual
Manual - avatar
+ 1
I use C/C++ sdl2 I believe it is similar to the python version. https://stackoverflow.com/questions/43954945/cant-install-pygame-sdl2
30th Sep 2018, 4:45 AM
Manual
Manual - avatar
+ 1
Are both python 2 and python 3 installed on your pc? Try pip3 install instead of pip install. You might have installed the modules for python 2
30th Sep 2018, 5:37 AM
Anna
Anna - avatar
0
ok
30th Sep 2018, 12:48 AM
Octavio Aguayo
Octavio Aguayo - avatar
0
It says ‘No module named quandl’
30th Sep 2018, 12:49 AM
Octavio Aguayo
Octavio Aguayo - avatar
0
Can somebody help me with that please? ??
30th Sep 2018, 4:36 AM
Octavio Aguayo
Octavio Aguayo - avatar
0
They aren’t like saved somewhere. They are just installed in pip. That happened with pgz but in command promt it works. But if I put import, then it doesn’t works. I need help with the command for command promt
30th Sep 2018, 4:46 AM
Octavio Aguayo
Octavio Aguayo - avatar