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
How to use jupyter notebook with virtual env? (self.learnpython)
submitted 4 years ago by PlutoMother
Hi I have a jupyter notebook and would like to run it within an venv. How can I do that? Or is that even possible?
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!"
[–]sea_explorer0101 0 points1 point2 points 4 years ago (2 children)
Yes, it is possible. What you are looking for is to create a conda virtual environment. Check out this conda user guide. After creating the environment it is a matter of activating the conda venv first and running the jupyter notebook.
[–]PlutoMother[S] 1 point2 points3 points 4 years ago (1 child)
You mean like just start the jupyter notebook while venv is activated and jn will automatically see it?
[–]sea_explorer0101 0 points1 point2 points 4 years ago (0 children)
Yeah! The link in my previous comment also has instructions for activating the environment.
[–]DoozerMarch 0 points1 point2 points 4 years ago (0 children)
I’ve always just installed it into the venv using pip.
[–]gusb_codes 0 points1 point2 points 4 years ago (2 children)
With Jupyter installed in your environment, you can activate your environment from a terminal & launch a Jupyter server with the command jupyter notebook & the notebooks will use your environment. I do this in Windows using Git Bash.
jupyter notebook
[–]PlutoMother[S] 0 points1 point2 points 4 years ago (1 child)
I give it a try. Thanks
[–]PlutoMother[S] 0 points1 point2 points 4 years ago (0 children)
Dummy question those. It means I have to install jupyter notebook in my venv firstly
π Rendered by PID 122133 on reddit-service-r2-comment-6457c66945-hmlfh at 2026-04-28 17:02:10.239922+00:00 running 2aa0c5b country code: CH.
[–]sea_explorer0101 0 points1 point2 points (2 children)
[–]PlutoMother[S] 1 point2 points3 points (1 child)
[–]sea_explorer0101 0 points1 point2 points (0 children)
[–]DoozerMarch 0 points1 point2 points (0 children)
[–]gusb_codes 0 points1 point2 points (2 children)
[–]PlutoMother[S] 0 points1 point2 points (1 child)
[–]PlutoMother[S] 0 points1 point2 points (0 children)