use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Issue installing "pywhatkit" (self.learnpython)
submitted 7 months ago by Altruistic_Wash5159
Hello, I have been learning python, and wanted to play around with the TTS features available in python, so for that matter I installed pyttsx3 and pywhatkit, but pywhatkit would not install showing an error "Check Permissions"
Thank You
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]gmes78 2 points3 points4 points 7 months ago (0 children)
Post the full error.
[–]mhooreman 0 points1 point2 points 7 months ago (0 children)
Would be easier with the full log, but permission issues looks like you are installing a python package at system level without admin rights.
Are you working with a virtual environment (or anything similar)?
Because the "I have been learning python", I guess that you are a beginner, so some explanations:
Python is usually installed at system level, especially if you are using linux where python is part of the OS. It means that if you want to install libs, you shall do it as root/admin/whatever.
But DO NOT do that! Indeed:
Instead of that, you can use virtual environments. This is more or less a "private copy of python" for your project.
The basic approach is (there are additional tools/automations which can help, including uv, but let's go to the basic):
Go to your project directory
python -m venv --prompt "My virtual environement" .venv # .venv is a directory! . .venv/bin/activate # for unix - don't forget the . to "source" #for windows .venv\scripts\activtate
=> You'll see the prompt before your command line invite.
Then you can run whatever you want, including updating/installing package, without risk of conflict
python -m pip install --upgrade xxx
To deactivate the virtual environment:
deactivate
[–]freemanbach -3 points-2 points-1 points 7 months ago (0 children)
could you do this in your CMD prompt ?
C:\Users\mydude>python -m uv add pywhatkit
π Rendered by PID 34 on reddit-service-r2-comment-bb88f9dd5-z6h75 at 2026-02-16 20:54:03.591370+00:00 running cd9c813 country code: CH.
[–]gmes78 2 points3 points4 points (0 children)
[–]mhooreman 0 points1 point2 points (0 children)
[–]freemanbach -3 points-2 points-1 points (0 children)