Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • VisualDL
  • Wiki
  • FAQ

V
VisualDL
  • 项目概览

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

通知 89
Star 4655
Fork 642
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 10
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 2
  • Wiki 5
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
V
VisualDL
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 10
    • Issue 10
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 2
    • 合并请求 2
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 5
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板

FAQ

最后修改来自于daminglu 4月 23, 2018
页面历史

Q: What if I can 'pip install' visualdl but cannot find the module while running it?

A: It could be due to the mismatch of the locations from 'python' and 'pip'. For example, a user could install visualdl here:

[develop]$ pip show visualdl
Name: visualdl
Version: 1.0.0
Summary: Visualize Deep Learning
Home-page: UNKNOWN
Author: PaddlePaddle and Echarts team
Author-email: UNKNOWN
License: Apache License
Location: /usr/local/lib/python2.7/site-packages
Requires: Flask, Pillow, numpy, protobuf, scipy

But his/her python is actually here:

[develop]$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python

So when running visualdl, the system would look for the visualdl command in 2.7/lib/python2.7/site-packages/

One hacky solution is to simply copy the installed files at the pip location to the python location:

cp -r /usr/local/lib/python2.7/site-packages/visualdl /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/

A more stable suggestion is to use Anaconda's virtual environment and its python to do the installation.

Q: I got an 'Abort trap : 6' error while running visualdl, how to fix it?

A: It is because the system cannot find where 'visualdl' is. If you type python -c 'import visualdl', it should give you a module-not-found error. Try to setup visualdl locally from a conda environment. After installing, pip show visualdl should show something like below:

Name: visualdl
Version: 1.0.0
Summary: Visualize Deep Learning
Home-page: UNKNOWN
Author: PaddlePaddle and Echarts team
Author-email: UNKNOWN
License: Apache License
Location: /Users/<username>/anaconda2/envs/conda_vdl/lib/python2.7/site-packages
Requires: Pillow, protobuf, Flask, scipy, numpy

In this case, the 'visualdl' command should be able to be found.

克隆仓库
  • FAQ
  • Graph 接口定义
  • Home
  • How to use pre commit
  • example of LogReader
渝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