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

How to install PyVISA via python pip




PyVISA - Python VISA bindings for GPIB, RS232, TCPIP and USB instruments, it belongs to Classifiers:

- Intended Audience :: Science/Research
- Operating System :: MacOS
- Operating System :: MacOS :: MacOS X
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Operating System :: POSIX :: Linux
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.10
- Topic :: Scientific/Engineering
- Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator

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



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_PyVISA_env

- Active the virtual environment

test_PyVISA_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_PyVISA_env

- Active the virtual environment

source test_PyVISA_env/bin/active


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

To install PyVISA on Windows(CMD):

py -m pip install PyVISA

To install PyVISA on Unix/macOs:

pip install PyVISA


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

Example:

pip install PyVISA==0.9.4


Please see the version list below table:

VersionReleased dateCommand
PyVISA 1.12.02022-05-11T12:54:03Windows:

py -m pip install PyVISA==1.12.0

Unix/macOs:

pip install PyVISA==1.12.0

PyVISA 1.11.32020-11-08T02:24:52Windows:

py -m pip install PyVISA==1.11.3

Unix/macOs:

pip install PyVISA==1.11.3

PyVISA 1.11.12020-10-01T00:14:20Windows:

py -m pip install PyVISA==1.11.1

Unix/macOs:

pip install PyVISA==1.11.1

PyVISA 1.11.02020-09-17T00:09:50Windows:

py -m pip install PyVISA==1.11.0

Unix/macOs:

pip install PyVISA==1.11.0

PyVISA 1.10.12019-09-11T23:37:24Windows:

py -m pip install PyVISA==1.10.1

Unix/macOs:

pip install PyVISA==1.10.1

PyVISA 1.10.02019-08-09T12:27:48Windows:

py -m pip install PyVISA==1.10.0

Unix/macOs:

pip install PyVISA==1.10.0

PyVISA 1.9.12018-08-14T02:27:05Windows:

py -m pip install PyVISA==1.9.1

Unix/macOs:

pip install PyVISA==1.9.1

PyVISA 1.9.02018-02-25T15:32:00Windows:

py -m pip install PyVISA==1.9.0

Unix/macOs:

pip install PyVISA==1.9.0

PyVISA 1.82015-08-25T02:25:09Windows:

py -m pip install PyVISA==1.8

Unix/macOs:

pip install PyVISA==1.8

PyVISA 1.72015-05-17T01:07:21Windows:

py -m pip install PyVISA==1.7

Unix/macOs:

pip install PyVISA==1.7

PyVISA 1.6.32015-02-08T05:10:45Windows:

py -m pip install PyVISA==1.6.3

Unix/macOs:

pip install PyVISA==1.6.3

PyVISA 1.6.22014-12-30T00:52:33Windows:

py -m pip install PyVISA==1.6.2

Unix/macOs:

pip install PyVISA==1.6.2

PyVISA 1.6.12014-10-28T13:14:31Windows:

py -m pip install PyVISA==1.6.1

Unix/macOs:

pip install PyVISA==1.6.1

PyVISA 1.62014-09-28T23:11:19Windows:

py -m pip install PyVISA==1.6

Unix/macOs:

pip install PyVISA==1.6

PyVISA 1.52014-06-24T23:12:03Windows:

py -m pip install PyVISA==1.5

Unix/macOs:

pip install PyVISA==1.5

PyVISA 1.42012-12-22T10:43:05Windows:

py -m pip install PyVISA==1.4

Unix/macOs:

pip install PyVISA==1.4

PyVISA 1.32008-05-01T18:15:35Windows:

py -m pip install PyVISA==1.3

Unix/macOs:

pip install PyVISA==1.3

PyVISA 1.22007-09-19T14:29:35Windows:

py -m pip install PyVISA==1.2

Unix/macOs:

pip install PyVISA==1.2

PyVISA 1.12006-11-22T06:56:10Windows:

py -m pip install PyVISA==1.1

Unix/macOs:

pip install PyVISA==1.1

PyVISA 1.02006-01-24T13:51:02Windows:

py -m pip install PyVISA==1.0

Unix/macOs:

pip install PyVISA==1.0

PyVISA 0.9.62005-09-21T15:08:44Windows:

py -m pip install PyVISA==0.9.6

Unix/macOs:

pip install PyVISA==0.9.6

PyVISA 0.9.42005-08-11T12:19:34Windows:

py -m pip install PyVISA==0.9.4

Unix/macOs:

pip install PyVISA==0.9.4


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_PyVISA_downloaded_file>

On Unix/macOs:

pip install <path_to_PyVISA_downloaded_file>


List distribution:


Project link:

- changelog
- documentation
- homepage
- repository