Installation — AmpliGraph 1.4.0 Documentation

AmpliGraph Logo 1.4.0

Contents:

  • Installation
    • Prerequisites
      • Provision a Virtual Environment
      • Install TensorFlow
    • Install AmpliGraph
    • Sanity Check
  • Background
  • API
  • How to Contribute
  • Examples
  • Tutorials
  • Performance
  • Bibliography
  • Changelog
  • About
AmpliGraph
  • Docs »
  • Installation
  • Edit on GitHub
Installation¶

Prerequisites¶

  • Linux, macOS, Windows
  • Python 3.7

Provision a Virtual Environment¶

Create and activate a virtual environment (conda)

conda create --name ampligraph python=3.7 source activate ampligraph

Install TensorFlow¶

AmpliGraph is built on TensorFlow 1.x. Install from pip or conda:

CPU-only

pip install "tensorflow>=1.15.2,<2.0" or conda install tensorflow'>=1.15.2,<2.0.0'

GPU support

pip install "tensorflow-gpu>=1.15.2,<2.0" or conda install tensorflow-gpu'>=1.15.2,<2.0.0'

Install AmpliGraph¶

Install the latest stable release from pip:

pip install ampligraph

If instead you want the most recent development version, you can clone the repository and install from source as below (also see the How to Contribute guide for details):

git clone https://github.com/Accenture/AmpliGraph.git cd AmpliGraph git checkout develop pip install -e .

Sanity Check¶

>> import ampligraph >> ampligraph.__version__ '1.4.0'

Tag » How To Install Tensorflow 1.4