Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
Noob troubles: Having a hard time with packages. Installed Anaconda but still can't "import pandas". Help please? :)
Post Body

Hey all, I am having a really hard time getting the right packages installed/imported. A coworker suggested to download/install anaconda to get around this and just get a bunch of the most popular packages. So I did that and entered "which python" in Terminal and it said

/Users/myname/opt/anaconda3/bin/python

which leads me to believe I installed it properly? When I type import pandas from the Terminal, it doesn't give me any errors. However, when I open IDLE and try to start a new script with import pandas or import nltk, I get the following error

Traceback (most recent call last):

File "<pyshell#0>", line 1, in <module>

import nltk

ModuleNotFoundError: No module named 'nltk'

... I imagine this is because I have several versions of python installed? I'm really struggling here to figure out what's wrong. Any guidance is highly appreciated. I was on a roll with some basic programs(magic 8 ball, printing 99 bottles of beer on the wall, coin estimator by weight) but now have hit a wall with this while trying to import NLTK to help with creating a MadLib story. (https://docs.google.com/document/d/1TyqD2_oDtiQIh_Y55J5RfeA91JJECc97xYIKM112H9I/edit)

Author
Account Strength
100%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
11,540
Link Karma
432
Comment Karma
11,084
Profile updated: 3 days ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago