Got following error after import turicreate
/home/prod/anj/learn/ml/mlvenv/lib/python3.7/site-packages/pandas/compat/__init__.py:117: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.
warnings.warn(msg)

Fix: I have ubuntu: For it sudo apt-get install liblzma-dev
Reading package lists... Done
Building dependency tree 
Reading state information... Done

Now I will go to my python3 source code directory from where I had installed it.
For me it is $ cd /opt/python3/Python-3.7.4/
and executed 
$ sudo ./configure --enable-optimizations
$ sudo make altinstall

Leave a Reply

Your email address will not be published. Required fields are marked *