简体   繁体   English

Google Colaboratory本地主机中没有tensorflow

[英]No tensorflow in Google Colaboratory local host

There is no tensorflow in google colab local host machine and there is no way to install it. Google colab本地主机中没有tensorflow,也没有安装方法。 When I run train.py it shows no module named 'tensorflow'.I would really appreciate some help. 当我运行train.py时,它没有显示名为'tensorflow'的模块。我非常感谢您的帮助。

Unfortunately, there's no one-size-fits-all way to install TensorFlow on your local machine. 不幸的是,没有一种千篇一律的方法可以在您的本地计算机上安装TensorFlow。 (Part of the value of Colab's backends is dealing with all of that.) (Colab后端的部分价值是处理所有这些。)

Fortunately, TensorFlow does have a fairly comprehensive set of install steps for most common environments; 幸运的是,TensorFlow在大多数常见环境中确实具有相当全面的安装步骤。 see: https://www.tensorflow.org/install/ 请参阅: https//www.tensorflow.org/install/

My recommendation is to start there, try to work through the process, and, if you hit a snag, ask a follow-up question that describes your OS, install type, what you tried, and the error you encountered. 我的建议是从那里开始,尝试完成该过程,如果遇到困难,请询问一个后续问题,以描述您的操作系统,安装类型,尝试的操作以及遇到的错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用本地 GPU 的 Google Colaboratory 本地运行时 - Google Colaboratory local runtime using local GPU 如何在 google colaboratory 上使用 GPU 升级 tensorflow - How to upgrade tensorflow with GPU on google colaboratory 在Google Colaboratory上使用带有Tensorflow Eager执行的GPU - Using a GPU with Tensorflow Eager Execution on Google Colaboratory 模块'tensorflow'在google Colaboratory中没有属性'variable' - module 'tensorflow' has no attribute 'variable' in google Colaboratory Tensorflow 2.x 自定义损失 function on Google Colaboratory - Tensorflow 2.x custom loss function on Google Colaboratory 使用google colaboratory时如何降级tensorflow版本? - How to downgrade the tensorflow version when using google colaboratory? Google Colaboratory NotFoundError:/usr/local/lib/python3.7/dist-packages/tensorflow_text/python/metrics/_text_similarity_metric_ops.so - Google Colaboratory NotFoundError: /usr/local/lib/python3.7/dist-packages/tensorflow_text/python/metrics/_text_similarity_metric_ops.so 如何从本地驱动器上传大数据并将其保存到Google Colaboratory? - How to upload and save large data to Google Colaboratory from local drive? OpenCV 在 Google Colaboratory 中不起作用 - OpenCV not working in Google Colaboratory Google Colaboratory 上带有 GPU 的 XGBoost - XGBoost with GPU on Google Colaboratory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM