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

Import error #13

Closed
francismontalbo opened this issue Jan 13, 2022 · 6 comments
Closed

Import error #13

francismontalbo opened this issue Jan 13, 2022 · 6 comments

Comments

@francismontalbo
Copy link

Hello, I installed the package already but when I import it I get an error

No module named 'seg_metrics'

@Jingnan-Jia
Copy link
Owner

Jingnan-Jia commented Jan 16, 2022

Hi, can you ensure you successfully install the package by the following command?

pip install seg-metrics

Could you please check if the module is installed in your current environment ("pip list" will show all the installed packages in the current environment)

@Jingnan-Jia
Copy link
Owner

Jingnan-Jia commented Jan 16, 2022

image

This screenshot shows how it works in my environment.

@francismontalbo
Copy link
Author

Yes, it is successfully installed on my pip list. But it won't import with 'seg_metrics'

@Jingnan-Jia
Copy link
Owner

Jingnan-Jia commented Jan 16, 2022

image

It seems very weird. Because I tried it on my google Colab and it works.

Can you uninstall and install it again ? Also make sure the version is the latest.
Or can you provide more details so that I can reproduce it?

@francismontalbo
Copy link
Author

I find it weird as well. I don't know why its not being found.

image

@Jingnan-Jia
Copy link
Owner

It would be better if you can let others reproduce your issue. I can not reproduce your issue. I guess it is because of your environment. I advise you to create a new clean environment and install the package again.

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