(Optional) Obtain a P圜harm Professional License using your student email In the subsequent parts, we will show how we can integrate our compsci260 environment into Python projects with P圜harm.Īlthough students are may use whichever IDE they are comfortable with, we will provide instructions and support for the JetBrains IDE P圜harm. We can also switch back to the system Python using the command conda deactivate. We’ve successfully created the compsci260 environment and we can switch to it using the conda activate compsci260 command. Verify that your Conda environment has been installed by listing out the available Conda environments using the command conda env list: (base ) $ conda env listĬompsci260 /Users/compsci260/anaconda3/envs/compsci260 You will be prompted to install packages into this environment. Create the Conda environment named compsci260 using the conda create command.Ĭonda create -name compsci260 python=3.8.5 However, for practicality, we will want to create an environment specifically for this course. With this (base) environment of Python 3, we are ready to build Python 3 projects. Setup a Conda environment for COMPSCI 260 Note that if using the GUI installer, the path will be /Users/compsci260/opt/anaconda3/bin/python. Next, check that the Python path is set to Anaconda’s using the command which python: (base ) $ which python We can check this with the command python -version: (base ) $ python -version Which means that the current Python version should be set to Python 3. The (base) indicates the current Python environment is currently set to the base environment installed with Anaconda/Conda. Your terminal output should look similar to the following (base ) $ conda -version Once installed, open a terminal window and test that Anaconda and Conda was installed correctly by entering the command conda -version.
0 Comments
Leave a Reply. |