TypeError: 'module' object is not callable
来源:互联网 发布:淘宝品牌授权 编辑:程序博客网 时间:2024/04/27 23:51
无论如何创建虚拟环境都会报错TypeError: 'module' object is not callable
virtualenv test
New python executable in /home/work/share/myenv/feed/train/test/bin/python
Installing setuptools, pip, wheel...
Complete output from command /home/work/share/mye...rain/test/bin/python - setuptools pip wheel:
Traceback (most recent call last):
File "<stdin>", line 7, in <module>
File "/home/work/local/lib/python2.7/site-packages/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl/pip/__init__.py", line 5, in <module>
File "/home/work/local/lib/python2.7/logging/__init__.py", line 94, in <module>
_startTime = time.time()
TypeError: 'module' object is not callable
----------------------------------------
搜了好久不知道咋回事。后来才发现,自己的文件夹中有一个time.py的文件冲突了,修改名字,删除pyc文件就好了。
- TypeError: 'module' object is not callable
- TypeError: 'module' object is not callable
- TypeError: 'module' object is not callable
- python TypeError: 'module' object is not callable
- TypeError: 'module' object is not callable
- TypeError: 'module' object is not callable
- python错误TypeError: 'module' object is not callable 的解决方法
- 【Python】TypeError: 'module' object is not callable 原因分析
- TypeError: 'module' object is not callable 原因分析
- python错误TypeError: 'module' object is not callable 的解决方法
- 【Python】TypeError: 'module' object is not callable 原因分析
- TypeError: 'module' object is not callable 原因分析
- 【Python】TypeError: 'module' object is not callable 原因分析
- python import 包问题:TypeError: 'module' object is not callable
- 【python系列】TypeError: 'module' object is not callable 原因分析
- TypeError: 'module' object is not callable 原因分析
- TypeError: 'module' object is not callable 原因分析
- TypeError: 'module' object is not callable 原因分析
- vue的computed计算属性学习
- Elasticsearch之文档基本操作。
- iOS中tabBar按钮再次点击实现界面刷新
- LeetCode链表(不断更新)
- 小明求素数积
- TypeError: 'module' object is not callable
- window.opener.document.getElementById
- 数据结构:顺序表的实现(C语言实现)
- Focal Loss 反向求导及darknet上的实现
- String变量创建过程
- Android 反编译 + 修改内容+发布
- 二叉树
- JUC系列之CyclicBarrier/CountDownLatch/Semaphore
- 3章 Matrices and Vector