Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #22397

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 1月 23, 2020 by saxon_zh@saxon_zhGuest

jupyter notebook导入paddle出错(通过conda进行安装的paddle)

Created by: ahsdx

建立issue时,为快速解决问题,请您根据使用情况给出如下信息:

  • 版本、环境信息:    1)PaddlePaddle版本:1.6.3.post107    2)CPU:i5-9300H,CUDA-7.4和CUDNN-10.0    4)系统环境:win10家庭中文版、Python3.7
  • 安装方式信息: 1)conda安装           
  • 复现信息:通过conda安装后在jupyter notebook配置好paddle的python环境后,输入代码 import paddle,然后报错
  • 问题描述:已经通过conda安装paddle成功了(在anaconda prompt已经测试过,我的操作系统是win10家庭版),然后在jupyter notebook配置好paddle的python环境后,输入代码 import paddle 报错了,报错信息如下:

D:\Anaconda3\envs\paddle_env\lib\site-packages\numpy_init_.py:140: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service from . import _distributor_init

ImportError Traceback (most recent call last) in ----> 1 import paddle

D:\Anaconda3\envs\paddle_env\lib\site-packages\paddle_init_.py in 15 from paddle.check_import_scipy import check_import_scipy 16 ---> 17 check_import_scipy(os.name) 18 19 try:

D:\Anaconda3\envs\paddle_env\lib\site-packages\paddle\check_import_scipy.py in check_import_scipy(OsName) 25 raise ImportError( 26 print_info + ---> 27 "\nplease download visual C++ Redistributable for vs 2015, https://www.microsoft.com/en-us/download/details.aspx?id=48145" 28 ) 29 return

ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy c-extensions failed.

Try uninstalling and reinstalling numpy.

If you have already done that, then:

Check that you expected to use Python3.7 from "D:\Anaconda3\envs\paddle_env\python.exe", and that you have no directories in your PATH or PYTHONPATH that can interfere with the Python and numpy version "1.18.1" you're trying to use. If (1) looks fine, you can open a new issue at https://github.com/numpy/numpy/issues. Please include details on: how you installed Python how you installed numpy your operating system whether or not you have multiple versions of Python installed if you built from source, your compiler versions and ideally a build log If you're working with a numpy git repository, try git clean -xdf (removes all files not under version control) and rebuild numpy.

Note: this error has many possible causes, so please don't comment on an existing issue about this - open a new one instead.

Original error was: DLL load failed: 找不到指定的模块。

please download visual C++ Redistributable for vs 2015, https://www.microsoft.com/en-us/download/details.aspx?id=48145

我已经安装报错信息下载了vs 2015:vc_redist.x86.exe和vc_redist.x64.exe,并都进行了安装,然后重启,但是打开jupyter notebook ,还是出现如上一样的错误,这个怎么办啊?已经搞了一天了

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#22397
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7