Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install pandas on Sublime Text 3

I'm fairly new to Python - I am using 2.7 and SublimeText3.
I can't seem to install Pandas. I was able to install andaconda, but when I run

import pandas as pd

It shows

ImportError: No module named pandas

What should I be doing in order to get this to work properly? (Does Pandas simply not work with SublimeText3?)

like image 716
user3236992 Avatar asked Oct 24 '25 04:10

user3236992


1 Answers

For me worked creating the file ~/.config/sublime-text-2/Packages/Python/Python3.sublime-build with

{
    "cmd": ["python3", "-u", "$file"],
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python",
    "encoding": "utf8",
    "path": "/home/tercio/anaconda3/bin/"
}

Here "path": "/home/tercio/anaconda3/bin/" is the path that is installed the anaconda3 in my computer. Replace this information with that path.

like image 107
Tércio Apolinario-Souza Avatar answered Oct 26 '25 18:10

Tércio Apolinario-Souza



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!