apple / tensorflow_macos

TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
Other
3.66k stars 308 forks source link

I am unable to install Tensorflow on my mac without Virtual Environment, how can I fix this #222

Open Prashant-Kesharwani opened 3 years ago

Prashant-Kesharwani commented 3 years ago

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template

System information

Describe the problem

import tensorflow as tf Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'tensorflow'

Provide the exact sequence of commands / steps that you executed before running into the problem

Any other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

essandess commented 3 years ago

It’s possible, and it works. Please see https://github.com/macports/macports-ports/pull/10625:

sudo port install py38-tensorflow_macos