You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: Invalid requirement: './requirements.txt': Expected package name at the start of dependency specifier
./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.
i have try
pip install -r requirements.txt
pip3 install -r requirements.txt
chmod 644 requirements.txt
The text was updated successfully, but these errors were encountered:
This is what I did to fix the issue when I ran into this.
First I backed up the current install file (I always do this when I'm about to alter a file of this nature.) From the Storm-Breaker directory run:
cp install.sh install.sh.bu
Next i vim into the file:
vim install.sh
I then "paged down" through the file and all instances of "./requirements.txt", and I changed it to just "requirements.txt" (no quotes of course)
and also removed "--break-system-packages" on the line (also removing the ./ in front of requirements.txt like stated above):
"env python3 -m pip install -r --break-system-packages ./requirements.txt"
I reran install.sh and it worked perfectly.
The install file may need to be updated by the developer for this, if this error is pretty common.
ERROR: Invalid requirement: './requirements.txt': Expected package name at the start of dependency specifier
./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.
i have try
pip install -r requirements.txt
pip3 install -r requirements.txt
chmod 644 requirements.txt
The text was updated successfully, but these errors were encountered: