Jika
Jika

Reputation: 1584

Should I install mlabwrap or there is other alternatives?

I am trying to install mlabwrap but it is not working.

I downloaded it and I installed it as follow:

I opened Pycharm and I typed from mlabwrap import mlab and sadly I got the following error.

Traceback (most recent call last):
 File "C:\Anaconda\lib\site-packages\IPython\core\interactiveshell.py", 
  line 2731, in run_code exec code_obj in self.user_global_ns, self.user_ns
 File "<ipython-input-2-7a02b1481f8f>", line 1, in <module>
  from mlabwrap import mlab
 File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition    
  4.0.4\helpers\pydev\pydev_import_hook.py", line 21, in do_import module = 
  self._system_import(name, *args, **kwargs)
 ImportError: No module named mlabwrap

Upvotes: 0

Views: 1115

Answers (1)

yole
yole

Reputation: 97178

You have multiple Python interpreters on your system, and each of them has an independent set of packages. If you install a package into your main Python installation, it will not become available in Anaconda.

Try running this command to install mlabwrap into Anaconda:

 C:\Anaconda\python setup.py install

Upvotes: 1

Related Questions