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

Can't install libnetfilter-log #6

Open
petrarca-arezzo opened this issue Apr 21, 2023 · 3 comments
Open

Can't install libnetfilter-log #6

petrarca-arezzo opened this issue Apr 21, 2023 · 3 comments

Comments

@petrarca-arezzo
Copy link

I got the main programm, installed two of the three libs but failed with "libnetfilter-log". Any idea what might be wrong, especially as the others worked fine?

$ pip install libnetfilter-log
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement libnetfilter-log
ERROR: No matching distribution found for libnetfilter-log
@commonism
Copy link
Owner

try:

python3 -m venv /tmp/trace
/tmp/trace/bin/pip install git+https://github.com/commonism/python-libnetfilter#libnetfilter

@petrarca-arezzo
Copy link
Author

I just did:

$ sudo python3 -m venv /tmp/trace /tmp/trace/bin/pip install git+https://github.com/commonism/python-libnetfilter#libnetfilter
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt-get install python3-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/tmp/trace/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

So do I need to install the venv-package first?

@commonism
Copy link
Owner

You can run this without venv as well.

pip install git+https://github.com/commonism/python-libnetfilter#libnetfilter

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