It is entirely expected that you might see some errors when you first open the file! If you click the "Open Folder" button on the welcome page of the VSCode application and select the test directory, you should then see the following editor if you click on the main.py on the left. You should click the Python link circled in red to install the VSCode Python plugins Step 4 - Set Up VSCode for Python Developmentĭownload test.zip to whichever directory you plan to use to store homework assignments and unzip it so you have a test directory in your working directory. Once installed, you should open the Visual Studio Code application and should see a screen like below. Go to Visual Studio Code's website and install the IDE for whichever operating system you own. Clicking on the environment should show you something that looks like a list of Python packages: Once you have done this and created the environment, it will install all of the necessary packages.Īfter all the packages have been installed, you should see an environment called cse163 and if you select it, will have many packages installed. In the prompt after selecting the environment specification, you should name the environment cse163. Click on the folder icon, navigate to and select the environment.yaml file you downloaded earlier. Navigate to the Environments section on the left, and click the Import button at the bottom. The location of this file does not matter as long as you remember where you saved it. This file specifies all of the requisite Python packages and their versions. Step 2 - Create Environment and Install Python Packagesĭownload the environment.yaml somewhere on your computer. Once installed, you should open the Anaconda Navigator application and you will see a screen like: Go to Anaconda's website and install Python 3.7 for whichever operating system you own. You may then skip this step after you have successfully installed Python 3.7. You should open up terminal/command prompt and run the commands:Ĭonda update conda conda install python=3.7 Step 1 - Install Anaconda 3 If you already have Anaconda 3 installed with a version of Python before 3.7: Step 4 - Set Up VSCode for Python Development.Step 2 - Create Environment and Install Python Packages.Preface: Getting a development environment set up is easily one of the most frustrating things about being a programmer, so it's okay if this process doesn't go smoothly! If you run into troubles along the way, please make sure to post on the message board, come to office hours, or just Google around to see if you can solve the problem on your own!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |