Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no dist folder + weird error #473

Open
qosmikgit opened this issue Jul 1, 2024 · 7 comments
Open

no dist folder + weird error #473

qosmikgit opened this issue Jul 1, 2024 · 7 comments

Comments

@qosmikgit
Copy link

Describe the bug
WARNING: Failed to remove contents in a temporary directory 'C:\Users\bartqs\Downloads\PySilon-malware-main\PySilon-malware-main\pysilon\Lib\site-packages~%l'.
You can safely remove it manually.
usage: pyinstaller [-h] [-v] [-D] [-F] [--specpath DIR] [-n NAME] [--contents-directory CONTENTS_DIRECTORY]
[--add-data SOURCE:DEST] [--add-binary SOURCE:DEST] [-p DIR] [--hidden-import MODULENAME]
[--collect-submodules MODULENAME] [--collect-data MODULENAME] [--collect-binaries MODULENAME]
[--collect-all MODULENAME] [--copy-metadata PACKAGENAME] [--recursive-copy-metadata PACKAGENAME]
[--additional-hooks-dir HOOKSPATH] [--runtime-hook RUNTIME_HOOKS] [--exclude-module EXCLUDES]
[--splash IMAGE_FILE] [-d {all,imports,bootloader,noarchive}] [--optimize LEVEL]
[--python-option PYTHON_OPTION] [-s] [--noupx] [--upx-exclude FILE] [-c] [-w]
[--hide-console {hide-late,minimize-early,hide-early,minimize-late}]
[-i <FILE.ico or FILE.exe,ID or FILE.icns or Image or "NONE">] [--disable-windowed-traceback]
[--version-file FILE] [-m ] [-r RESOURCE] [--uac-admin] [--uac-uiaccess]
[--argv-emulation] [--osx-bundle-identifier BUNDLE_IDENTIFIER] [--target-architecture ARCH]
[--codesign-identity IDENTITY] [--osx-entitlements-file FILENAME] [--runtime-tmpdir PATH]
[--bootloader-ignore-signals] [--distpath DIR] [--workpath WORKPATH] [-y] [--upx-dir UPX_DIR]
[--clean] [--log-level LEVEL]
scriptname [scriptname ...]
pyinstaller: error: the following arguments are required: scriptname

(pysilon) C:\Users\bartqs\Downloads\PySilon-malware-main\PySilon-malware-main>
this pops up and there is no dist folder

To Reproduce
open builder.bat and try to build the exe

Expected behavior
for there to be a dist folder and in it a exe.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: tiny11
  • Python Version: 3.10.9

Additional context
Add any other context about the problem here.

@prismarinenetwork
Copy link

did you install pip packages? if you didn't open up CMD and put "pip install requests" (without quotation)
if that didn't work try uninstalling pysilon and reinstalling it again
check if you have python installed by opening up cmd and typing "python --version" (without quotation) it is recommended as of 7/2/2024 it is recommended to use 3.11.4 or above (this could change)

@qosmikgit
Copy link
Author

aight im gonna check what version and if i have requests installed tommorow, but it appears to be a pyinstaller problem so why pip install requests, and anyways i have python installed

@prismarinenetwork
Copy link

prismarinenetwork commented Jul 2, 2024

aight im gonna check what version and if i have requests installed tommorow, but it appears to be a pyinstaller problem so why pip install requests, and anyways i have python installed

also make sure to install python to PATH

@qosmikgit
Copy link
Author

okay im gonna try

@qosmikgit
Copy link
Author

i have python 3.11.9 realtime protection is OFF but it still throws me the SAME ERROR BECAUSE ITS RELATED TO PYINSTALLER not python... the builder runs just fine itrs the compiler that throws me the error

@qosmikgit
Copy link
Author

i fixed it via a simple code fix in compiler.py

pyinstaller -F ' + ('--noconsole ' if not debug_mode else '') to
pyinstaller -F ' + ('source_prepared.py --noconsole ' if not debug_mode else '')

although the icon doesnt wannna apply but thats not that big of an issue
and it compiles but the bot does not work

@qosmikgit
Copy link
Author

yeah never mind the code fix was not correct but somehow it worked ONE TIME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants