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

How to install oanda-cli via python pip




oanda-cli - Command Line Interface for Oanda API, it belongs to Classifiers:

- Environment :: Console
- Intended Audience :: Financial and Insurance Industry
- License :: OSI Approved :: GNU General Public License v3 (GPLv3)
- Operating System :: MacOS
- Operating System :: POSIX
- Operating System :: POSIX :: Linux
- Topic :: Office/Business
- Topic :: Office/Business :: Financial
- Topic :: Office/Business :: Financial :: Investment

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



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_oanda-cli_env

- Active the virtual environment

test_oanda-cli_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_oanda-cli_env

- Active the virtual environment

source test_oanda-cli_env/bin/active


Step 2: OK, now, let flow below content to start the installation oanda-cli

To install oanda-cli on Windows(CMD):

py -m pip install oanda-cli

To install oanda-cli on Unix/macOs:

pip install oanda-cli


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

Example:

pip install oanda-cli==1.0.2


Please see the version list below table:

VersionReleased dateCommand
oanda-cli 1.1.32021-05-26T18:36:38Windows:

py -m pip install oanda-cli==1.1.3

Unix/macOs:

pip install oanda-cli==1.1.3

oanda-cli 1.1.22021-05-06T23:54:21Windows:

py -m pip install oanda-cli==1.1.2

Unix/macOs:

pip install oanda-cli==1.1.2

oanda-cli 1.1.12021-03-08T02:57:48Windows:

py -m pip install oanda-cli==1.1.1

Unix/macOs:

pip install oanda-cli==1.1.1

oanda-cli 1.1.02020-09-09T12:04:02Windows:

py -m pip install oanda-cli==1.1.0

Unix/macOs:

pip install oanda-cli==1.1.0

oanda-cli 1.0.32020-08-31T19:22:18Windows:

py -m pip install oanda-cli==1.0.3

Unix/macOs:

pip install oanda-cli==1.0.3

oanda-cli 1.0.22020-01-12T17:18:11Windows:

py -m pip install oanda-cli==1.0.2

Unix/macOs:

pip install oanda-cli==1.0.2


Step 4: Otherwise, you can install oanda-cli from local archives:

Download the distribution file from oanda-cli-1.1.3.tar.gz or the specific oanda-cli version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_oanda-cli_downloaded_file>

On Unix/macOs:

pip install <path_to_oanda-cli_downloaded_file>


List distribution:

- oanda-cli-1.0.2.tar.gz (python version >=3.6)
- oanda_cli-1.0.2-py3-none-any.whl (python version >=3.6)
- oanda-cli-1.0.3.tar.gz (python version >=3.6)
- oanda_cli-1.0.3-py3-none-any.whl (python version >=3.6)
- oanda-cli-1.1.0.tar.gz (python version >=3.6)
- oanda_cli-1.1.0-py3-none-any.whl (python version >=3.6)
- oanda-cli-1.1.1.tar.gz (python version >=3.6)
- oanda_cli-1.1.1-py3-none-any.whl (python version >=3.6)
- oanda-cli-1.1.2.tar.gz (python version >=3.6)
- oanda_cli-1.1.2-py3-none-any.whl (python version >=3.6)
- oanda-cli-1.1.3.tar.gz (python version >=3.6)
- oanda_cli-1.1.3-py3-none-any.whl (python version >=3.6)


Project link:

- Homepage