-
Notifications
You must be signed in to change notification settings - Fork 6
Install DukeDSClient under Windows
John Bradley edited this page Nov 25, 2020
·
18 revisions
The most reliable way to install DukeDSClient on Windows is using a python virtual environment.
Steps
- Download and Install Python
- Create a Virtual Environment
- Create a Shortcut to the Virtual Environment
- Install DukeDSClient in the Virtual Environment
Go to https://www.python.org/downloads/ and click the Download Python button.
Run the Python Installer using the default options.
- Click search in the taskbar
- Type "cmd" into the box
- Select the "Command Prompt" App
Within the command prompt window type the following command to create a virtual environment named dds:
py -3 -m venv %HOMEPATH%\dds
If you receive a Command Not Found error for the above command use this command instead:
python3 -m venv %HOMEPATH%\dds
Close the terminal
The shortcut will activate the virtual environment and setup unicode support for the command prompt.
- Right-click on your desktop, choose New -> Shortcut
- Enter
C:\Windows\System32\cmd.exe /K %HOMEPATH%\dds\Scripts\activate && CHCP 65001 && set PYTHONIOENCODING=UTF-8
for the shortcut location - Click Next
- Enter
DukeDSClient-Terminal
for the shortcut name - Click Finish
- Right-Click the DukeDSClient-Terminal shortcut
- Click Properties
- Enter
%HOMEPATH%
in the Start In field
Double-click your DukeDSClient-Terminal desktop shortcut.
In the Command Prompt window install DukeDSClient using the following command:
pip3 install --upgrade DukeDSClient