Hi Mika,

I'm don't know Macports, but I've found Qt issues when installing on
Ubuntu. My problem was solved after I installed the system version of the
needed Python packages. In my system, this was done through the following
command: "apt-get install python-qt4 python-qt4-gl".

Allan Costa
*allanino.me/about* <http://allanino.me/about>

2014-09-26 18:56 GMT-03:00 Mika Schiller <[email protected]>:

> I am trying to install NupicStudio.  I installed both PyQt4 and Scipy via
> Macports. I am able to import both of them just fine from the Python shell.
> But when I run "pip install nustudio" I get the error below. Any idea what
> might be going on here?
>
> Downloading/unpacking nustudio
>
>   Running setup.py egg_info for package nustudio
>
>     Traceback (most recent call last):
>
>       File "<string>", line 16, in <module>
>
>       File
> "/private/var/folders/yy/4vm2zy7j5_s32zv4rwdhn5500000gn/T/pip-build-mikaschiller/nustudio/setup.py",
> line 23, in <module>
>
>         execfile(os.path.join(repositoryDir, "nustudio", "__init__.py"),
> {}, properties)
>
>       File
> "/private/var/folders/yy/4vm2zy7j5_s32zv4rwdhn5500000gn/T/pip-build-mikaschiller/nustudio/nustudio/__init__.py",
> line 2, in <module>
>
>         from PyQt4 import QtGui, QtCore
>
>     ImportError: No module named PyQt4
>
>     Complete output from command python setup.py egg_info:
>
>     Traceback (most recent call last):
>
>
>   File "<string>", line 16, in <module>
>
>
>   File
> "/private/var/folders/yy/4vm2zy7j5_s32zv4rwdhn5500000gn/T/pip-build-mikaschiller/nustudio/setup.py",
> line 23, in <module>
>
>
>     execfile(os.path.join(repositoryDir, "nustudio", "__init__.py"), {},
> properties)
>
>
>   File
> "/private/var/folders/yy/4vm2zy7j5_s32zv4rwdhn5500000gn/T/pip-build-mikaschiller/nustudio/nustudio/__init__.py",
> line 2, in <module>
>
>
>     from PyQt4 import QtGui, QtCore
>
>
> ImportError: No module named PyQt4
>

Reply via email to