Segmentation fault on import

Hi Tiago,

thank you for the great tool that I really enjoy using. It's just great for analysing big networks with millions of nodes. However, I've recently switched machines and I'm experiencing a problem while trying to import the library. I have conducted some tests and the results are as follow:

  1. import graph_tool doesn't result in any problems.
  2. from graph_tool.all import * results in Segmentation fault. By using faulthandler I've managed to get the following:
 >>> from graph_tool.all import *
Fatal Python error: Segmentation fault

Current thread 0x00007fcc6e68d740 (most recent call first):
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1043 in create_module
  File "<frozen importlib._bootstrap>", line 583 in module_from_spec
  File "<frozen importlib._bootstrap>", line 670 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
  File "<string>", line 1 in <module>
  File "/opt/anaconda3/lib/python3.7/site-packages/graph_tool/dl_import.py", line 61 in dl_import
  File "/opt/anaconda3/lib/python3.7/site-packages/graph_tool/draw/cairo_draw.py", line 89 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/opt/anaconda3/lib/python3.7/site-packages/graph_tool/draw/__init__.py", line 880 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/opt/anaconda3/lib/python3.7/site-packages/graph_tool/all.py", line 35 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<stdin>", line 1 in <module>

Info on Python and OS:

   Static hostname: XXXXXXXXXXX
         Icon name: computer-vm
           Chassis: vm
        Machine ID: XXXXXXXXXXX
           Boot ID: XXXXXXXXXXX
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1062.4.3.el7.x86_64
      Architecture: x86-64

I'm using Python from Anaconda:

(base) -bash-4.2$ python --version
Python 3.7.3
(base) -bash-4.2$ conda --version
conda 4.8.0

Please note that I'm able to make this import:

>>> import graph_tool as gt
>>> gt.__version__
'2.29 (commit d4154c6c, Tue Aug 27 13:21:10 2019 +0000)'

However upon executing from graph_tool.draw import graph_draw I get the same error (and the error stack) that I get with from graph_tool.all import *.