Issue with pip in different python version /u/Vriherre Python Education
Issue with pip in different python version /u/Vriherre Python Education
So i am running a environment with python 3.13 but i need 3.12 for a specific task and to install a package. When i try to switch versions i just use py -3.12 in the terminal. Here comes the issue when i now try to
py -m pip install
it gives me the error:
File "<stdin>", line 1 py -m pip install climate-indices ^^^ SyntaxError: invalid syntax
Why is pip not working here? I thought it should work in different versions?
This error is also given for me for other commands like trying to get the pip version or when trying to switch back to python 3.13.
What is the issue here?
submitted by /u/Vriherre
[link] [comments]
r/learnpython So i am running a environment with python 3.13 but i need 3.12 for a specific task and to install a package. When i try to switch versions i just use py -3.12 in the terminal. Here comes the issue when i now try to py -m pip install it gives me the error: File “<stdin>”, line 1 py -m pip install climate-indices ^^^ SyntaxError: invalid syntax Why is pip not working here? I thought it should work in different versions? This error is also given for me for other commands like trying to get the pip version or when trying to switch back to python 3.13. What is the issue here? submitted by /u/Vriherre [link] [comments]
So i am running a environment with python 3.13 but i need 3.12 for a specific task and to install a package. When i try to switch versions i just use py -3.12 in the terminal. Here comes the issue when i now try to
py -m pip install
it gives me the error:
File "<stdin>", line 1 py -m pip install climate-indices ^^^ SyntaxError: invalid syntax
Why is pip not working here? I thought it should work in different versions?
This error is also given for me for other commands like trying to get the pip version or when trying to switch back to python 3.13.
What is the issue here?
submitted by /u/Vriherre
[link] [comments] So i am running a environment with python 3.13 but i need 3.12 for a specific task and to install a package. When i try to switch versions i just use py -3.12 in the terminal. Here comes the issue when i now try to py -m pip install it gives me the error: File “<stdin>”, line 1 py -m pip install climate-indices ^^^ SyntaxError: invalid syntax Why is pip not working here? I thought it should work in different versions? This error is also given for me for other commands like trying to get the pip version or when trying to switch back to python 3.13. What is the issue here? submitted by /u/Vriherre [link] [comments]