#๐ trouble installing file using pip install -r
20 messages ยท Page 1 of 1 (latest)
@quartz quail
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
got it working?
what python version are you running?
Try pip install setuptools first and then pip install -r requirements.txt
it hit me with Requirement already satisfied: and produced the same error as before
See if pip install -U setuptools updates setuptools. If so, retry after that.
PS C:\Users\emmy\gpt-discord-bot> pip install -U setuptool ERROR: Could not find a version that satisfies the requirement setuptool (from versions: none) ERROR: No matching distribution found for setuptool
setuptools
my bad
PS C:\Users\emmy\gpt-discord-bot> pip install -U setuptools Requirement already satisfied: setuptools in c:\users\emmy\appdata\local\programs\python\python312\lib\site-packages (75.1.0)
try installing requirements.txt again?
same errors as before
Just to be sure, can you share the latest error message including the latest command you ran?
`PS C:\Users\emmy\gpt-discord-bot> echo 'Cython < 3.0' > /tmp/constraint.txt
out-file : Could not find a part of the path 'C:\tmp\constraint.txt'.
At line:1 char:1
- echo 'Cython < 3.0' > /tmp/constraint.txt
-
+ CategoryInfo : OpenError: (:) [Out-File], DirectoryNotFoundException + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand`
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.