You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3 -m pip install --global-option="build" --global-option="--enable-cuckoo" --global-option="--enable-magic" --no-cache-dir yara-python
/usr/lib/python3/dist-packages/pip/_internal/commands/install.py:255: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
cmdoptions.check_install_build_global(options)
Collecting yara-python
Downloading yara-python-4.1.0.tar.gz (425 kB)
|████████████████████████████████| 425 kB 10.6 MB/s
Skipping wheel build for yara-python, due to binaries being disabled for it.
Installing collected packages: yara-python
Running setup.py install for yara-python ... done
Successfully installed yara-python-4.1.0
Here's the package info:
$ python3 -m pip show yara-python
Name: yara-python
Version: 4.1.0
Summary: Python interface for YARA
Home-page: https://github.com/VirusTotal/yara-python
Author: Victor M. Alvarez
Author-email: [email protected], [email protected]
License: Apache 2.0
Location: /home/michael/.local/lib/python3.8/site-packages
Requires:
Required-by:
To verify the package:
$ tar cvf - /home/michael/.local/lib/python3.8/site-packages | sha1sum
tar: Removing leading `/' from member names/home/michael/.local/lib/python3.8/site-packages//home/michael/.local/lib/python3.8/site-packages/yara.cpython-38-x86_64-linux-gnu.so/home/michael/.local/lib/python3.8/site-packages/yara_python-4.1.0.egg-info//home/michael/.local/lib/python3.8/site-packages/yara_python-4.1.0.egg-info/dependency_links.txt/home/michael/.local/lib/python3.8/site-packages/yara_python-4.1.0.egg-info/installed-files.txt/home/michael/.local/lib/python3.8/site-packages/yara_python-4.1.0.egg-info/not-zip-safe/home/michael/.local/lib/python3.8/site-packages/yara_python-4.1.0.egg-info/PKG-INFO/home/michael/.local/lib/python3.8/site-packages/yara_python-4.1.0.egg-info/SOURCES.txt/home/michael/.local/lib/python3.8/site-packages/yara_python-4.1.0.egg-info/top_level.txte4684e352ae0ae660ed5010b38bd73d989317af1 -
The text was updated successfully, but these errors were encountered:
That's probably because you don't have openssl installed in your system, and imphash needs that library. Try sudo apt-get install libssl-dev before installing yara-python.
The latest version of yara-python is unable to compile rules with pe.imphash():
I am running this on Ubuntu 20.04.2 on Windows Subsystem for Linux:
I installed yara-python with:
Here's the package info:
To verify the package:
The text was updated successfully, but these errors were encountered: