Coder Social home page Coder Social logo

Comments (8)

YakirOren avatar YakirOren commented on August 21, 2024

check the version of python

from fvid.

KasperSvendsenGit avatar KasperSvendsenGit commented on August 21, 2024

check the version of python

I'm running Python 2.7.18, tried running it with Python3 as well, but get different errors with that.
Thanks!

from fvid.

YakirOren avatar YakirOren commented on August 21, 2024

im trying to figure out the other errors too :/
#7

from fvid.

dtaivpp avatar dtaivpp commented on August 21, 2024

Hey all post your other errors here. I got this working on macos python 3. One of the issues I ran into is you need to install libmagic. If you have homebrew you can do brew install libmagic

Also @KasperSvendsenGit your issue with python 2 is it doesn't have support for 'f' strings so it will need to be run with Python3

from fvid.

AlfredoSequeida avatar AlfredoSequeida commented on August 21, 2024

@KasperSvendsenGit The first thing that comes to mind is what @dtaivpp said. fstrings were implemented with python 3.6. So if you tried python 3 then I would make sure that you have 3.6 or newer.

from fvid.

KasperSvendsenGit avatar KasperSvendsenGit commented on August 21, 2024

@KasperSvendsenGit The first thing that comes to mind is what @dtaivpp said. fstrings were implemented with python 3.6. So if you tried python 3 then I would make sure that you have 3.6 or newer.

Alright now running on Python 3.8.6, it doesn't strictly error out anymore, though I don't get an output file. @dtaivpp Installing libmagic doesn't seem to have changed anything on linux.

image

from fvid.

AlfredoSequeida avatar AlfredoSequeida commented on August 21, 2024

@KasperSvendsenGit I'm glad you got that working. If you're using the latest version (0.0.2) from this repo, the project structure has changed so running it like that won't work without some modifications since the entry point has changed.

The easy fix would be to install it using pip3

pip3 install fvid

then you can just run it like:

fvid -i [input file] -e

to encode from any directory in your command line

alternatively, you should also be able to call it using the __main__.py file

Let me know how that goes for you.

from fvid.

KasperSvendsenGit avatar KasperSvendsenGit commented on August 21, 2024

@AlfredoSequeida I've resolved the problem by running "sudo pip3 install fvid"

Thanks!

from fvid.

Related Issues (20)

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.