Skip to content
Advertisement

tensorflow error when installing turicreate?

When I install turicreate package, it gives me the following error:

JavaScript

which I encountered the same when installing tensorflow 2.0.0.

And I managed to install tensorflow2 with modification to the version(add a ‘a0′,’b0′,’b1’ after ‘2.0.0’) using pip3 install tensorflow==2.0.0a0. However, I still cannot pass the installation of turicreate even with tensorflow2.0.0a0 installed and result in the same ‘tensorflow error’ shown above. I am using python 3.6, numpy 1.16.5.

Can you please help me out?

Advertisement

Answer

I was having the same problem when I tried to install turicreate on the Jupyter Docker image that comes with some data science libraries loaded:

  • Image: jupyter/scipy-notebook
  • Packages: pandas, numexpr, matplotlib, scipy, seaborn, scikit-learn, scikit-image, sympy, cython, patsy, statsmodel, cloudpickle, dill, numba, bokeh, sqlalchemy, hdf5, vincent, beautifulsoup, protobuf, and xlrd packages
  • Error message:

    JavaScript

However, when I took the basic (stripped) Jupyter image, it worked:

  • Image: jupyter/base-notebook
  • Packages: git, emacs, jed, nano, tzdata, and unzip

Installation instructions for turicreate:

JavaScript

Output:

JavaScript

So, I guess the problem is that some of the libraries that you have installed in your environment conflict with turicreate. Perhaps you should try to use the above mentioned Docker image or try to create a virtual environment so you work in isolation (not tested this).

Info on the different Docker images:

https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-scipy-notebook

Turicreate installation instructions where they comment on the virtual environment:

https://github.com/apple/turicreate#installation

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement