![]() If you see that your Thonny IDE does not have the menu bar, click on Switch to regular mode on the top right corner. With this in mind, this post shows you how to associate a Python 3 virtual environment with Thonny. Steps to associate a Python 3 virtual environment with Thonny When you are developing a Python 3 application with Thonny, you may want to get Thonny to use a virtual environment to run and debug your application. 10K views 2 years ago Python Programming Course for Beginners In this video, I show you how to install the Thonny IDE for Python on a Windows machine. Create a Python 3 virtual environment on Windows 10įor the purpose of this post, let's assume that we had created a Python 3 virtual environment at /home/pi/my-venv.Create a virtual environment with python3-venv on Linux or Unix.In case you need it, you can follow one of the following tutorials to create your Python 3 virtual environment: The steps to associate a Python 3 virtual environment with Thonny running on Windows should be similar.īefore proceeding further, make sure that you had created a virtual environment. This tutorial was created with Thonny running on Raspbian Stretch. Creating a virtual environment with python3-venv When you are developing a Python 3 application with Thonny, you may want to get Thonny to use a virtual environment to run and debug your application. How to associate a Python 3 virtual environment with Thonny
0 Comments
Leave a Reply. |