[MacPorts] #43272: py33-zmq @14.1.1 +universal and arch -i386 ipython notebook error
MacPorts
noreply at macports.org
Mon Apr 7 13:32:11 PDT 2014
#43272: py33-zmq @14.1.1 +universal and arch -i386 ipython notebook error
-------------------------------------------------+-------------------------
Reporter: wrighteap@… | Owner: macports-
Type: defect | tickets@…
Priority: Normal | Status: new
Component: ports | Milestone:
Keywords: py33-zmq, +universal, arch -i386, | Version: 2.2.1
ipython notebook | Port: py33-zmq
| @14.1.1
-------------------------------------------------+-------------------------
I installed all the required ports with the +universal version to run a
32bit ipython notebook. While I can use the 64 bit version successfully,
on running arch -i386 ipython notebook I get the following error message:
{{{
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/zmq/__init__.py", line 52, in <module>
from zmq.utils import initthreads # initialize threads
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/zmq/utils/initthreads.so, 2): no suitable image found. Did
find:
/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/zmq/utils/initthreads.so: mach-o, but wrong architecture
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/utils/zmqrelated.py", line 35, in check_for_zmq
import zmq
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/zmq/__init__.py", line 54, in <module>
raise ImportError("%s\nAre you trying to `import zmq` from the pyzmq
source dir?" % e)
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/zmq/utils/initthreads.so, 2): no suitable image found. Did
find:
/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/zmq/utils/initthreads.so: mach-o, but wrong architecture
Are you trying to `import zmq` from the pyzmq source dir?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/bin/ipython", line 9, in <module>
load_entry_point('ipython==1.2.1', 'console_scripts', 'ipython3')()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/__init__.py", line 118, in start_ipython
return launch_new_instance(argv=argv, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/config/application.py", line 544, in
launch_instance
app.initialize(argv)
File "<string>", line 2, in initialize
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/config/application.py", line 89, in
catch_config_error
return method(app, *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/terminal/ipapp.py", line 312, in initialize
super(TerminalIPythonApp, self).initialize(argv)
File "<string>", line 2, in initialize
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/config/application.py", line 89, in
catch_config_error
return method(app, *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/core/application.py", line 373, in initialize
self.parse_command_line(argv)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/terminal/ipapp.py", line 307, in parse_command_line
return super(TerminalIPythonApp, self).parse_command_line(argv)
File "<string>", line 2, in parse_command_line
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/config/application.py", line 89, in
catch_config_error
return method(app, *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/config/application.py", line 474, in
parse_command_line
return self.initialize_subcommand(subc, subargv)
File "<string>", line 2, in initialize_subcommand
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/config/application.py", line 89, in
catch_config_error
return method(app, *args, **kwargs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/config/application.py", line 405, in
initialize_subcommand
subapp = import_item(subapp)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/utils/importstring.py", line 42, in import_item
module = __import__(package, fromlist=[obj])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/html/notebookapp.py", line 36, in <module>
check_for_zmq('2.1.11', 'IPython.html')
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3
/site-packages/IPython/utils/zmqrelated.py", line 37, in check_for_zmq
raise ImportError("%s requires pyzmq >= %s"%(required_by,
minimum_version))
ImportError: IPython.html requires pyzmq >= 2.1.11
}}}
Is this a port flaw or could there be anything else going on? I'm running
OS X 10.9.2, Macports 2.2.1 and Xcode 5B130a. If there is any other
relevant information I left out please let me know!
--
Ticket URL: <https://trac.macports.org/ticket/43272>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list