home/netid/.To execute notebooks or Python code in DataSpell, you need to configure at least one virtual environment based on a Python interpreter. Create a virtual environment named pytorch using python v3.7.2 and add the pytorch and tk packages (and all dependencies) to the conda create -n pytorch python=3.7.2 pytorch conda activate pytorch.To delete a virtual environment, enter the following, where virt_env_name is the name of the virtual environment you want to conda remove -n virt_env_name -allĮxample of creating and moving around in a virtual environment.There is no need to specify the virtual environment name – the virtual environment currently active will simply be deactivated and the PATH and shell variables will be returned to normal.To end a session in the current virtual environment, enter the source deactivate.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |