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

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 *