Comments (10)
Hi Breno,
You have to compile the mips module. Inside the InVesalius folder:
python setup.py build_ext --inplace
from invesalius3.
Hi @tfmoraes.
I performed the following steps:
-
Installed packages:
- python-numpy
- python-scipy
- python-wxgtk2.8
- python-imaging
- python-vtk
- python-gdcm
- python-vtkgdcm
- python-casmoothing
- python-nibabel
- python-serial
- python-psutil
- cython
-
Then I typed the following command:
python setup.py build_ext --inplace
-
After... opened the folder invesalius/ and typed the command:
python invesalius.py
from invesalius3.
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.
from invesalius3.
Hey @tfmoraes
Which is your version of Linux?
from invesalius3.
I'm using Ubuntu. I tested it in MacOSX too, and I had no problems. I suggest you to start it again.
from invesalius3.
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
??
from invesalius3.
If "python setup.py build_ext --inplace" runs ok, then yes.
from invesalius3.
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 :)
from invesalius3.
You need to install the package python-skimage
On Tue, Sep 16, 2014 at 11:34 AM, Breno Polanski [email protected]
wrote:
Hey @tfmoraes https://github.com/tfmoraes
yet I'm with the same mistakes...
already uninstalled Cython and installed by pip
sudo apt-get remove --purge cython
sudo pip install cythonmy 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
import default_viewers as viewers
File "/home/brenopolanski/Desktop/GitHub/nutes/projeto-invesalius/teste-compilacao/invesalius3/invesalius/gui/default_viewers.py", line 25, in
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
import styles
File "/home/brenopolanski/Desktop/GitHub/nutes/projeto-invesalius/teste-compilacao/invesalius3/invesalius/data/styles.py", line 34, in
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 :)
—
Reply to this email directly or view it on GitHub
#22 (comment)
.
from invesalius3.
Thanks @tfmoraes.
Problem solved ✌️
from invesalius3.
Related Issues (20)
- Implement MRI pixel intensity normalization
- Implement MRI pixel normalization in DICOM reader
- Silent crash on turning off Navigation mode HOT 1
- M1 - Sonoma - Issue installing InVesalius.3.1.99997.arm64.dmg HOT 6
- Selecting Debug tracker for the first time freezes all interaction with UI HOT 2
- Restoring state is not loading previous markers HOT 1
- Coil is visible when opening a new project or starting a new session without recovering the previous state
- Cross and other toolbar commands (brightness, move, rotate, ...) enabled simultaneously HOT 4
- Python 3.8 compatibility broken HOT 12
- Error when closing InVesalius with Debug tracker approach HOT 3
- Fix the rotation of the 3D scene to the center of the head
- Unused methods and undefined variables in GradientCtrl class in gradient.py HOT 2
- Outdated user manual HOT 5
- Coregistration fiducial buttons are positioned incorrectly HOT 1
- 3D mask preview gets stuck in low resolution if translated or rolled
- Set camera in 3D to look towards the face in MRI modality
- In Refine coregistration ask the user to clean non-visible faces from the 3D surface
- Include the peeled brain surface in the Data menu as another "Surface"
- Update of the targeting UI when the button in Navigation panel are adjusted has issues
- Handling Deprecated Modules HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invesalius3.