We use odak with Linux operating systems. Therefore, we don't know if it can work with Windows or Mac operating systems. Odak can be installed in multiple ways. However, our recommended method for installing Odak is using pip distribution system. We update Odak within pip with each new version. Thus, the most straightforward way to install Odak is to use the below command in a Linux shell:
One can also install Odak without pip by first getting a local copy and installing using Python. Such an installation can be conducted using:
Uninstalling the Development version¶
If you have to remove the development version of
odak, you can first try:
And if for some reason, you are still able to import
odak after that, check
easy-install.pth file which is typically found
~ refers to your home directory and
X refers to your Python version.
In that file, if you see odak's directory listed, delete it.
This will help you remove development version of
Notes before running¶
Some notes should be highlighted to users, and these include:
- Odak installs
PyTorchthat only uses
CPU. To properly install
PyTorchwith GPU support, please consult PyTorch website.
Testing an installation¶
After installing Odak, one can test if Odak has been appropriately installed with its dependencies by running the unit tests.
To be able to run unit tests, make sure to have
pytest is installed, unit tests can be run by calling: