2
I’m trying to migrate to Sublime Text 2 and do everything without leaving the program. Before I ran a script with the following line:
from scipy.stats import beta, bernoulli, gaussian_kde
In the shell
within the iPithon
the control wheel normally.
If I give the build
(cmd
+b
or Tools -> Build) inside Sublime Text 2 it does not find the scipy.stats
and returns the following error:
Import: No module named scipy.Stats
How to solve this?
Indeed, it seems that the sublime already comes with a Python instead of fetching the latest version. I am using mac, so I made a modification different from the one suggested by you, but thanks for the answer! First I caught the
path
in the shell with the commandenv
, then pasted the path into the filepython.sublime-build
with"path": "caminho do env",
.– Carlos Cinelli
Ok! I will give an organized response to contemplate all possible solutions. I also use Mac, but since we are minority, I left the answer in Windows default, haha..
– Michael Siegwarth