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

How to install tdc7201 via python pip




tdc7201 - Raspberry Pi driver for Texas Instruments TDC7201 Time-to-Digital-Converter chip, it belongs to Classifiers:

- Intended Audience :: Science/Research
- License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
- Operating System :: POSIX
- Operating System :: POSIX :: Linux
- Programming Language :: Python :: 3 :: Only
- Topic :: Scientific/Engineering
- Topic :: Scientific/Engineering :: Physics
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: System
- Topic :: System :: Hardware
- Topic :: System :: Hardware :: Hardware Drivers

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



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_tdc7201_env

- Active the virtual environment

test_tdc7201_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_tdc7201_env

- Active the virtual environment

source test_tdc7201_env/bin/active


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

To install tdc7201 on Windows(CMD):

py -m pip install tdc7201

To install tdc7201 on Unix/macOs:

pip install tdc7201


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

Example:

pip install tdc7201==0.1b1                                                        pre-release


Please see the version list below table:

VersionReleased dateCommand
tdc7201 0.11.22020-11-27T01:48:49Windows:

py -m pip install tdc7201==0.11.2

Unix/macOs:

pip install tdc7201==0.11.2

tdc7201 0.10.12020-11-17T19:26:49Windows:

py -m pip install tdc7201==0.10.1

Unix/macOs:

pip install tdc7201==0.10.1

tdc7201 0.10.02020-10-18T06:26:44Windows:

py -m pip install tdc7201==0.10.0

Unix/macOs:

pip install tdc7201==0.10.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_tdc7201_downloaded_file>

On Unix/macOs:

pip install <path_to_tdc7201_downloaded_file>


List distribution:


Project link:

- Homepage