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

On system without cmake, pip install silently fails #64

Closed
msm-code opened this issue Feb 6, 2020 · 1 comment
Closed

On system without cmake, pip install silently fails #64

msm-code opened this issue Feb 6, 2020 · 1 comment

Comments

@msm-code
Copy link
Contributor

msm-code commented Feb 6, 2020

When installing with pip on system without cmake (for example, in a docker container) pip install finishes without errors:

$ pip install yaramod
Collecting yaramod
  Downloading https://files.pythonhosted.org/packages/30/ab/015d137c65bd189d7a29b55f53d9f6ec5c98a890d14dc052b885e9175449/yaramod-3.3.3.tar.gz (605kB)
    100% |████████████████████████████████| 614kB 1.7MB/s
Building wheels for collected packages: yaramod
  Failed building wheel for yaramod
  Running setup.py clean for yaramod
Failed to build yaramod
Installing collected packages: yaramod
  Running setup.py install for yaramod ...
-
done
Successfully installed yaramod-3.3.3
root@3132c677476f:~# pip install yaramod
Requirement already satisfied: yaramod in /usr/local/lib/python3.7/site-packages (3.3.3)

But it can't be imported:

root@3132c677476f:~# python
>>> import yaramod
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'yaramod'

I would expect pip install to fail when the required modules can't be built

@metthal
Copy link
Member

metthal commented Feb 7, 2020

Thank you for the report. Confirming that it indeed passes successfully even without cmake. We'll try to look into it hopefully next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants