Attempted relative import in non-package
来源:互联网 发布:淘宝品牌代理加盟 编辑:程序博客网 时间:2024/06/05 04:23
Attempted relative import in non-package
C:\Users\libanggeng\AppData\Local\Continuum\Miniconda3\envs\python2\lib\site-packages\PIL\Image.py in <module>() 25 # 26 ---> 27 from . import VERSION, PILLOW_VERSION, _plugins 28 29 import loggingValueError: Attempted relative import in non-package
解决:
conda install Pillow
可能是原来就有pil 把pil卸载了再安装Pil 后来就好了
conda install Pil
阅读全文
0 0
- [Python]Attempted relative import in non-package
- Attempted relative import in non-package
- Python:Relative import 相对路径 ValueError: Attempted relative import in non-package
- Python:Relative import 相对路径 ValueError: Attempted relative import in non-package
- 解决python相对导入出现错误:Attempted relative import beyond toplevel package
- package&import
- package&&import
- package 、import
- Package & import
- package import
- package &import
- ant import relative path
- Eclipse Plug-in dependencies – Required Bundle vrs. Import-Package
- Non-resolvable import POM: Failure to find Dalston.RC1 in was cached in the local repository
- package、import和import static
- package 与 import
- package 与 import
- package 与 import
- Android MediaPlayer 多媒体(视频播放器)
- 导致页面顶部空白一行解决方法
- BZOJ 2049 洞穴勘测 (LCT 模板)
- leetcode -- 125. Valid Palindrome 【有效的回文 + 带条件的双指针】
- linux实时系统阵营
- Attempted relative import in non-package
- 笔记1:函数的概述与递归函数
- mybaits 更新choose标签条件Y加了单引号报错
- zoj-1094Matrix Chain Multiplication(栈来实现矩阵相乘)
- CodeForces
- Android应用层View绘制流程与源码分析
- 暑期集训之最小公倍数
- MySQL入门之创建、修改、删除、查看数据库
- python实现linux下的简单进程监控