python - Tensorflow 最大递归深度仅在导入时超过
问题描述
我正在尝试启动一个 Tensorflow 项目,我可以安装它,但是当我这样做时,import tensorflow as tf
它会给我一个错误。我正在使用 Python 3.8,Cuda CudNN ...
错误:
File "C:\Users\Felipe Garcia\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python\_pywrap_tensorflow_internal.py", line 18, in swig_import_helper fp, pathname, description = imp.find_module('_pywrap_tensorflow_internal', [dirname(__file__)])
File "C:\Users\Felipe Garcia\AppData\Local\Programs\Python\Python38-32\lib\imp.py", line 301, in find_module
encoding = tokenize.detect_encoding(file.readline)[0]
RecursionError: maximum recursion depth exceeded while calling a Python object
这只是错误的结束,但其余的错误都是一样的,而且很长。
谢谢大家。
解决方案
推荐阅读
- javascript - How to sort by object property with a minus sign in mongoose?
- javascript - Adding the function parameters to an empty array
- python - Python 到 C++ 数据结构 API
- python - Python递归多处理 - 线程太多
- database - 最佳时间序列大数据数据库
- android - 1分钟后如何停止截击请求
- firebase - 在 Firebase 函数中更新没有 id 的对象子对象
- git - Git: is there a way to stash a diff result from two branches?
- python - 如何使用 while 语句确保一维数组有效?
- c - 了解 C 与其对应的汇编语言