No Module Named Pandas - How To Fix

  Рет қаралды 31,624

Greg Kamradt (Data Indy)

Greg Kamradt (Data Indy)

Күн бұрын

If you're interested in learning more about data, please consider filling out this survey! We greatly appreciate it.
docs.google.co...
dataindependen...
So you get an error "no module named pandas" and you aren't sure why its happening? Let's figure this out.
"no module named pandas" happens because because your current python environment cannot find the pandas library.
You haven't installed Pandas
Python can't find where you installed pandas
Different python/pandas versions
Pandas is not included in your global path
Or you might be using a virtual environment and haven't installed Pandas

Пікірлер: 42
@jh_sports
@jh_sports 11 ай бұрын
This finally fixed it after two hours of going through several stages of rage, despair and laughter
@DataIndependent
@DataIndependent 11 ай бұрын
Packages can be super annoying. If I were to make this video again I would start off by telling people to go to ChatGPT
@muradal-ahmad4048
@muradal-ahmad4048 3 жыл бұрын
Awesome Diagram! never got to wrap my head around it like that. Things have gotten down the rabbit hole trying to install ATLAS & LAPACK, this video saved me a lot a time.
@DataIndependent
@DataIndependent 3 жыл бұрын
Nice! Glad to see that it worked out. It's annoying because the problem is hidden somewhere and can be tough to find.
@TheRohel
@TheRohel 3 жыл бұрын
awesome!! I found the pandas location by applying the 'pip show pandas' command. It was located in my venv (virtual environment) folder inside the current working directory. Thanks.
@DataIndependent
@DataIndependent 3 жыл бұрын
Ah yes that is another option. Thanks for sharing. So you installed pandas in your venv but not outside of it?
@kaitaviolin
@kaitaviolin 3 жыл бұрын
Thanks for this presentation, what did you use for preparation of those flowcharts?
@DataIndependent
@DataIndependent 3 жыл бұрын
Thanks! I used google slides for this presentation. I’ve seen others use whimsical or lucid charts.
@jadenataylor
@jadenataylor Жыл бұрын
Adding a comment on this video to get more views. This is a very helpful flow chart.
@DataIndependent
@DataIndependent Жыл бұрын
Nice! Thank you, this is an old one
@jadenataylor
@jadenataylor Жыл бұрын
@@DataIndependent True
@garrisonwhipple1289
@garrisonwhipple1289 2 жыл бұрын
Ty sooooooooo much. Easiest tutorial ever, please do more
@DataIndependent
@DataIndependent 2 жыл бұрын
Wow nice! What other tutorials would you like to see?
@Norrieification
@Norrieification 2 жыл бұрын
This video makes me so happy. This solved my problem exactly haha. Thanks so much dude.
@DataIndependent
@DataIndependent 2 жыл бұрын
Yes! That’s wonderful to hear and I’m glad it worked out. Any other videos you’d like to see?
@marcorava2795
@marcorava2795 3 жыл бұрын
thanks! But I have python 3.8, and atom. I try to use panda but it doesn't work. So I uninstall anaconda and then I install a new one. I check if there is panda, and told me yes.. But I can't use it again. How can I understan which wersion of anaconda I nee to install?
@DataIndependent
@DataIndependent 3 жыл бұрын
You should just be using the latest version that is listed on the anaconda website. When you're in the same location as your python script, does "pip show pandas" return something for you?
@AnkitSharma-he9jj
@AnkitSharma-he9jj 3 жыл бұрын
Sir while doing these things..... There is need of internet??
@DataIndependent
@DataIndependent 3 жыл бұрын
To download anything new, yes you need the Internet. But to install pandas or anaconda, no you don’t need the Internet.
@AnkitSharma-he9jj
@AnkitSharma-he9jj 3 жыл бұрын
@@DataIndependent Thank U sir... What job u do now a days.....Coding,Software??
@DataIndependent
@DataIndependent 3 жыл бұрын
@@AnkitSharma-he9jj I run data and analytics at a start up in San Francisco. Analysis + Infrastructure + Business Intelligence
@AnkitSharma-he9jj
@AnkitSharma-he9jj 3 жыл бұрын
@@DataIndependent 👍 Great🙂
@FrescoEnamya
@FrescoEnamya Жыл бұрын
Very nice explanation
@DataIndependent
@DataIndependent Жыл бұрын
Awesome, glad it worked out
@tenisnespanol
@tenisnespanol 2 жыл бұрын
Hi, it doesn't work for me. I downloaded anaconda and it did not work either. I don't know what to do!
@DataIndependent
@DataIndependent 2 жыл бұрын
Can you run python via your anaconda installation? If so, what does the next step on the flow diagram show output to?
@tenisnespanol
@tenisnespanol 2 жыл бұрын
@@DataIndependent Fixed it!
@DataIndependent
@DataIndependent 2 жыл бұрын
@@tenisnespanol Nice! What was the problem?
@tenisnespanol
@tenisnespanol 2 жыл бұрын
@@DataIndependent Just needed to reinstall pip in the proper way
@anmolverma7761
@anmolverma7761 4 жыл бұрын
thanks man
@DataIndependent
@DataIndependent 4 жыл бұрын
Totally, what ended up being the problem?
@soniasoniaize
@soniasoniaize Жыл бұрын
Thank you !!!
@DataIndependent
@DataIndependent Жыл бұрын
You're welcome! Glad it worked out
@mohammadzahrawi5713
@mohammadzahrawi5713 4 жыл бұрын
Thank you
@DataIndependent
@DataIndependent 4 жыл бұрын
Of course. What method or solution worked for you?
@mohammadzahrawi5713
@mohammadzahrawi5713 4 жыл бұрын
@@DataIndependent uninstall and reinstall Anaconda lol
@DataIndependent
@DataIndependent 4 жыл бұрын
Ha that is great. Thank you and good luck!
@shisu6870
@shisu6870 3 жыл бұрын
I use vs code, do I need anaconda to run pandas ?
@shisu6870
@shisu6870 3 жыл бұрын
From what I watched, the only plausible reason would be that i need to update pandas or python but since I installed them like yesterday and today, I don't think it's the issue.
@DataIndependent
@DataIndependent 3 жыл бұрын
No, you don't need anaconda to run pandas. It is highly recommended however. Which step of the tree breaks when you try and debug?
@xDenis11
@xDenis11 2 жыл бұрын
DOESN'T FUCKING WOOOORK!!!!!
@DataIndependent
@DataIndependent 2 жыл бұрын
Can you tell me about your error more? What does your output look like when you try the steps above?
Pandas Get Dummies | pd.get_dummies()
4:23
Greg Kamradt (Data Indy)
Рет қаралды 20 М.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 272 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 3,2 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 9 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
How to Fix "No Module Named..." Error in Python | Python Tutorial
7:07
How to tell if a career in Data Analytics is right for you...
7:12
CareerFoundry
Рет қаралды 555 М.