我已经安装了一个python包python setup.py install.
我该如何卸载它?
我正在尝试导入模块,keras.utils.data_utils但它无法正常工作.但是,我可以在这里找到这个模块.它确实存在.为什么我不能导入它,而我可以导入其他模块,如keras.models和keras.layers.core?
cliu@cliu-ubuntu:bin$ python
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import print_function
>>> from keras.models import Sequential
>>> from keras.layers.core import Dense, Activation, Dropout
>>> from keras.layers.recurrent import LSTM
>>> from keras.utils.data_utils import get_file
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named data_utils
Run Code Online (Sandbox Code Playgroud)
编辑:
请看这里的答案.
我必须删除一个名为"django"(一个流行的)的python模块,因为我安装了错误的版本(py-2.6中的1.3-beta).
如何卸载此模块?
请解释一下,因为我只在Windows中使用python而在Ubuntu中从不使用过python.
python ×3
django ×1
import ×1
keras ×1
pypi ×1
python-2.7 ×1
python-3.x ×1
setup.py ×1
uninstall ×1