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

Unmarked dependency on numpy. #7

Closed
SerpentChris opened this issue May 6, 2021 · 0 comments · Fixed by #9
Closed

Unmarked dependency on numpy. #7

SerpentChris opened this issue May 6, 2021 · 0 comments · Fixed by #9

Comments

@SerpentChris
Copy link

SerpentChris commented May 6, 2021

Steps to reproduce:

  1. Make and activate a fresh virtualenv.
  2. Install pyfma via pip
  3. Run the command python -c "import pyfma; pyfma.fma(1,2,3)"

The result is ModuleNotFoundError: No module named 'numpy'.

What I expect is to either be able to use pyfma without numpy, or for pyfma to automatically have pip download and install numpy when I install pyfma. I'm not an expert at setuptools but I think the first case requires making numpy an optional dependency, while the second case requires making numpy a required dependency.

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