tensorflow: 'pip install tensorflow' does not work on FreeBSD

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): FreeBSD 12.2
  • TensorFlow installed from (source or binary): trying to install binary using pip
  • TensorFlow version: any
  • Python version: 3.8

Describe the problem

pip install tensorflow does not work on FreeBSD. Apparently there is no precompiled package for FreeBSD. Why?

FreeBSD% ./spleeter/bin/pip install tensorflow     
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

Any other info / logs Was pointed to this issue tracker from https://github.com/pypa/packaging-problems/issues/547.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 24 (4 by maintainers)

Most upvoted comments

You can’t precompile wheels for FreeBSD and upload them to PyPI. Last I checked, there’s not a proper BSD compatibility guarantee (either forward or between BSDs, from what I understand) to allow a “ManyBSD” wheel (like manylinux & GLIBC, or even musllinux with MUSL), so binaries cannot be provided for it by anyone on PyPI - this is not tensorflow specific. Currently the only option is to go with some sort of BSD packaging system other than pip.

We could attempt to provide one though