Line 83: |
Line 83: |
| And make a new system variable with name: '''PROJECT_HOME''' and value ''C:\Users\Public\Projects''. Your virtualenvs will now be stored in ''C:\Users\Public\Projects'' and projects in ''C:\Users\Public\Projects''. These are also the places where virtualenvs and projects are stored on the labcomputer. | | And make a new system variable with name: '''PROJECT_HOME''' and value ''C:\Users\Public\Projects''. Your virtualenvs will now be stored in ''C:\Users\Public\Projects'' and projects in ''C:\Users\Public\Projects''. These are also the places where virtualenvs and projects are stored on the labcomputer. |
| | | |
− | Open a command window with administrator rights and type: | + | Open a command window with administrator rights and type:<br> |
− | '''workon''' to see a list of existing virtualenvs. | + | '''workon''' to see a list of existing virtualenvs.<br> |
− | '''workon <virtualenvname>''', where <virtualenvname> is the name of the virtualenv you want to use. | + | '''workon <virtualenvname>''', where <virtualenvname> is the name of the virtualenv you want to use.<br> |
− | '''mkvirtualenv <virtualenvname>''' to create a new and empty virtualenv. | + | '''mkvirtualenv <virtualenvname>''' to create a new and empty virtualenv.<br> |
− | '''mkvirtualenv -p=37 <virtualenvname>''' to create a new and empty virtualenv that uses the installed Python3.7.6. | + | '''mkvirtualenv -p=37 <virtualenvname>''' to create a new and empty virtualenv that uses the installed Python3.7.6.<br> |
− | '''mkvirtualenv -p=36 <virtualenvname>''' to create a new and empty virtualenv that uses the installed Python3.6.8. | + | '''mkvirtualenv -p=36 <virtualenvname>''' to create a new and empty virtualenv that uses the installed Python3.6.8.<br> |
− | '''mkvirtualenv -p=37 --system-site-packages <virtualenvname>''' to create a new virtualenv that uses the installed Python3.7 and its site-packages. | + | '''mkvirtualenv -p=37 --system-site-packages <virtualenvname>''' to create a new virtualenv that uses the installed Python3.7 and its site-packages.<br> |
− | '''rmvirtualenv <virtualenvname>''' to remove the virtualenv with name <virtualenvname>. | + | '''rmvirtualenv <virtualenvname>''' to remove the virtualenv with name <virtualenvname>.<br> |
| + | <br> |
| + | |
| | | |
| | | |