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

ERROR: Invalid requirement: './requirements.txt'When I do bash install.sh error saying #305

Open
YPYT1 opened this issue Dec 31, 2023 · 9 comments

Comments

@YPYT1
Copy link

YPYT1 commented Dec 31, 2023

ERROR: Invalid requirement: './requirements.txt'
Hint: It looks like a path. The path does exist. The argument you provided (./requirements.txt) appears to be a requirements file. If that is the case, use the '-r' flag to install the packages specified within it.
An error occurred! seems pip doesn't work.

@YPYT1 YPYT1 changed the title When I do bash install.sh error saying ERROR: Invalid requirement: './requirements.txt'When I do bash install.sh error saying Dec 31, 2023
@W3SC01
Copy link

W3SC01 commented Jan 3, 2024

I get the same error, help, I don't know what else to do.

@Ashish-Paswan
Copy link

I am also getting same error someone help me on this please.
Screenshot 2024-01-05 164738

@W3SC01
Copy link

W3SC01 commented Jan 7, 2024

Exactamente he intentado de todo y no ha sido posible solucionar el problema

@Divine-al
Copy link

same thing here i don't know why it's not working...

@Divine-al
Copy link

a thought came to my mind thought but I'm not sure that's it.. here it is..
all the requirements are already install and are configured but sill Storm-Breaker does see it so i was thinking
maybe if there was a directory or a path that Storm-Breaker will look at to run and it didn't see the 'requirement.txt' programs in it so it gave this error. i don't know if this is correct
someone help

atharva39 added a commit to atharva39/Storm-Breaker that referenced this issue Jan 16, 2024
I removed the "--break-system-packages" flag from line 177 in install.sh. After some testing and consideration, it seems this flag might be causing unintended interference with system packages during the installation process. By removing it, we aim to ensure a smoother installation experience for users without risking disruptions to their system packages.
The "--break-system-packages" flag is powerful, but it might be a bit too aggressive for our use case. This change is geared towards enhancing compatibility and minimizing potential conflicts, making the installation process more user-friendly.

Check issue ultrasecurity#305 for more details.
@IamUsike
Copy link

Hasn't kali disabled installation through pip now ??

@IamUsike
Copy link

a thought came to my mind thought but I'm not sure that's it.. here it is.. all the requirements are already install and are configured but sill Storm-Breaker does see it so i was thinking maybe if there was a directory or a path that Storm-Breaker will look at to run and it didn't see the 'requirement.txt' programs in it so it gave this error. i don't know if this is correct someone help

I think the main issue with the pip [(https://www.kali.org/blog/python-externally-managed/#:~:text=In%20a%20Linux%20distribution%20such,what%20was%20installed%20by%20p)ip.] go through this

@Romeupro
Copy link

Romeupro commented Feb 6, 2024

pip3 install -r requirements.txt

@ogavc
Copy link

ogavc commented Apr 28, 2024

Hi guys, I used nano and go in install.sh file. Changed the code line 159 "env python3 -m pip install -r --break-system-packages ./requirements.txt" to"env python3 -m pip install --break-system-packages -r ./requirements.txt" . Basically moved "-r" at the end. and it work. hope it works for you as well.

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

7 participants