Skip to content

Install DukeDSClient under Windows

John Bradley edited this page Nov 25, 2020 · 18 revisions

Overview

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 that activates the Virtual Environment
  • Install DDS in the Virtual Environment

Download and Install Python

Download Python

Python Download

Go to https://www.python.org/downloads/ and click the Download Python button.

Install Python

Python Installer

Run the Python Installer using the default options.

Create a Virtual Environment

Open Windows Command Prompt

Run Command Prompt

Click search, then type "cmd" into the box, then select "Command Prompt".

Create a Virtual Environment

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

Create a Shortcut to the Virtual Environment

Create a Desktop Shortcut

  • Right-click on your desktop, choose New -> Shortcut
  • Enter C:\Windows\System32\cmd.exe /K %HOMEPATH%\dds\Scripts\activate 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

Install DDS in the Virtual Environment

Double-click your DukeDSClient-Terminal desktop shortcut.

In the Command Prompt window install DukeDSClient using the following command:

pip3 install --upgrade DukeDSClient

Clone this wiki locally