[MacPorts] #43513: import graph-tool error
#43513: import graph-tool error --------------------------+-------------------------------- Reporter: ollinger_s@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: graph-tool | Port: py27-graph-tool --------------------------+-------------------------------- Hello, I've installed graph-tool with macport using : {{{ port install py27-graph-tool }}} Installation seems to work perfectly but, when I try to import graph-tool, an error occur: {{{ Python 2.7.6 (default, Nov 12 2013, 13:10:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import graph_tool as gt Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/graph_tool/__init__.py", line 96, in <module> import scipy.stats File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/scipy/stats/__init__.py", line 324, in <module> from .stats import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/scipy/stats/stats.py", line 242, in <module> import scipy.special as special File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/scipy/special/__init__.py", line 531, in <module> from ._ufuncs import * File "__init__.pxd", line 155, in init scipy.special._ufuncs (scipy/special/_ufuncs.c:20976) ValueError: numpy.dtype has the wrong size, try recompiling }}}
I've try if the same problem occur when I import scipy.stats and it is the case. Actually, there were 2 version of numpy and scipy installed on my computer. So, I try to uninstall all and to re-install. Presently the following versions are installed on my computer: {{{ port installed | grep py27-numpy py27-numpy @1.8.1_0 (active) port installed | grep py27-scipy py27-scipy @0.13.3_1+gcc48 (active) port installed | grep py27-graph-tool py27-graph-tool @2.2.26_0 (active) }}} Unfortunately, I still have the same problems. Could you help me solve this problem? Best regards, Sandrine -- Ticket URL: <https://trac.macports.org/ticket/43513> MacPorts <http://www.macports.org/> Ports system for OS X
#43513: import graph-tool error ----------------------------+--------------------- Reporter: ollinger_s@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-graph-tool | ----------------------------+--------------------- Changes (by mf2k@…): * owner: macports-tickets@… => mmoll@… * cc: ollinger_s@… (removed) * cc: tiago@… (added) * port: py27-graph-tool => py-graph-tool * keywords: graph-tool => Comment: In the future, please Cc the port maintainers ({{{port info --maintainers py27-graph-tool}}}). As reporter, you do not need to Cc yourself. -- Ticket URL: <https://trac.macports.org/ticket/43513#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43513: import graph-tool error ----------------------------+--------------------- Reporter: ollinger_s@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-graph-tool | ----------------------------+--------------------- Comment (by mmoll@…): I don't see how this is a graph-tool problem. It looks like an error in scipy. What happens if you type this in python: {{{ import scipy.stats }}} -- Ticket URL: <https://trac.macports.org/ticket/43513#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43513: import graph-tool error ----------------------------+--------------------- Reporter: ollinger_s@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-graph-tool | ----------------------------+--------------------- Comment (by ollinger_s@…): Allright, I'm sorry, I'm a beginer in Ptyhon. I'll make a new ticket about my scipy problem. Thank for your attention. -- Ticket URL: <https://trac.macports.org/ticket/43513#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#43513: import graph-tool error ----------------------------+--------------------- Reporter: ollinger_s@… | Owner: mmoll@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: py-graph-tool | ----------------------------+--------------------- Changes (by mmoll@…): * status: new => closed * resolution: => invalid Comment: No big deal; I'll close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/43513#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts