Conda kernel not found in Visual Studio Code
I'm trying to get back into machine learning. I tried six months ago, but my operating system crashed and I had to reinstall it completely, which was a bit of a shame!
The software might have had some updates since then, which is probably why I'm having trouble. I'm trying to select a kernel with Visual Studio Code, but I'm unsure if I'm doing it right. I followed the method given by VSCode, but I'm still stuck on kernel selection.
I'm happy to say that installing the extensions and creating the Conda environment went well! However, when I select the kernel, I get this message:
https://preview.redd.it/9vvywmhqon3e1.png?width=370&format=png&auto=webp&s=c7c3d0348462346cfd95dc4f4a31f7a10ce7922f
I thought I'd share the list of extensions I've installed in case it helps:
https://preview.redd.it/j2pcqllron3e1.png?width=280&format=png&auto=webp&s=979a3235f150e8bd2fccfd61c3bfca3ebba03dec
I've done a lot of research online, but sadly none of the solutions I found worked.
/r/IPython
https://redd.it/1h2fruc
I'm trying to get back into machine learning. I tried six months ago, but my operating system crashed and I had to reinstall it completely, which was a bit of a shame!
The software might have had some updates since then, which is probably why I'm having trouble. I'm trying to select a kernel with Visual Studio Code, but I'm unsure if I'm doing it right. I followed the method given by VSCode, but I'm still stuck on kernel selection.
I'm happy to say that installing the extensions and creating the Conda environment went well! However, when I select the kernel, I get this message:
https://preview.redd.it/9vvywmhqon3e1.png?width=370&format=png&auto=webp&s=c7c3d0348462346cfd95dc4f4a31f7a10ce7922f
I thought I'd share the list of extensions I've installed in case it helps:
https://preview.redd.it/j2pcqllron3e1.png?width=280&format=png&auto=webp&s=979a3235f150e8bd2fccfd61c3bfca3ebba03dec
I've done a lot of research online, but sadly none of the solutions I found worked.
/r/IPython
https://redd.it/1h2fruc
Visualstudio
Data Science in VS Code tutorial
Python data science tutorial demonstrating the use of common data science and machine learning libraries with Visual Studio code Jupyter Notebook support.
What are the best cache backends available in Django?
Hey Django devs! I'm looking to optimize my web application's performance and want to dive deep into caching. What cache backends have you found most effective?
/r/django
https://redd.it/1h2dt34
Hey Django devs! I'm looking to optimize my web application's performance and want to dive deep into caching. What cache backends have you found most effective?
/r/django
https://redd.it/1h2dt34
Reddit
From the django community on Reddit
Explore this post and more from the django community
Flask Assets does not detect changes to less files on save but rebuilds with changes.
Hi, my workflow would be such that flask-assets would detect any changes in my less files and automatically restart the flask server and rebuild the assets. Relatively easy frontend development.
I loaded up an older project and reinstalled dependencies to current versions and noticed this funtionaliy changing. While the static files do update on a restart of the development server, the server does not detect changes to less file. Any suggestions on what would be causing this? Running flask 3.1 and flask assets 2.1
/r/flask
https://redd.it/1h1bptd
Hi, my workflow would be such that flask-assets would detect any changes in my less files and automatically restart the flask server and rebuild the assets. Relatively easy frontend development.
I loaded up an older project and reinstalled dependencies to current versions and noticed this funtionaliy changing. While the static files do update on a restart of the development server, the server does not detect changes to less file. Any suggestions on what would be causing this? Running flask 3.1 and flask assets 2.1
/r/flask
https://redd.it/1h1bptd
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Django templates vs React
Hi everyone, why would I use React over Django’s templating system if I have below 500k users for anything? I feel like using React is pretty overkill for most web applications even if it needs to be dynamic, unless it’s a really custom app that needs to be highly dynamic. I feel that if I really wanted some front end reactivity, I could use libraries like AlpineJS and snabbdom, and that should be enough?
FYI, I can be a big noob. Looking for what people experience and a difference in opinions and perspectives. I ask this question more to find out what others think because I feel like web development can quickly become overkill and overly complex for no reason. So I’m a proponent for keeping things simple. Please share your thoughts/experience! Would kindly appreciate it.
/r/django
https://redd.it/1h2fl3y
Hi everyone, why would I use React over Django’s templating system if I have below 500k users for anything? I feel like using React is pretty overkill for most web applications even if it needs to be dynamic, unless it’s a really custom app that needs to be highly dynamic. I feel that if I really wanted some front end reactivity, I could use libraries like AlpineJS and snabbdom, and that should be enough?
FYI, I can be a big noob. Looking for what people experience and a difference in opinions and perspectives. I ask this question more to find out what others think because I feel like web development can quickly become overkill and overly complex for no reason. So I’m a proponent for keeping things simple. Please share your thoughts/experience! Would kindly appreciate it.
/r/django
https://redd.it/1h2fl3y
Reddit
From the django community on Reddit
Explore this post and more from the django community
Web scraping linkedin , indeed like platforms
I am working on my project which fetches job applications from platforms like linkedin , indeed , etc.. and showing the output on my platform.
I just wanted to know is their any api or package which already fetches such stuff ? or i gotta build it myself ?
What are the challenges i will face while building this ?
/r/Python
https://redd.it/1h2huo4
I am working on my project which fetches job applications from platforms like linkedin , indeed , etc.. and showing the output on my platform.
I just wanted to know is their any api or package which already fetches such stuff ? or i gotta build it myself ?
What are the challenges i will face while building this ?
/r/Python
https://redd.it/1h2huo4
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Best library for Magic Links
I've seen there are several libraries for this (django-magiclink, django-magic-link, django-sesame, django-magicauth...)
Which one do you recommend? Or which things I should take into account when choosing?
I'm a Django beginner and I'm pretty lost here.
I want to receive payments using Stripe (Stripe Checkout probably) and send a magic link to the buyers so they can access a protected URL in my Django app. I will have several products (several protected URLs).
I don't need super advanced security or complex features. Just something simple (for me and my users).
Thanks!
/r/django
https://redd.it/1h2n22v
I've seen there are several libraries for this (django-magiclink, django-magic-link, django-sesame, django-magicauth...)
Which one do you recommend? Or which things I should take into account when choosing?
I'm a Django beginner and I'm pretty lost here.
I want to receive payments using Stripe (Stripe Checkout probably) and send a magic link to the buyers so they can access a protected URL in my Django app. I will have several products (several protected URLs).
I don't need super advanced security or complex features. Just something simple (for me and my users).
Thanks!
/r/django
https://redd.it/1h2n22v
Reddit
From the django community on Reddit
Explore this post and more from the django community
What are some really awesome projects/channels you have encountered so far in YouTube?
What are some really awesome projects/channels you have encountered so far in YouTube? Looking for some ideas to work on for a long time now.
Doing same automation and using same libraries, I am feeling kinda bored now. Need some fresh ideas.
/r/Python
https://redd.it/1h2quqa
What are some really awesome projects/channels you have encountered so far in YouTube? Looking for some ideas to work on for a long time now.
Doing same automation and using same libraries, I am feeling kinda bored now. Need some fresh ideas.
/r/Python
https://redd.it/1h2quqa
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
MVP deployed
It doesn't function yet, it's not mobile ready, It doesn't use a database yet, I don't fully understand what I just did... but I'm learning day by day and finally got my django work visible somewhere besides my local.
The app is meant to help people track their poor spending habits. Eventually, a user will be able to add items they want, or need to buy, to the post-it note. Then each day they enter amounts spent on things like fast food or alcohol (anything they want to spend less money on) in the day boxes, and when the total surpasses one of the goal items the user will get a notification stating "You could've bought item 1" etc.
*NOTE: WAY BETTER ON PC (can't grab the note on mobile yet)
[Budge it!](http://laziestj.pythonanywhere.com)
For context, I'm a QA Engineer by day (haven't landed that dev job yet) and recently graduated with a software development degree that focused on java. I've built a stand-alone java app, an android app, and a portfolio website, but I wanted to try something new and django was suggested to me by a hiring manager.
My next steps are
- turning the days into individual objects for data entry and
/r/djangolearning
https://redd.it/1h25vnl
It doesn't function yet, it's not mobile ready, It doesn't use a database yet, I don't fully understand what I just did... but I'm learning day by day and finally got my django work visible somewhere besides my local.
The app is meant to help people track their poor spending habits. Eventually, a user will be able to add items they want, or need to buy, to the post-it note. Then each day they enter amounts spent on things like fast food or alcohol (anything they want to spend less money on) in the day boxes, and when the total surpasses one of the goal items the user will get a notification stating "You could've bought item 1" etc.
*NOTE: WAY BETTER ON PC (can't grab the note on mobile yet)
[Budge it!](http://laziestj.pythonanywhere.com)
For context, I'm a QA Engineer by day (haven't landed that dev job yet) and recently graduated with a software development degree that focused on java. I've built a stand-alone java app, an android app, and a portfolio website, but I wanted to try something new and django was suggested to me by a hiring manager.
My next steps are
- turning the days into individual objects for data entry and
/r/djangolearning
https://redd.it/1h25vnl
YTSage: A Modern YouTube Downloader with a Stunning PyQt6 Interface!
What My Project Does:
YTSage is a modern YouTube downloader designed for simplicity and functionality. With a sleek PyQt6 interface, it allows users to:
- 🎥 Download videos in various qualities with automatic audio merging.
- 🎵 Extract audio in multiple formats.
- 📝 Fetch both manual and auto-generated subnoscripts.
- ℹ️ View detailed video metadata (e.g., views, upload date, duration).
- 🖼️ Preview video thumbnails before downloading.
---
Target Audience:
YTSage is ideal for:
- Casual users who want an easy-to-use video and audio downloader.
- Developers looking for a robust yt-dlp-based tool with a clean GUI.
- Educators and content creators who need subnoscripts or metadata for their projects.
---
Comparison with Existing Alternatives:
- vs yt-dlp: While yt-dlp is powerful, it operates through the command line. YTSage simplifies the process with an intuitive graphical interface.
- vs other GUI downloaders: Many alternatives lack modern design or features like subnoscript support and metadata display. YTSage bridges this gap with its PyQt6-powered interface and advanced functionality.
---
Getting Started:
Download the pre-built executable from the Releases page – no installation required! For developers, source code and
/r/Python
https://redd.it/1h2ta56
What My Project Does:
YTSage is a modern YouTube downloader designed for simplicity and functionality. With a sleek PyQt6 interface, it allows users to:
- 🎥 Download videos in various qualities with automatic audio merging.
- 🎵 Extract audio in multiple formats.
- 📝 Fetch both manual and auto-generated subnoscripts.
- ℹ️ View detailed video metadata (e.g., views, upload date, duration).
- 🖼️ Preview video thumbnails before downloading.
---
Target Audience:
YTSage is ideal for:
- Casual users who want an easy-to-use video and audio downloader.
- Developers looking for a robust yt-dlp-based tool with a clean GUI.
- Educators and content creators who need subnoscripts or metadata for their projects.
---
Comparison with Existing Alternatives:
- vs yt-dlp: While yt-dlp is powerful, it operates through the command line. YTSage simplifies the process with an intuitive graphical interface.
- vs other GUI downloaders: Many alternatives lack modern design or features like subnoscript support and metadata display. YTSage bridges this gap with its PyQt6-powered interface and advanced functionality.
---
Getting Started:
Download the pre-built executable from the Releases page – no installation required! For developers, source code and
/r/Python
https://redd.it/1h2ta56
GitHub
GitHub - oop7/YTSage: Modern YouTube downloader with a clean PySide6 interface. Download videos in any quality, extract audio,…
Modern YouTube downloader with a clean PySide6 interface. Download videos in any quality, extract audio, fetch subnoscripts, sponsorBlock, and view video metadata. Built with yt-dlp for reliable perfo...
Web Scraping Social Media Profiles X, Instagram, Tiktok, Youtube
Hi everyone!
I’ve created a noscript for scraping public social media accounts for work purposes. I’ve wrapped it up, formatted it, and created a repository for anyone who wants to use it.
# What My Project Does
The main focus of this project is to scrape data from profiles and their posts. For example:
- In my job, I’ve automated it to run daily for our social media profiles, storing the data for later analysis.
- A firend of mine wanted to download all the thumbnails of a youtube channel.
# How it works
The noscript uses Playwright to intercept requests and clean up the data. It also includes a second part that converts images to Base64 encoding, which is useful when image URLs expire or cannot be displayed directly in an
I believe the noscript is easy to use, and you can quickly adapt it to suit your needs. Be sure to check out the README for more details!
# Target Audience
This tool is for anyone who needs to scrape social media data. The code is simple enough to copy, modify, and integrate into your project.
# Comparison
I haven’t extensively
/r/Python
https://redd.it/1h2o2n5
Hi everyone!
I’ve created a noscript for scraping public social media accounts for work purposes. I’ve wrapped it up, formatted it, and created a repository for anyone who wants to use it.
# What My Project Does
The main focus of this project is to scrape data from profiles and their posts. For example:
- In my job, I’ve automated it to run daily for our social media profiles, storing the data for later analysis.
- A firend of mine wanted to download all the thumbnails of a youtube channel.
# How it works
The noscript uses Playwright to intercept requests and clean up the data. It also includes a second part that converts images to Base64 encoding, which is useful when image URLs expire or cannot be displayed directly in an
HTML img tag. For YouTube, it uses the API v3, as it's straightforward to obtain an API key.I believe the noscript is easy to use, and you can quickly adapt it to suit your needs. Be sure to check out the README for more details!
# Target Audience
This tool is for anyone who needs to scrape social media data. The code is simple enough to copy, modify, and integrate into your project.
# Comparison
I haven’t extensively
/r/Python
https://redd.it/1h2o2n5
Reddit
From the Python community on Reddit: Web Scraping Social Media Profiles [ X, Instagram, Tiktok, Youtube ]
Explore this post and more from the Python community
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1h2zjp4
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1h2zjp4
YouTube
Data Structures and Algorithms in Python - Full Course for Beginners
A beginner-friendly introduction to common data structures (linked lists, stacks, queues, graphs) and algorithms (search, sorting, recursion, dynamic programming) in Python. This course will help you prepare for coding interviews and assessments.
🔗 Course…
🔗 Course…
People who have styled/modified the admin page, how did that go?
In terms of difficulty, how bad was it? especially if you had to style it. and was it worth it?
/r/django
https://redd.it/1h2ybk4
In terms of difficulty, how bad was it? especially if you had to style it. and was it worth it?
/r/django
https://redd.it/1h2ybk4
Reddit
From the django community on Reddit
Explore this post and more from the django community
Short-Circuiting in Python
Here is my article on Short-Circuiting in Python . It discusses what is short-circuiting with examples, and also discusses the different advantages of using short-circuiting.
/r/Python
https://redd.it/1h30nsp
Here is my article on Short-Circuiting in Python . It discusses what is short-circuiting with examples, and also discusses the different advantages of using short-circuiting.
/r/Python
https://redd.it/1h30nsp
NoloWiz
Short-Circuiting in Python - NoloWiz
rticle, we will discuss the short-circuiting technique in Python programming.
Google OAuth, Grok Api, Cloudinary not working properly.
Basically, i have two same django projects with same files. One project is deployed in Render and other is deployed in Railway. The Google OAuth, Grok Api, Cloudinary( for handling media files) are working in Render deployed project but not in Railway deployed project. What could be the issues? I have included all the libraries and changed some of the settings, links but even then it is not working. Can anyone help me out!
/r/djangolearning
https://redd.it/1h24ukq
Basically, i have two same django projects with same files. One project is deployed in Render and other is deployed in Railway. The Google OAuth, Grok Api, Cloudinary( for handling media files) are working in Render deployed project but not in Railway deployed project. What could be the issues? I have included all the libraries and changed some of the settings, links but even then it is not working. Can anyone help me out!
/r/djangolearning
https://redd.it/1h24ukq
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
A tutorial on how to create Web Apps using only Python
Hey everyone! I created an hour-long tutorial on creating a Web App using only Python with Taipy, an open-source Python library. It covers visual elements, interactions, styling, multiple pages, and it touches on authentication and deployment.
Feel free to take a look here:
https://youtu.be/4F-266YnTkM?si=qGDra6c68\_jz6ZBK
/r/Python
https://redd.it/1h32v2g
Hey everyone! I created an hour-long tutorial on creating a Web App using only Python with Taipy, an open-source Python library. It covers visual elements, interactions, styling, multiple pages, and it touches on authentication and deployment.
Feel free to take a look here:
https://youtu.be/4F-266YnTkM?si=qGDra6c68\_jz6ZBK
/r/Python
https://redd.it/1h32v2g
YouTube
Creating a Web App using only Python with Taipy
In this tutorial, we create a Sales Dashboard web application using only Python. We use Taipy, an open-source Python library, to create interactive visual elements, charts, and multiple pages.
GitHub link: https://github.com/AlexandreSajus/taipy-course
…
GitHub link: https://github.com/AlexandreSajus/taipy-course
…
Domain Driven Design in Python
Hi,
I'm recently building a hobby project backend which uses domain driven design and clean/hexagonal architecture. I'm pretty new to domain driven design, so I'm reading about it and trying to implement it. I'm using google and perplexity to get understand the concepts, clear my doubts and get different perspectives when trying to make a choice between multiple implementations. Now, I'm looking for a open-source project that makes heavy use of DDD implementing things like event sourcing, etc so I can get a better understanding of the implementation. Does anyone know any good github repos which implements Domain driven design which I can use as reference?
/r/flask
https://redd.it/1h377gf
Hi,
I'm recently building a hobby project backend which uses domain driven design and clean/hexagonal architecture. I'm pretty new to domain driven design, so I'm reading about it and trying to implement it. I'm using google and perplexity to get understand the concepts, clear my doubts and get different perspectives when trying to make a choice between multiple implementations. Now, I'm looking for a open-source project that makes heavy use of DDD implementing things like event sourcing, etc so I can get a better understanding of the implementation. Does anyone know any good github repos which implements Domain driven design which I can use as reference?
/r/flask
https://redd.it/1h377gf
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
How to host a flask app with https on home server
Im doing a learning project trying to set up a flask app with https on my home network and make it available online. Im using a asus router and set up ddns with a asus provided domain name and port forwarding. This part works with http.
How would i go about making this work with https. In the asus router settings for ddns i have generated key and cert.pem from letscencrypt (for the domain i guess?) But how can i configure the flask app to use this?
/r/flask
https://redd.it/1h10py6
Im doing a learning project trying to set up a flask app with https on my home network and make it available online. Im using a asus router and set up ddns with a asus provided domain name and port forwarding. This part works with http.
How would i go about making this work with https. In the asus router settings for ddns i have generated key and cert.pem from letscencrypt (for the domain i guess?) But how can i configure the flask app to use this?
/r/flask
https://redd.it/1h10py6
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Tech Events @ Europe
In the repository https://github.com/ortolanph/tech-events-europe there is a listing of events for Europe for this year (I know that's only Portugal, but this is what I have done for now). If you want to contribute to next year's event, just follow the rules on the site.
Thanks!
/r/Python
https://redd.it/1h3bhgl
In the repository https://github.com/ortolanph/tech-events-europe there is a listing of events for Europe for this year (I know that's only Portugal, but this is what I have done for now). If you want to contribute to next year's event, just follow the rules on the site.
Thanks!
/r/Python
https://redd.it/1h3bhgl
GitHub
GitHub - ortolanph/tech-events-europe: List of tech events on @Europe
List of tech events on @Europe. Contribute to ortolanph/tech-events-europe development by creating an account on GitHub.
Flask with HTMX Example
Thanks to the holidays I've managed to find the time to get heads down with learning a few new things and I'm sharing this latest example of converting the Flask blog tutorial project into a single page application with HTMX.
This was more challenging than I thought it would be, mostly because my templates became increasingly more difficult to read as time passed. This example could be cleaned up more with the use of macros, but I thought it would be best to keep most of the original code intact to compare this with the source example better.
My biggest takeaway from this project was the concept of out-of-band swaps for updating other parts of the HTML outside of the original target.
HTMX is a great tool and I'm happy to see it getting more traction.
/r/flask
https://redd.it/1h3dlmt
Thanks to the holidays I've managed to find the time to get heads down with learning a few new things and I'm sharing this latest example of converting the Flask blog tutorial project into a single page application with HTMX.
This was more challenging than I thought it would be, mostly because my templates became increasingly more difficult to read as time passed. This example could be cleaned up more with the use of macros, but I thought it would be best to keep most of the original code intact to compare this with the source example better.
My biggest takeaway from this project was the concept of out-of-band swaps for updating other parts of the HTML outside of the original target.
HTMX is a great tool and I'm happy to see it getting more traction.
/r/flask
https://redd.it/1h3dlmt
GitHub
GitHub - forgineer/flask-htmx-example: Example Flask application using HTMX.
Example Flask application using HTMX. Contribute to forgineer/flask-htmx-example development by creating an account on GitHub.
Jupyter Lab vs Notebook
I'm working in AWS SageMaker doing my analyses using Jupyter in an EC2 instance/in the cloud. I had been using JupyterLab for a bit now, but I've been noticing that when I close out of my tabs, my Jupyter processes end as well. I tested the same with regular notebooks/Jupyter, and those processes stay active even when I close my tabs. Is this to be expected, and is there a way to keep JupyterLab running even after closing my tabs? I'm not sure if working in SageMaker/the cloud makes a difference to working locally
/r/IPython
https://redd.it/1h3jg6e
I'm working in AWS SageMaker doing my analyses using Jupyter in an EC2 instance/in the cloud. I had been using JupyterLab for a bit now, but I've been noticing that when I close out of my tabs, my Jupyter processes end as well. I tested the same with regular notebooks/Jupyter, and those processes stay active even when I close my tabs. Is this to be expected, and is there a way to keep JupyterLab running even after closing my tabs? I'm not sure if working in SageMaker/the cloud makes a difference to working locally
/r/IPython
https://redd.it/1h3jg6e
Reddit
From the IPython community on Reddit
Explore this post and more from the IPython community
Django and Postgres for the Busy Rails Developer
https://andyatkinson.com/django-python-postgres-busy-rails-developer
/r/django
https://redd.it/1h3c1un
https://andyatkinson.com/django-python-postgres-busy-rails-developer
/r/django
https://redd.it/1h3c1un
Andrew Atkinson - Software Engineer, Author, High Performance PostgreSQL for Rails
Django and Postgres for the Busy Rails Developer
About 10 years ago I wrote a post PostgreSQL for the Busy MySQL Developer, as part of switching from MySQL to Postgres for my personal and professional projects wherever I could.