Working Locally Guide: Select your operating system and follow the guides or videos below to learn how to set yourself up to work locally! If you run into any issues, post to Ed Discussion under the logistic tag!
These steps are to install/ensure the correct version of python and pytest are installed locally on your computer.
python --version to get the python version you are running. If it says 3.7.3 you are good to go, if not:
python3 --version.3.7.3 install python 3.7.33.7.3 you must type python3 to run anything, or setup an alias as shown below.cs0160_install you wanted to type i you could set up an alias so i was interpreted as cs0160_install in your terminalpython is interpreted as python3 by default.
.zshrc file instead of the .bash_profile.open -e ~/.bash_profile if a file does not exist type touch ~/.bash_profile first and then open -e ~/.bash_profile alias python="python3.7"source ~/.bash_profile (essentially refreshing your terminal) and then run python --version to confirm that you've correctly set the version to python 3. It should now say: 3.7.3python and then in the python shell run import pytest If you get no errors doing this, you are fine, If not:exit() to exit the python shellpip3.7 install -U pytest python and then in the shell write import pytest once more to confirm it is installed by making sure you no longer have errorsImportant note: if you have python 3.7.3, then you're good to go. If not:
python --version, you should see Python 3.7.3C:\Users\
C:\Users\
python and then in the python shell run import pytest If you get no errors doing this, you are fine, If not:
exit() to exit the python shellpip3.7 install pytest python and then in the shell write import pytest once more to confirm it is installed by making sure you no longer have errorsThese steps are to make sure the correct version of java is installed on your local computer. You must do this before doing your local Eclipse setup!
java -version and check that the number following “java version” starts with 1.8 or 8, if it does, you're done! If not, read on.java -version again to check if the version is now 1.8 or 8, and if it is not type the following into your terminal:cd /Library/Java/JavaVirtualMachinesls you should see at least one file that starts with “jdk”, look for the file whose number starts with 1.8 or 8 and copy the file name. The full copied file name should look something like jdk.1.8.0_181.jdkcd ~open -e .bash_profiletouch .bash_profile then open -e.bash_profile.bash_profile file. However, fill in the part <fill me in> with the copied file name from the second bullet point:export JAVA_HOME=/Library/Java/JavaVirtualMachines/<fill me in>/Contents/Home
java -version to make sure the correct version of java is being used
java -version to see your version of java, if it is 1.8, you’re donejava -version in powershell or cmd prompt. If nothing or the wrong version comes up, continue following these instructionsC:\Program Files\Java\jdk1.8.0_231\bin There are many different IDEs that work for writing in python (IDEs are platforms in which you can write code). You can edit your python files in whatever program you like. Some recommended ones are Atom, VS Code, Sublime, and Pycharm. Atom, VS Code, and Sublime are free whereas Pycharm can be downloaded for free by first creating a GitHub account and then registering it as a GitHub student account here. The video tutorial shows these off more.
There are many different IDEs that work for writing in python (IDEs are platforms in which you can write code). You can edit your python files in whatever program you like. Some recommended ones are Atom, VS Code, Sublime, and Pycharm. Atom, VS Code, and Sublime are free whereas Pycharm can be downloaded for free by first creating a GitHub account and then registering it as a GitHub student account here. The video tutorial shows these off more.
Zoom will be used for all interactions that used to be in person :(. This is the link to log in to your Zoom account. This is how Zoom will work for each of its implementations:
Code Hours:
Conceptual Hours/Clinic:
Section:
Zoom will be used for all interactions that used to be in person :(. This is the link to log in to your Zoom account. This is how Zoom will work for each of its implementations:
Code Hours:
Conceptual Hours/Clinic:
Section: