Sublime Forum

3rd Party Modules not Working with REPL

#1

Using Anaconda 3.6. Numpy and Pandas not importing. Able to import with command prompt. Likely screwed up all my settings trying to make this work. Reward for anyone who can help. Desperate.

0 Likes

#2

It is working here:

When i first tried, it does not worked because I did not have numpy installed:

>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'

Then I opened the command line and installed numpy with conda:

C:\>python
Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
>>> exit()

C:\>conda install numpy
Fetching package metadata ...............
Solving package specifications: .

Package plan for installation in environment F:\Python27:

The following NEW packages will be INSTALLED:

    icc_rt:       2017.0.4-h97af966_0
    intel-openmp: 2018.0.0-hd92c6cd_8
    mkl:          2018.0.1-h2108138_4
    numpy:        1.13.3-py36ha320f96_0

Proceed ([y]/n)? y

...

C:\>python
Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
0 Likes