Enter the following on the command line: mkdir pyenv On your system “jsing” will be your windows userid.Ĭreate a directory to store our virtual environments (you will likely create more than one over time). Notice that Windows has set the current directory to “c:\users\jsing”. You should get a prompt something like below: windows command line We will now go through this step by step: The VENV allows you to isolate python versions and more importantly, python libraries for each project you work on. It is best to do all your work in a python “virtual environment” (VENV). Follow their instructions and you will have Python installed on your Windows system. ![]() You can go to downloads page and find the most recent download for Windows. In this situation we will need a coding environment on our laptop which for most people will be a Windows machine. Headless means that the RPi has no monitor or keyboard in the traditional sense like a laptop or desktop computer. But it is more likely that your RPi project will be using a “Headless” Raspberry Pi – or many headless RPi’s (a “swarm”). After all, Thonny comes pre-installed on the RPi so you are pretty much ready to go. Well if you’re running an RPi desktop system (in other words, you have a monitor and keyboard attached to an RPi) then you can skip this part if you want. ![]() You might be asking why bother installing Thonny on Windows if we’re building gadgets that run on the Raspberry Pi (RPi). Thonny is a “beginner friendly” python development environment that is recommended by the Raspberry Pi organization. Python is also the language of choice for working with the Raspberry Pi (RPi). Python is a popular programming language that is used widely in the corporate world. ![]() In this post we will look at how to setup the Thonny Python IDE (integrated development environment) on Windows 10.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |