The aim of this lab is to setup our python environment in the lab and give you the ability to setup something similar at home. I will video it live and upload afterwards as this will mainly be an interactive session.
Aims The aim of this lab is to help setup and install python and various other tools
Using PyEnv for installation of python versions Using Pip to install packages Setup VSCode to edit and run python files Why do I need PyEnv?
PyEnv can be installed by downloading from here https://github.com/pyenv/pyenv or if using a mac use brew install pyenv
If downloading from github do the following
git clone https://github.com/pyenv/pyenv.git ~/.pyenv cd ~/.
When running the following code in a mayapy session
import maya.standalone maya.standalone.initialize(name='python') The interpreter never returns for the next line of code.
TL;DR was an issue with my userSetup.py where I use cmds.
Aims The aim of this lab is to help setup and install python and various other tools
Using PyEnv for installation of python versions Using Pip to install packages Setup VSCode to edit and run python files Why do I need PyEnv?
Aims The aim of this lab is to help setup and install python and various other tools
Using PyEnv for installation of python versions Using Pip to install packages Setup VSCode to edit and run python files Why do I need PyEnv?
Introduction In Lab1 we introduced the PyEnv tool to allow us to install various versions of python either locally or globally.
In the following examples we will explore how we can setup and install specific ML libraries into a Virtual Environment using the global PyEnv python.
Introduction In Lab3 we introduced the PyEnv tool to allow us to install various versions of python either locally or globally, and we installed the Anaconda distribution of python which includes many of the libraries we will be using in the course.