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

Am I an idiot or an idiot? #109

Closed
Kxsumi opened this issue Dec 25, 2021 · 8 comments
Closed

Am I an idiot or an idiot? #109

Kxsumi opened this issue Dec 25, 2021 · 8 comments

Comments

@Kxsumi
Copy link

Kxsumi commented Dec 25, 2021

Describe the bug
A clear and concise description of what the bug is.
SyntaxError: invalid syntax

py -3 -m pip install -r requirements.txt
File "", line 1
py -3 -m pip install -r requirements.txt

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Python'
  2. Type in git clone (link)
  3. Get a Syntax error.
  4. Load GitBash.
  5. Get past the Syntax error.
  6. Not be able to use Python requirements
  7. Get frustrated since Python doesnt even work
  8. Repeat

Expected behavior
Python doodoo

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows 11
  • Version [e.g. 22] 10.0.22000 build 22000

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@logicguy1
Copy link
Owner

logicguy1 commented Dec 25, 2021

Type the commands in the command prompt (cmd)

@Kxsumi
Copy link
Author

Kxsumi commented Dec 25, 2021

image

@Kxsumi
Copy link
Author

Kxsumi commented Dec 25, 2021

I have Python installed but apparently it can't find it

@logicguy1
Copy link
Owner

Did you add python to PATH during installation?

@Kxsumi
Copy link
Author

Kxsumi commented Dec 25, 2021

Did you add python to PATH during installation?

How would I do that?

@logicguy1
Copy link
Owner

Look it up

@wibbuffey
Copy link

am i an idiot or an idiot?

both. for your first screenshot, you're using MSYS2 at the home directory, and obviously you didn't clone the repo to there; in the second screenshot, you're in the Python shell, so obviously shell commands won't work; and in a followup screenshot we observed that because you weren't in the directory where you cloned the repo, requirements.txt wouldn't exist! (and by the way, it's installed as py on your system, not python. don't know why, it's pretty weird.)

@wibbuffey
Copy link

@logicguy1 close this issue, it's clearly off-topic and is not a demonstration of an issue with the project

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

3 participants