byob icon indicating copy to clipboard operation
byob copied to clipboard

unable to locate directory containing user-installed packages

Open abdalmajid77 opened this issue 2 years ago • 9 comments

image

abdalmajid77 avatar May 29 '22 20:05 abdalmajid77

me too

onefive1156 avatar Jun 01 '22 04:06 onefive1156

I encountered the same issue.

After modifying https://github.com/malwaredllc/byob/blob/24b81360fc8e831f25dd5304d2327ba7a30d2bb3/web-gui/buildyourownbotnet/server.py#L90 to

site_packages = [os.path.abspath(_) for _ in sys.path if os.path.isdir(_)]

the script is able to proceed.

trewqqwert avatar Jun 02 '22 04:06 trewqqwert

@trewqqwert Screenshot_2022-06-02_20-46-24

after modifing give this error

Rahul-dev-g avatar Jun 02 '22 15:06 Rahul-dev-g

Me too_.

Amdubaloch avatar Jun 07 '22 13:06 Amdubaloch

image

How to solve this issue_

Amdubaloch avatar Jun 07 '22 13:06 Amdubaloch

Same issues here, tried on Debian 11, Debian 8, Arch Linux (Garuda + Black Arch) and Centos 7, same issue everywhere...

xCrAshInSiDex avatar Jun 28 '22 02:06 xCrAshInSiDex

unable to locate directory containing user-installed packages. Same error as well and surf the web for a solution but nothing yet.

Rayhamen101 avatar Jun 28 '22 07:06 Rayhamen101

Screenshot from 2022-08-04 20-36-42

I found same errors on manjaro Linux I also tried on ubuntu and kali as well but the same error I installed most requirement tools manually but still, an error was the

Vector1199 avatar Aug 04 '22 15:08 Vector1199

Screenshot from 2022-08-04 20-36-42

I found same errors on manjaro Linux I also tried on ubuntu and kali as well but the same error I installed most requirement tools manually but still, an error was the

I have the same problem in kali. Try to install each library one by one, for me was the numpy library so i installed his last version and worked pretty well.

I first installed all the other dependencies

pip3 install Werkzeug==2.0.0 SQLAlchemy==1.3.23 flask flask_session flask_wtf Flask_SQLAlchemy Flask_Login Flask_Bcrypt flask_mail wtforms mss==3.3.0 WMI==1.4.9 pyxhook==1.0.0 twilio==6.14.0 colorama==0.3.9 requests==2.20.0 pycryptodomex==3.8.1 py-cryptonight>=0.2.4 opencv-python;python_version>'3' pypiwin32==223;sys.platform=='win32' pyHook==1.5.1;sys.platform=='win32'

And for the last numpy

pip3 install numpy

DeividReinkeSchiitz avatar Sep 05 '22 01:09 DeividReinkeSchiitz

Stale issue message

github-actions[bot] avatar Nov 06 '22 02:11 github-actions[bot]

estou com mesmo problema, alguem conseguir resolver ?

unable to locate directory containing user-installed packages byob

Feliperdg avatar Jan 30 '23 23:01 Feliperdg

fixed it by pip3 install -U Flask

SuliiiP avatar Feb 23 '23 01:02 SuliiiP

@DeividReinkeSchiitz that code doesn't work in kali? isn't that just for Windows?

SHADOW-SCRIPT avatar May 22 '23 19:05 SHADOW-SCRIPT

@SHADOW-SCRIPT the byob works well in kali for me, i think that the problem occurs because of some packages conflicts between the versions of each other, this things happen a lot in languages that have package manager. If you are having issues try to open the requirements and install each version manually and see the output. It will probably tell you what package you installed who needs to be updated.

DeividReinkeSchiitz avatar May 23 '23 01:05 DeividReinkeSchiitz

I encountered the same issue.

After modifying

https://github.com/malwaredllc/byob/blob/24b81360fc8e831f25dd5304d2327ba7a30d2bb3/web-gui/buildyourownbotnet/server.py#L90

to

site_packages = [os.path.abspath(_) for _ in sys.path if os.path.isdir(_)]

the script is able to proceed.

It's Work For Me, Thanks

Shi57 avatar Jul 30 '23 01:07 Shi57

ive tried everything here no good

tonykcmarsh avatar Oct 10 '23 02:10 tonykcmarsh

I encountered the same issue.

After modifying

https://github.com/malwaredllc/byob/blob/24b81360fc8e831f25dd5304d2327ba7a30d2bb3/web-gui/buildyourownbotnet/server.py#L90

to

site_packages = [os.path.abspath(_) for _ in sys.path if os.path.isdir(_)]

the script is able to proceed.

Worked for me

EndermanOnek avatar Feb 18 '24 19:02 EndermanOnek

@trewqqwert i love u , it worked

Zetrix01 avatar Mar 18 '24 11:03 Zetrix01