mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 10:05:50 +03:00
[GH-ISSUE #406] can anyone help here ? PLEASE #354
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @adamazawi on GitHub (Nov 22, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/406
guys,
I am very furstrated with this for the past 3 days and I need help please! I'm trying to install insomniac on my new laptop and I have done this many many times now and still can't get it to work , when I do insomniac install, everything start installing but I get package 'wheel' is not installed I'm using the latest python , and PIP and I tried to install another python version
but saw the same issue again, here is the exact logs that I get towards the end of the install , can someone please help ?
Requirement already satisfied: xmltodict in c:\users\azawi\appdata\local\programs\python\python310\lib\site-packages (from apkutils2<2.0,>=1.0.0->adbutils<1.0,>=0.11.0->uiautomator2->insomniac) (0.12.0)
Using legacy 'setup.py install' for peewee, since package 'wheel' is not installed.
Using legacy 'setup.py install' for sourcedefender, since package 'wheel' is not installed.
Using legacy 'setup.py install' for uiautomator, since package 'wheel' is not installed.
Using legacy 'setup.py install' for uiautomator2, since package 'wheel' is not installed.
Using legacy 'setup.py install' for docopt, since package 'wheel' is not installed.
Using legacy 'setup.py install' for msgpack, since package 'wheel' is not installed.
Using legacy 'setup.py install' for TgCrypto, since package 'wheel' is not installed.
Installing collected packages: packaging, TgCrypto, pendulum, msgpack, humanize, feedparser, environs, docopt, boltons, uiautomator2, uiautomator, sourcedefender, peewee, croniter, insomniac
Attempting uninstall: packaging
Found existing installation: packaging 20.9
Uninstalling packaging-20.9:
Successfully uninstalled packaging-20.9
Running setup.py install for TgCrypto ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\azawi\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\azawi\AppData\Local\Temp\pip-install-tnuk8y73\tgcrypto_c92cd0e88cda487c9f0c360d0666a17c\setup.py'"'"'; file='"'"'C:\Users\azawi\AppData\Local\Temp\pip-install-tnuk8y73\tgcrypto_c92cd0e88cda487c9f0c360d0666a17c\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\azawi\AppData\Local\Temp\pip-record-rff2gxz3\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\azawi\AppData\Local\Programs\Python\Python310\Include\TgCrypto'
cwd: C:\Users\azawi\AppData\Local\Temp\pip-install-tnuk8y73\tgcrypto_c92cd0e88cda487c9f0c360d0666a17c
Complete output (21 lines):
running install
C:\Users\azawi\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\tests
copying tests_init_.py -> build\lib.win-amd64-3.10\tests
creating build\lib.win-amd64-3.10\tests\cbc
copying tests\cbc\test_cbc.py -> build\lib.win-amd64-3.10\tests\cbc
copying tests\cbc_init_.py -> build\lib.win-amd64-3.10\tests\cbc
creating build\lib.win-amd64-3.10\tests\ctr
copying tests\ctr\test_ctr.py -> build\lib.win-amd64-3.10\tests\ctr
copying tests\ctr_init_.py -> build\lib.win-amd64-3.10\tests\ctr
creating build\lib.win-amd64-3.10\tests\ige
copying tests\ige\test_ige.py -> build\lib.win-amd64-3.10\tests\ige
copying tests\ige_init_.py -> build\lib.win-amd64-3.10\tests\ige
running build_ext
building 'tgcrypto' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\azawi\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\azawi\AppData\Local\Temp\pip-install-tnuk8y73\tgcrypto_c92cd0e88cda487c9f0c360d0666a17c\setup.py'"'"'; file='"'"'C:\Users\azawi\AppData\Local\Temp\pip-install-tnuk8y73\tgcrypto_c92cd0e88cda487c9f0c360d0666a17c\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\azawi\AppData\Local\Temp\pip-record-rff2gxz3\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\azawi\AppData\Local\Programs\Python\Python310\Include\TgCrypto' Check the logs for full command output.
and then when I run the command to start insomniac I get this error
C:\Users\azawi>cd C:\Users\azawi\OneDrive\Desktop\Marketing_SM
C:\Users\azawi\OneDrive\Desktop\Marketing_SM>py -3 start.py --device R5CR31KKWXH --username adam_azawi --interact-targets True --successful-interactions-limit-per-source 30 --likes-count 2-3 --repeat 60-90 --no-speed-check --total-likes-limit 20 --follow-percentage 20 --total-follow-limit 3
Traceback (most rec
error.txt
ent call last):
File "C:\Users\azawi\OneDrive\Desktop\Marketing_SM\start.py", line 1, in
import insomniac
ModuleNotFoundError: No module named 'insomniac'
C:\Users\azawi\OneDrive\Desktop\Marketing_SM>adb devices
List of devices attached
R5CR31KKWXH device
C:\Users\azawi\OneDrive\Desktop\Marketing_SM>