我安装了最新版本的Python (3.6.4 64-bit)和最新版本的PyCharm (2017.3.3 64-bit).然后我在PyCharm(Numpy,Pandas,...)中安装了一些模块,但是当我尝试安装Tensorflow时它没有安装,我收到了错误消息:
找不到满足要求tensorflow的版本(来自版本:)没有找到tensorflow的匹配分布
然后我尝试从命令提示符安装tensorflow,我得到了相同的错误消息.然而,我确实安装了tflearn.
我还安装了Python 2.7,但我又得到了相同的错误消息.我搜索了这个错误并尝试了一些建议给其他人的东西,但没有任何效果(包括安装Flask).
如何安装Tensorflow?谢谢.
pip我已经在 Mac Mini 2020 M1 上安装了 Tensorflow 和 Metal 插件,
$ pip3 install tensorflow-macos tensorflow-metal\n$\xc2\xa0pip3 uninstall numpy #\xc2\xa0related to https://stackoverflow.com/q/66060487/2395656 \n$ pip3 install numpy==1.20.3\nRun Code Online (Sandbox Code Playgroud)\n然后我尝试列出设备以查看 Mac GPU,
\nimport tensorflow\n\nd = tensorflow.config.list_physical_devices()\n\nprint(d)\nRun Code Online (Sandbox Code Playgroud)\n它产生错误,
\nInit Plugin\nInit Graph Optimizer\nInit Kernel\nInit Plugin\n2021-06-10 02:20:21.128021: F tensorflow/c/experimental/stream_executor/stream_executor.cc:823] Non-OK-status: stream_executor::MultiPlatformManager::RegisterPlatform( std::move(cplatform)) status: Internal: platform is already registered with name: "METAL"\nRun Code Online (Sandbox Code Playgroud)\n我认为 Metal 插件正在尝试多次注册自身。
\n请帮忙,谢谢!
\n