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

Morphsnake cannot be imported after installation #33

Open
NinikFL opened this issue Jan 8, 2024 · 1 comment
Open

Morphsnake cannot be imported after installation #33

NinikFL opened this issue Jan 8, 2024 · 1 comment

Comments

@NinikFL
Copy link

NinikFL commented Jan 8, 2024

I get morphsnake installation for my Docker image in the requirements.txt file. You can see it. The download is successful:
Successfully built morphsnakes
Installing collected packages: morphsnakes
Attempting uninstall: morphsnakes
Found existing installation: morphsnakes 0.0.9
Uninstalling morphsnakes-0.0.9:
Successfully uninstalled morphsnakes-0.0.9
Successfully installed morphsnakes-0.0.6

but i can't use the library. i'm trying with thos code to try the library:

try:
import morphsnakes
print("morphsnakes not yes intalled")
except ImportError:
print("morphsnakes cannot load please check your installed")

the output on the terminal: morphsnakes cannot load please check your installed

mean i get problem right from this library. can you help me? i mean i tried another way with save morpsnake.py file in my folder. but long time for make the outline of image when i just save the file and not the library. please corect me if my thinking is wrong.I will look forward to your reply

@AymericFerreira
Copy link

Hello,
This is surprising that the morphsnakes version is 0.0.9 and now 0.0.6 as the morphsnakes version on pypi is 2.0.1 : https://pypi.org/project/morphsnakes/#history
Copying script seems to work in your case (and is working for my installation), if it is taking time it can be expected because it depends on your computer and the size of the image.

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