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

ImportError: cannot import name 'FitlogCallback' from 'fastNLP' (unknown location) #422

Open
mobashgr opened this issue Aug 5, 2022 · 1 comment

Comments

@mobashgr
Copy link

mobashgr commented Aug 5, 2022

Hi,
I have installed fastNLP as shown in the instructions , however I have this error

ImportError: cannot import name 'FitlogCallback' from 'fastNLP' (unknown location)

Here is FastNLP-1.0.0a0-py3.9.egg/fastNLP/init.py

from fastNLP.envs import *
from fastNLP.core import *

version = '1.0.0alpha'

@yhcc
Copy link
Member

yhcc commented Aug 6, 2022

Hi, we tried to install fastNLP1.0.0a in a new environment, but everything worked properly, we cannot replicate the error. Can you try to install it in a new python environment?

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

2 participants