简体   繁体   English

我在我的 python 3.6 中安装了 tensorflow,但我无法将它导入我在 visual code studio 中的项目

[英]I installed tensorflow in my python 3.6 but i can't import it into my project in visual code studio

I installed tensorflow in Python 3.6.4 but i cannot import it into my project in Visual code studio the error is ( ImportError: DLL load failed: Le module spécifié est introuvable) How i can solve this problem please?我在 Python 3.6.4 中安装了 tensorflow,但我无法将其导入到 Visual Code Studio 中的项目中,错误是(导入错误:DLL 加载失败:Le module spécifié est introuvable)请问我该如何解决这个问题? 在此处输入图像描述

在此处输入图像描述

You can try creating a new environment first and the install any lower version of tensorflow(1.14).您可以尝试先创建一个新环境,然后安装任何较低版本的 tensorflow(1.14)。 If Visual studios and its build tools are installed correctly then it will work for sure.如果正确安装了 Visual Studios 及其构建工具,那么它肯定可以工作。

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

相关问题 即使我安装了它,也无法在 Visual Studio Code 中导入 Kivy - Can't import Kivy in Visual Studio Code even I installed it 我如何在 python Visual Studio 代码中使用我的 GPU - how can i work with my GPU in python Visual Studio Code 我无法通过Visual Studio在python中运行Sigmoid函数代码 - I can't run my sigmoid function code in python by visual studio 为什么我不能从Visual Studio Code中选择所有已知的Python环境? - Why can't I choose all of my known Python Environments from Visual Studio Code? Visual Studio 代码找不到我用 pip 安装的 python 模块 - visual studio code can't find my python module i've installes with pip 我无法在Visual Studio Code上格式化Python文件:“没有安装用于'python'文件的文档格式化程序。” - I can't format Python file on Visual Studio Code: “There is no document formatter for 'python'-files installed.” 我无法在 Visual Studio 代码中导入 openpyxl - I can't import openpyxl in visual studio code 我无法在 Visual Studio 代码中导入 pygame - i can't import pygame in visual studio code Visual Studio 代码 - 我应该在我的项目文件夹中的虚拟环境中安装 python 吗? - visual studio code-should I install python in virtual environment in the folder of my project? 为什么我不能将我的模块导入到我的主代码中? - Why can't I import my module into my main code?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM