-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error start python invesalius.py #22
Comments
Hi Breno, You have to compile the mips module. Inside the InVesalius folder: python setup.py build_ext --inplace |
Hi @tfmoraes. I performed the following steps:
|
It's seems to that a error happened at the 2nd step. It the mips modules doesn't exist, it's because it didn't compile correctly. |
Hey @tfmoraes Which is your version of Linux? |
I'm using Ubuntu. I tested it in MacOSX too, and I had no problems. I suggest you to start it again. |
Hi @tfmoraes After the command: python setup.py build_ext --inplace I have to go in folder invesalius/ and typed the command: python invesalius.py ?? |
If "python setup.py build_ext --inplace" runs ok, then yes. |
Hey @tfmoraes yet I'm with the same mistakes... already uninstalled Cython and installed by pip sudo apt-get remove --purge cython
sudo pip install cython my error: (python:10023): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python:10023): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python:10023): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python:10023): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python:10023): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python:10023): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1358, in Notify
self.notify()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14767, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "invesalius.py", line 174, in Startup
from gui.frame import Frame
File "/home/brenopolanski/Desktop/GitHub/nutes/projeto-invesalius/teste-compilacao/invesalius3/invesalius/gui/frame.py", line 34, in <module>
import default_viewers as viewers
File "/home/brenopolanski/Desktop/GitHub/nutes/projeto-invesalius/teste-compilacao/invesalius3/invesalius/gui/default_viewers.py", line 25, in <module>
import data.viewer_slice as slice_viewer
File "/home/brenopolanski/Desktop/GitHub/nutes/projeto-invesalius/teste-compilacao/invesalius3/invesalius/data/viewer_slice.py", line 30, in <module>
import styles
File "/home/brenopolanski/Desktop/GitHub/nutes/projeto-invesalius/teste-compilacao/invesalius3/invesalius/data/styles.py", line 34, in <module>
from skimage.morphology import watershed
ImportError: No module named skimage.morphology
Traceback (most recent call last):
File "invesalius.py", line 197, in OnClose
if self.fc.IsRunning():
AttributeError: 'SplashScreen' object has no attribute 'fc'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1358, in Notify
self.notify()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14767, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "invesalius.py", line 82, in Startup2
self.control = self.splash.control
AttributeError: 'SplashScreen' object has no attribute 'control' thanks again :) |
You need to install the package python-skimage On Tue, Sep 16, 2014 at 11:34 AM, Breno Polanski notifications@github.com
|
Thanks @tfmoraes. Problem solved ✌️ |
Hey guys.
I'm with problem in comand python invesalius.py.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1358, in Notify
self.notify()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/core.py", line 14767, in Notify
self.result = self.callable(self.args, *self.kwargs)
File "invesalius.py", line 174, in Startup
from gui.frame import Frame
File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/gui/frame.py", line 31, in
import default_tasks as tasks
File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/gui/default_tasks.py", line 25, in
import data_notebook as nb
File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/gui/data_notebook.py", line 36, in
import data.slice as slice
File "/home/brenopolanski/Desktop/SVN/invesalius3-3.0-b5/invesalius/data/slice.py", line 36, in
from data import mips
ImportError: cannot import name mips
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1358, in Notify
self.notify()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14767, in Notify
self.result = self.callable(_self.args, *_self.kwargs)
File "invesalius.py", line 82, in Startup2
self.control = self.splash.control
AttributeError: 'SplashScreen' object has no attribute 'control'
Traceback (most recent call last):
File "invesalius.py", line 197, in OnClose
if self.fc.IsRunning():
AttributeError: 'SplashScreen' object has no attribute 'fc'
The text was updated successfully, but these errors were encountered: