Hi all,
I’m creating a new module for 3D Slicer 4.8.1. It will have to connect to MySql database. So, first of all I installed mysql-connetor in ubuntu
pip install mysql-connector
then in my 3D Slicer module I added
import mysql.connector
But when I run 3D Slicer, it tells me
Traceback (most recent call last):
File “”, line 1, in
File “/home/pippo/Git/Project/src/Module.py”, line 8, in
import mysql.connector
ImportError: No module named mysql.connector
Can someone help me?
Thanks
Carlo