r/pythonhelp • u/KnowledgeOk9466 • May 31 '24
Please tell me someone knows what’s going on
I’ve been trying to learn python with the introduction to python with cs50 and I’m to the point of using modules and my computer is not having it. So far my computer is saying that I do not have it after downloading it on the Microsoft store, (I’m using vsc if that matters) and the specific error says Unable to open ‘python.exe’ Unable to read file ‘c:Users\admin\AppData\Local\Microsoft\WindowsApps\python.exe’ (NoPermissionss (FileSystemError): An unknown error occurred. Please consult the log for more details.) I have no clue what anything really is so I am in need of lots of assistance. Also after looking around in files it doesn’t exist but I can use the app that is separate from vscode I don’t know if this is a simple issue or if it’s because my computer is garbage but either way I am confused and willing to troubleshooting.
•
u/AutoModerator May 31 '24
To give us the best chance to help you, please include any relevant code.
Note. Do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Repl.it, GitHub or PasteBin.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/KnowledgeOk9466 May 31 '24
The code I used was: import requests import sys
if len(sys.argv) != 2: sys.exit()
response = requests.get(“https://itunes.apple.com/search?entity=song&limit=1&term=“ + sys.argv[1]) print(response.json())
Requests at the top had squiggly lines beneath though I’m not sure that matters.
1
u/KnowledgeOk9466 May 31 '24
The issue in terminal says: Python.exe: can’t open file ‘C:\Users\admin\itunes.py’: [Errno 2] No such file or directory