-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Navigate to http://127.0.0.1:5000 and set up your user to get started. Traceback (most recent call last): File "/home/kali/byob/web-gui/run.py", line 1, in <module> from buildyourownbotnet import create_app File "/home/kali/byob/web-gui/buildyourownbotnet/__init__.py", line 16, in <module> from buildyourownbotnet import client, server File "/home/kali/byob/web-gui/buildyourownbotnet/server.py", line 32, in <module> from .models import db File "/home/kali/byob/web-gui/buildyourownbotnet/models.py", line 2, in <module> from flask_bcrypt import Bcrypt ModuleNotFoundError: No module named 'flask_bcrypt' #666
Comments
Stale issue message |
Same Issue Can't Solve it |
if you are running run.py with sudo make sure you install the python
requirements with sudo pip
and then run it again with sudo that'll fix the problem
…On Mon, Sep 18, 2023 at 1:12 AM Xavier Evans ***@***.***> wrote:
Same Issue Can't Solve it
—
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX4XKY3SI4DEPXEXNUIFXNLX26GVPANCNFSM6AAAAAAYWTUQV4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
web-gui doesn't work, it has errors |
because the server stopped when python requirements wasn't foud, so just
check you have everything installed on your working user . i prefer root so
make sure you type sudo when instaling
…On Sat, Sep 23, 2023 at 2:19 PM Retro490 ***@***.***> wrote:
web-gui doesn't work, it has errors
—
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX4XKY33KLWM64KP3UU2SXDX33OWFANCNFSM6AAAAAAYWTUQV4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@youssefallali how can i make sure i have everything, because i think i have all |
WORRY NO MORE,, Here is THE FIX IF troubled running web-gui run.py . After encountering these errorsfor a while, here is how i managed to fix (Unix OS >> python 3.9.2). STEP 1>>Just create a virtual environment from the web-gui directory then activate it. [kali bash command]= (python3 -m venv .venv) to create then (. .venv/bin/activate) to activate, [windows]= (py -3 -m venv .venv) then (.venv\Scripts\activate) to activate. STEP 2>> EDIT the following package versions from the REQUIREMENTS.TXT to fix the conflicting packages. >> numpy==1.17.3 TO 1.19.3. IN CASE it doesn't work for you try specifying the (opencv-python;python_version>'3') to (opencv-python==4.5.3.56) then save. STEP 3>> MAKE SURE your environment is activated then run (python3 -m pip install -r requirements.txt) or (./startup.sh) then TEST WITH (python3 run.py) it should give you a url link to open. STEP 4>> HAVE FUN & share your experience with OTHERS TOO. I guess it works for requirements.txt in the byob directory too. >>GOOD LUCK |
still get errors... |
I haven't encountered such an issue but for my case I had to adjust the
package versions as follows but are dependent on my python
versions(3.11.2): flask==2.1.3, numpy==1.24.2, opencv-python==4.8.1.78
maybe these can help but If you are using python 3.9.(2) try changing only
numpy to -V 1.19.3 or just >=1.17.3. Not sure but hope I can fix your issue
too
…On Tue, Nov 7, 2023 at 7:07 PM faulty-teen ***@***.***> wrote:
still get errors...
Traceback (most recent call last):
File
"C:\Users\Faulty\byob\web-gui\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py",
line 353, in
main()
File
"C:\Users\Faulty\byob\web-gui\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py",
line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\byob\web-gui\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py",
line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools\build_meta.py",
line 157, in prepare_metadata_for_build_wheel
self.run_setup()
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools\build_meta.py",
line 249, in run_setup
self).run_setup(setup_script=setup_script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools\build_meta.py",
line 142, in run_setup
exec(compile(code, *file*, 'exec'), locals())
File "setup.py", line 508, in
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\core.py",
line 169, in setup
return old_setup(**new_attr)
^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_
*init*_.py", line 165, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\core.py",
line 148, in setup
dist.run_commands()
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\dist.py",
line 967, in run_commands
self.run_command(cmd)
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\dist.py",
line 986, in run_command
cmd_obj.run()
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools\command\dist_info.py",
line 31, in run
egg_info.run()
File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\egg_info.py",
line 24, in run
self.run_command("build_src")
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\cmd.py",
line 313, in run_command
self.distribution.run_command(command)
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\dist.py",
line 986, in run_command
cmd_obj.run()
File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\build_src.py",
line 144, in run
self.build_sources()
File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\build_src.py",
line 155, in build_sources
self.build_library_sources(
*libname_info) File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\build_src.py",
line 288, in build_library_sources sources = self.generate_sources(sources,
(lib_name, build_info))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\build_src.py",
line 378, in generate_sources source = func(extension, build_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^ File "numpy\core\setup.py", line 658, in
get_mathlib_info st = config_cmd.try_link('int main(void) { return 0;}')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\command\config.py",
line 243, in try_link self._link(body, headers, include_dirs, File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\config.py",
line 162, in _link return self._wrap_method(old_config._link, lang,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\config.py",
line 96, in _wrap_method ret = mth(*((self,)+args))
^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\command\config.py",
line 137, in _link
(src, obj) = self._compile(body, headers, include_dirs, lang)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\config.py",
line 105, in _compile
src, obj = self._wrap_method(old_config._compile, lang,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\command\config.py",
line 96, in _wrap_method
ret = mth(*((self,)+args))
^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils\command\config.py",
line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils_msvccompiler.py",
line 401, in compile
self.spawn(args)
File
"C:\Users\Faulty\AppData\Local\Temp\pip-build-env-6bq3943j\overlay\Lib\site-packages\setuptools_distutils_msvccompiler.py",
line 505, in spawn
return super().spawn(cmd, env=env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:\Users\Faulty\AppData\Local\Temp\pip-install-kwmt0mxp\numpy_c7b0d2e9943545328cacb4af06a6fff4\numpy\distutils\ccompiler.py",
line 90, in
m = lambda self, *args, **kw: func(self, *args, **kw)
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: CCompiler_spawn() got an unexpected keyword argument 'env'
—
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXTBRMXB2GD4HB35TI22MILYDKBHHAVCNFSM6AAAAAAYWTUQV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGYYDMNJVG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
any fixes found? |
would you use "sudo pip install flask_bcrypt" ? |
I run as /root, should not be a problem, and this may be the version of requirement as some of the service does not work properly .. |
I guess you have an issue with the flask version or its installation.
Consider finding the the flask version compatible with other existing
packages
…On Tue, Dec 26, 2023, 5:30 AM ThePuteh ***@***.*** wrote:
the script gives me a navigation link but it doesn't open and give me the
below error
Navigate to http://127.0.0.1:5000 and set up your user to get started.
Traceback (most recent call last): File "/home/kali/byob/web-gui/run.py",
line 1, in from buildyourownbotnet import create_app File
"/home/kali/byob/web-gui/buildyourownbotnet/*init*.py", line 16, in from
buildyourownbotnet import client, server File
"/home/kali/byob/web-gui/buildyourownbotnet/server.py", line 32, in from
.models import db File
"/home/kali/byob/web-gui/buildyourownbotnet/models.py", line 2, in from
flask_bcrypt import Bcrypt ModuleNotFoundError: No module named
'flask_bcrypt'
would you use pip install flask_bcrypt ?
—
Reply to this email directly, view it on GitHub
<#666 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXTBRMUKCNWT4HKWP3FRVQ3YLIZCTAVCNFSM6AAAAAAYWTUQV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGIYDIOBZGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
you guys are idiots bro holy 💀 |
You're a Roblox dev pipe down |
not anymore bro 🤣
|
Stale issue message |
the script gives me a navigation link but it doesn't open and give me the below error
Navigate to http://127.0.0.1:5000 and set up your user to get started.
Traceback (most recent call last):
File "/home/kali/byob/web-gui/run.py", line 1, in
from buildyourownbotnet import create_app
File "/home/kali/byob/web-gui/buildyourownbotnet/init.py", line 16, in
from buildyourownbotnet import client, server
File "/home/kali/byob/web-gui/buildyourownbotnet/server.py", line 32, in
from .models import db
File "/home/kali/byob/web-gui/buildyourownbotnet/models.py", line 2, in
from flask_bcrypt import Bcrypt
ModuleNotFoundError: No module named 'flask_bcrypt'
The text was updated successfully, but these errors were encountered: