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

在引入模块时出错。Error raised when import fool module. #64

Open
happypycode opened this issue Mar 26, 2020 · 2 comments
Open

Comments

@happypycode
Copy link

No description provided.

@happypycode
Copy link
Author

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\ProgramData\Anaconda3\lib\site-packages\fool\__init__.py", line 10, in <module>
    from fool import lexical
  File "C:\ProgramData\Anaconda3\lib\site-packages\fool\lexical.py", line 8, in <module>
    from fool.predictor import Predictor
  File "C:\ProgramData\Anaconda3\lib\site-packages\fool\predictor.py", line 8, in <module>
    from tensorflow.contrib.crf import viterbi_decode
ModuleNotFoundError: No module named 'tensorflow.contrib'

之所以这样是因为fool模块支持的tensorflow版本较低。
This is because that the fool module's tensorflow version support is not new.
我的版本是2.2.0rc1。
My version is 2.2.0rc1.

@happypycode
Copy link
Author

希望能更新!
Hope new version support!

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

1 participant