python - arch -i386 ipython notebook Error -


i have installed required packages run ipython notebook using macports +universal build option. can run ipython arch -i386 ipython without problem. have opened notebook using 64bit build. however, when try open notebook in 32bit mode following error:

    traceback (most recent call last):   file "/opt/local/library/frameworks/python.framework/versions/3.3/lib/python3.3/site-packages/zmq/__init__.py", line 52, in <module>     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, wrong architecture  during handling of above exception, 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 trying `import zmq` 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, wrong architecture trying `import zmq` pyzmq source dir?  during handling of above exception, 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)) 

any suggestions appreciated!

if port installed /opt/local/library/frameworks/python.framework/versions/3.3/lib/python3.3/site-packages/zmq/utils/initthreads.so installed universal variant (use port provides $file find out port is), that's bug in said port. please file ticket this.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -