MTP icon indicating copy to clipboard operation
MTP copied to clipboard

Error on library

Open MicheleSottocasa opened this issue 2 years ago • 8 comments

Python return me these error when I try to use the library

Traceback (most recent call last):
  File "C:\python\python-3.10.5\lib\runpy.py", line 196, in _run_module_as_main  
    return _run_code(code, main_globals, None,
  File "C:\python\python-3.10.5\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\python\python-3.10.5\Scripts\mtp.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'cli'

MicheleSottocasa avatar Apr 12 '23 13:04 MicheleSottocasa

Same issue. Running Python 3.10.2

histefanhere avatar May 04 '23 09:05 histefanhere

Not entirely sure why this might be. Are you installing with pip3 install mtp and using the script via mtp examples/sample.ciphertexts for example?

CameronLonsdale avatar May 04 '23 09:05 CameronLonsdale

Yep, more specifically python -m pip install mtp where python goes to my 3.10.2 instance, and I've cloned the repository and ran that command with the same error output:

image

histefanhere avatar May 04 '23 10:05 histefanhere

Same problem here (Python 3.9.2)

DarkOriole4 avatar Aug 18 '23 20:08 DarkOriole4

Yep, more specifically python -m pip install mtp where python goes to my 3.10.2 instance, and I've cloned the repository and ran that command with the same error output:

image

use this command - pip install pyCLI

Badesha02 avatar Feb 04 '24 06:02 Badesha02

Still doesn't work

Mik1810 avatar Mar 02 '24 11:03 Mik1810

Any fix found so far?

teotexe avatar Mar 10 '24 18:03 teotexe

Yes, i have forked your repo and made a fix

Il dom 10 mar 2024, 19:01 Matteo Tacconi @.***> ha scritto:

Any fix found so far?

— Reply to this email directly, view it on GitHub https://github.com/CameronLonsdale/MTP/issues/21#issuecomment-1987311536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBITKHBS2JTPWETGHAKTITYXSNYNAVCNFSM6AAAAAAW3VSCPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGMYTCNJTGY . You are receiving this because you commented.Message ID: @.***>

Mik1810 avatar Mar 11 '24 13:03 Mik1810