decision-forests: pip install does not work on Mac

Hey there,

First of all, congratulations for your effort, this is a great initiative!

I am raising this issue because I have faced a problem with installation. I have created a Python 3.8.6 virtual environment on my Mac and installed tensorflow 2.5.0 successfully. When I ran the installation command for the “Tensorflow Decision Forests” package, pip3 install tensorflow_decision_forests --upgrade

I got:

ERROR: Could not find a version that satisfies the requirement tensorflow_decision_forests (from versions: none) ERROR: No matching distribution found for tensorflow_decision_forests

It’s a bit confusing because the installation command on PyPi (I guess this is the right one) contains dashes ,instead of underscores, in the package name.

Any ideas?

Thanks a lot

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 15
  • Comments: 40

Most upvoted comments

hi Thanos,

Indeed the Mac version is in our TODO list, as is with windows (see issue #3 ), hence pip not finding a matching tensorflow_decision_forests version.

We’ll keep this issue opened and use it to post updates. Sorry about that.

me too,not work on Mac OS m1

@janpfeifer, can you tell me when tfdf will be available for Windows?

@janpfeifer Look forward to the MAC version update, thank you!

Hi,

We just published a MacOS pre-release for TF-DF 1.0.1 here: https://github.com/tensorflow/decision-forests/releases/tag/macos-1.0.1 This includes packages for Apple silicon (M1 / M2) processors

Everyone is invited to test it and report any bugs. Please include as much information about your python version and system as you’re comfortable sharing (e.g. the output of python3 -m pip debug -v)

We plan to upload the release to Pypi as soon as possible.

Thank you for your prompt response Looking forward to start playing with the library 😃

Have a good day!

We just published TF-DF 1.0.1 for Mac on PyPi 😃

thanks! with the change, I can install now

hi @AlirezaSadeghi, this was very timely, since @achoum just released the Mac version yesterday, v0.2.3:

https://github.com/tensorflow/decision-forests/releases/tag/0.2.3

Let us know how it goes – it’s new, so there may be some initial bumps (hopefully none). And apologies it took so long, there were some issues in TF build process that only now got sorted out (afaik).

For Mac/Windows users: a quick fix to get your feet wet while a version in pip is being prepared is to use the model in Google Colab, or if you are an advanced user that really wants to use a local install, you can create a docker with ubuntu.

(Incidentally, @janpfeifer no need to apologise! Best to put a version out there and keep adding more things than wait. Thanks very much to you and your team for your work on tfdf)