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

How to install openzeppelin-cairo-contracts via python pip




openzeppelin-cairo-contracts - Library for secure smart contract development written in Cairo, it belongs to Classifiers:

- Operating System :: OS Independent

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



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_openzeppelin-cairo-contracts_env

- Active the virtual environment

test_openzeppelin-cairo-contracts_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_openzeppelin-cairo-contracts_env

- Active the virtual environment

source test_openzeppelin-cairo-contracts_env/bin/active


Step 2: OK, now, let flow below content to start the installation openzeppelin-cairo-contracts

To install openzeppelin-cairo-contracts on Windows(CMD):

py -m pip install openzeppelin-cairo-contracts

To install openzeppelin-cairo-contracts on Unix/macOs:

pip install openzeppelin-cairo-contracts


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

Example:

pip install openzeppelin-cairo-contracts==0.1.0


Please see the version list below table:

VersionReleased dateCommand
openzeppelin-cairo-contracts 0.3.12022-08-11T21:04:46Windows:

py -m pip install openzeppelin-cairo-contracts==0.3.1

Unix/macOs:

pip install openzeppelin-cairo-contracts==0.3.1

openzeppelin-cairo-contracts 0.3.02022-08-05T00:03:10Windows:

py -m pip install openzeppelin-cairo-contracts==0.3.0

Unix/macOs:

pip install openzeppelin-cairo-contracts==0.3.0

openzeppelin-cairo-contracts 0.2.12022-07-13T14:27:41Windows:

py -m pip install openzeppelin-cairo-contracts==0.2.1

Unix/macOs:

pip install openzeppelin-cairo-contracts==0.2.1

openzeppelin-cairo-contracts 0.2.02022-07-01T12:12:03Windows:

py -m pip install openzeppelin-cairo-contracts==0.2.0

Unix/macOs:

pip install openzeppelin-cairo-contracts==0.2.0

openzeppelin-cairo-contracts 0.1.02022-03-23T01:49:21Windows:

py -m pip install openzeppelin-cairo-contracts==0.1.0

Unix/macOs:

pip install openzeppelin-cairo-contracts==0.1.0


Step 4: Otherwise, you can install openzeppelin-cairo-contracts from local archives:

Download the distribution file from openzeppelin-cairo-contracts-0.3.1.tar.gz or the specific openzeppelin-cairo-contracts version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_openzeppelin-cairo-contracts_downloaded_file>

On Unix/macOs:

pip install <path_to_openzeppelin-cairo-contracts_downloaded_file>


List distribution:

- openzeppelin-cairo-contracts-0.1.0.tar.gz
- openzeppelin_cairo_contracts-0.1.0-py3-none-any.whl
- openzeppelin-cairo-contracts-0.2.0.tar.gz
- openzeppelin_cairo_contracts-0.2.0-py3-none-any.whl
- openzeppelin-cairo-contracts-0.2.1.tar.gz
- openzeppelin_cairo_contracts-0.2.1-py3-none-any.whl
- openzeppelin-cairo-contracts-0.3.0.tar.gz
- openzeppelin_cairo_contracts-0.3.0-py3-none-any.whl
- openzeppelin-cairo-contracts-0.3.1.tar.gz
- openzeppelin_cairo_contracts-0.3.1-py3-none-any.whl
- openzeppelin-cairo-contracts-0.3.2.tar.gz
- openzeppelin_cairo_contracts-0.3.2-py3-none-any.whl
- openzeppelin-cairo-contracts-0.4.0b0.tar.gz
- openzeppelin_cairo_contracts-0.4.0b0-py3-none-any.whl
- openzeppelin-cairo-contracts-0.4.0.tar.gz
- openzeppelin_cairo_contracts-0.4.0-py3-none-any.whl
- openzeppelin-cairo-contracts-0.5.0.tar.gz
- openzeppelin_cairo_contracts-0.5.0-py3-none-any.whl
- openzeppelin-cairo-contracts-0.5.1.tar.gz
- openzeppelin_cairo_contracts-0.5.1-py3-none-any.whl
- openzeppelin-cairo-contracts-0.6.0.tar.gz
- openzeppelin_cairo_contracts-0.6.0-py3-none-any.whl


Project link:

- Homepage