Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install scpi via python pip




scpi - Basic idea here is to make transport-independent command sender/parser and a device baseclass that implements the common SCPI commands, it belongs to Classifiers:

- License :: Other/Proprietary License

When you know about this project and you want to new install scpi to support your project or you get trouble as ModuleNotFoundError: No module named "scpi" or ImportError: cannot import name "scpi" in your project, let follow this tutorial to install scpi



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_scpi_env

- Active the virtual environment

test_scpi_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_scpi_env

- Active the virtual environment

source test_scpi_env/bin/active


Step 2: OK, now, let flow below content to start the installation scpi

To install scpi on Windows(CMD):

py -m pip install scpi

To install scpi on Unix/macOs:

pip install scpi


Step 3: If you want to install a specific scpi version, add ==<scpi version> to the end command line

Example:

pip install scpi==0.5.dev-20faf8c                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
scpi 2.4.02021-04-25T11:02:28Windows:

py -m pip install scpi==2.4.0

Unix/macOs:

pip install scpi==2.4.0

scpi 2.3.12021-04-09T17:43:33Windows:

py -m pip install scpi==2.3.1

Unix/macOs:

pip install scpi==2.3.1

scpi 2.3.02021-03-28T10:05:40Windows:

py -m pip install scpi==2.3.0

Unix/macOs:

pip install scpi==2.3.0

scpi 2.2.02021-03-21T11:32:05Windows:

py -m pip install scpi==2.2.0

Unix/macOs:

pip install scpi==2.2.0

scpi 2.1.02018-07-13T21:50:27Windows:

py -m pip install scpi==2.1.0

Unix/macOs:

pip install scpi==2.1.0

scpi 2.0.02018-07-11T20:07:26Windows:

py -m pip install scpi==2.0.0

Unix/macOs:

pip install scpi==2.0.0

scpi 0.6.52015-04-18T11:34:29Windows:

py -m pip install scpi==0.6.5

Unix/macOs:

pip install scpi==0.6.5

scpi 0.6.42015-04-14T17:15:53Windows:

py -m pip install scpi==0.6.4

Unix/macOs:

pip install scpi==0.6.4

scpi 0.6.32015-04-14T17:08:45Windows:

py -m pip install scpi==0.6.3

Unix/macOs:

pip install scpi==0.6.3

scpi 0.6.22015-04-14T16:57:16Windows:

py -m pip install scpi==0.6.2

Unix/macOs:

pip install scpi==0.6.2

scpi 0.6.02014-09-09T10:29:06Windows:

py -m pip install scpi==0.6.0

Unix/macOs:

pip install scpi==0.6.0

scpi 0.52014-09-03T18:18:30Windows:

py -m pip install scpi==0.5

Unix/macOs:

pip install scpi==0.5


Step 4: Otherwise, you can install scpi from local archives:

Download the distribution file from scpi-2.4.0.tar.gz or the specific scpi version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_scpi_downloaded_file>

On Unix/macOs:

pip install <path_to_scpi_downloaded_file>


List distribution:


Project link:

- Homepage
- Repository