python - Setting PATH for Sublime Text 3 Anaconda plugin -


i've been using anaconda distribution(for numpy,pandas library). i've tried use sublime text 3. problem sublime text cannot use anaconda installation. using default python installation.

during anaconda's installation, i've tried set global/default python setup , later added anaconda/bin $path.

$ echo $path /home/qfarhan/anaconda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games  $ echo $pythonpath  /home/qfarhan/anaconda/bin:  $ python /home/qfarhan/anaconda/bin/python 

but

import request import pandas pd 

gives error

import requests importerror: no module named requests 

immediately after error prints path line:

[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games] 

which not contain anaconda directory. sublime text 3 using different path mine. can me resolve issue?

thank time.

try configure python interpreter settings anaconda.

please refer anaconda readme.

also did start sublime text shell had path set correctly?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -