Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'textclf.utils' #2

Open
renmada opened this issue Apr 28, 2020 · 2 comments
Open

No module named 'textclf.utils' #2

renmada opened this issue Apr 28, 2020 · 2 comments

Comments

@renmada
Copy link

renmada commented Apr 28, 2020

pip装的
(base) vocust001@ubuntu:~/anaconda3/lib/python3.7/site-packages$ textclf
Traceback (most recent call last):
File "/home/vocust001/anaconda3/bin/textclf", line 11, in
load_entry_point('textclf==0.1.0', 'console_scripts', 'textclf')()
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 2859, in load_entry_point
return ep.load()
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 2450, in load
return self.resolve()
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 2456, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/textclf-0.1.0-py3.7.egg/textclf/main.py", line 9, in
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/textclf-0.1.0-py3.7.egg/textclf/data/init.py", line 1, in
# -- coding: utf-8 --
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/textclf-0.1.0-py3.7.egg/textclf/data/raw.py", line 5, in
File "/home/vocust001/anaconda3/lib/python3.7/site-packages/textclf-0.1.0-py3.7.egg/textclf/data/dictionary.py
ModuleNotFoundError: No module named 'textclf.utils'

@qijunhui
Copy link

qijunhui commented Jul 2, 2020

解决了吗?我也是遇到 No module named 'textclf.utils'

@luopeixiang
Copy link
Owner

pip安装可能有点问题,可以尝试clone整个仓库,然后在项目目录下面运行 pip install -e .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants