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

Installation with pip #31

Open
fnattino opened this issue Jun 8, 2023 · 0 comments · May be fixed by #32
Open

Installation with pip #31

fnattino opened this issue Jun 8, 2023 · 0 comments · May be fixed by #32

Comments

@fnattino
Copy link

fnattino commented Jun 8, 2023

Thanks a lot for the very useful library!

I have faced an issue with the installation of morphsnakes using pip as described in the README file.

The issue is related to the dependencies of morphsnakes: numpy and scipy are not automatically installed when running pip install morphsnakes:

$ pip install morphsnakes
Collecting morphsnakes
  Using cached morphsnakes-2.0.1-py3-none-any.whl (7.8 kB). 
Installing collected packages: morphsnakes 
Successfully installed morphsnakes-2.0.1

so that when I try to import morphsnakes:

import morphsnakes

the following import error is raised:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/fnattino/Projects/Eratosthenes/Repos/morphsnakes/morphsnakes.py", line 56, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

I would be happy to help fixing this in order to use this tool as a dependency in a project package I am working on, so if you don't mind I will open a PR to address the issue!

@fnattino fnattino linked a pull request Jun 8, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant