Giter VIP home page Giter VIP logo

Comments (12)

louisabraham avatar louisabraham commented on May 10, 2024

I have a mac too and cannot reproduce. Can you show the full sequence of commands?

Maybe call python3 -m pip instead of pip3 to be sure you call the same python installation.

from ffpass.

r3dlobst3r avatar r3dlobst3r commented on May 10, 2024

Its happening on windows too (not in virtual environment): https://pastebin.com/Rzzaucg2

from ffpass.

louisabraham avatar louisabraham commented on May 10, 2024

I reproduced the bug of @DanielAlcon and solved it. The problem is that pip installed https://pypi.org/project/crypto/ but Crypto actually comes from https://pypi.org/project/pycrypto/.

This is solved in the latest package version.

pip install -U 'ffpass>=0.3.3'

Sorry for the inconvenience.

from ffpass.

louisabraham avatar louisabraham commented on May 10, 2024

Tell me if there is still a problem, and I'll reopen the issue.

from ffpass.

r3dlobst3r avatar r3dlobst3r commented on May 10, 2024

Im sorry, this is what I am getting now on Windows: https://pastebin.com/nAvqTGM3

from ffpass.

louisabraham avatar louisabraham commented on May 10, 2024

If I can give you an advice, use services like https://pastebin.com/ when you have big logs like that.

The error of

pip install -U 'ffpass>=0.3.3'

is because ' doesn't seem to be accepted by windows, but it doesn't matter as pip install -U ffpass installed the correct version.

The error comes from pycrypto, and I think you get the same when running pip install pycrypto. It seems the installation is tricky, but PyCrypto is dead.

I switched to PyCryptodome in the release 0.3.4.

Could you try the following command?

pip install -U ffpass==0.3.4

from ffpass.

r3dlobst3r avatar r3dlobst3r commented on May 10, 2024

Thank you for the hard work, this is now occurring..

https://pastebin.com/PiDrHF6A

from ffpass.

louisabraham avatar louisabraham commented on May 10, 2024

This is really strange. Could you give me the output of:

python -m pip install pycryptodome
python -c "import Crypto;print(Crypto)"

from ffpass.

r3dlobst3r avatar r3dlobst3r commented on May 10, 2024

C:\Users\Andrew>python -m pip install pycryptodome
Requirement already satisfied: pycryptodome in c:\users\andrew\appdata\local\programs\python\python37\lib\site-packages (3.6.6)

C:\Users\Andrew>python -c "import Crypto;print(Crypto)"
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'Crypto'

C:\Users\Andrew>

from ffpass.

louisabraham avatar louisabraham commented on May 10, 2024

I don't see why it fails.

Can you try:

pip uninstall crypto pycrypto pycryptodome
pip install cryptodome
ffpass --help

If it still fails, can you show the output of this?

ls c:\users\andrew\appdata\local\programs\python\python37\lib\site-packages

from ffpass.

r3dlobst3r avatar r3dlobst3r commented on May 10, 2024

It is working now, thanks!!

from ffpass.

louisabraham avatar louisabraham commented on May 10, 2024

Awesome! I guess the previous steps messed with the imports :)

from ffpass.

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.