Git Product home page Git Product logo

Comments (4)

ercpe avatar ercpe commented on June 26, 2024

How did you install the dependencies of amavisvt? Via pip or via apt?
Unfortunately, there are multiple python libraries which provide bindings to libmagic. amavisvt supports filemagic (https://pypi.python.org/pypi/filemagic) and python-magic (https://github.com/ahupp/python-magic).

Could you please tell me which one (and which version) do you have installed?

from amavisvt.

bruberg avatar bruberg commented on June 26, 2024

All dependencies are installed with apt. These are the ones I have installed for amavisvt:

python-levenshtein : 0.12.0-2build1
python-magic : 1:5.25-2ubuntu1
python-memcache : 1.57-1
python-mock : 1.3.0-2.1ubuntu1
python-pytest : 2.8.7-4
python-requests : 2.9.1-3
python-setproctitle : 1.1.8-1build2

Also, for reference:
libmagic1:amd64 : 1:5.25-2ubuntu1

I can't seem to find python-filemagic available for Ubuntu/Debian.

from amavisvt.

ercpe avatar ercpe commented on June 26, 2024

The package python-magic in Ubuntu doesn't seem to be the package python-magic on pypi (http://packages.ubuntu.com/xenial/python-magic vs. https://pypi.python.org/pypi/python-magic).

Could you please try to remove the package python-magic via apt and install it from pypi?

from amavisvt.

bruberg avatar bruberg commented on June 26, 2024

That seems correct, the python-magic package provided by Ubuntu seems to be a part of the libmagic1 software. It seems to have at least some of the same functions, though.

Anyway, installing python-magic with pypi made all tests pass. This will work fine, even though I would prefer using packages. Thanks for the support!

from amavisvt.

Related Issues (11)

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.