Giter Site home page Giter Site logo

pyseccomp's People

Contributors

cptpcrd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tiran

pyseccomp's Issues

AttributeError: /usr/lib/x86_64-linux-gnu/libseccomp.so.2: undefined symbol: seccomp_api_get

I get this, trying your library on a Debian stable machine:

Traceback (most recent call last):
  File "sandbox/sandbox.py", line 4, in <module>
    import pyseccomp as seccomp
  File "/home/jojo/projekte/programming/pybotbrain/backend/env/lib/python3.7/site-packages/pyseccomp.py", line 121, in <module>
    _libseccomp.seccomp_api_get.argtypes = ()
  File "/usr/lib/python3.7/ctypes/__init__.py", line 369, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib/python3.7/ctypes/__init__.py", line 374, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libseccomp.so.2: undefined symbol: seccomp_api_get

Installation via pip not working?

It seems that pip install doesn't actually install any .py files, only the dist-info:

$ pip install pyseccomp==0.1.1
Requirement already satisfied: pyseccomp==0.1.1 in ./env/lib/python3.7/site-packages (0.1.1)
$ find env/**/*pyseccomp*
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info/RECORD
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info/WHEEL
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info/INSTALLER
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info/LICENSE
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info/METADATA
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info/top_level.txt
env/lib/python3.7/site-packages/pyseccomp-0.1.1.dist-info/REQUESTED
$ python3 -m pyseccomp
…/env/bin/python3: No module named pyseccomp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.