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

Create Virtual Environment

Within the command prompt window type the following command:

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

Create Shortcut

Right-click on your desktop, choose New -> Shortcut

Enter Shortcut Location

Enter Location

Setup the shortcut location to activate the virtual environment

C:\Windows\System32\cmd.exe /K %HOMEPATH%\dds\Scripts\activate

Then Click Next

Name Shortcut

Name Shortcut

Enter the following for the shortcut name:

DukeDSClient-Terminal

Then Click Finish

Open Shortcut Properties

Shortcut Properties

Set Start In

Set Start In

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