VLSIDA / OpenRAM

An open-source static random access memory (SRAM) compiler.

Home Page:http://www.openram.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anaconda install problem

haotommy opened this issue · comments

tommy@tommy-virtual-machine:$ sudo apt install ngspice
tommy@tommy-virtual-machine:
$ sudo apt-get install python3
tommy@tommy-virtual-machine:$ sudo apt install python3-pip
tommy@tommy-virtual-machine:
$ pip3 install numpy
tommy@tommy-virtual-machine:$ pip3 install coverage
tommy@tommy-virtual-machine:
$ pip3 install scikit-learn
tommy@tommy-virtual-machine:$ sudo apt update
tommy@tommy-virtual-machine:
$ sudo apt install git
tommy@tommy-virtual-machine:$ sudo apt-get update
tommy@tommy-virtual-machine:
$ sudo apt-get install make
tommy@tommy-virtual-machine:$ vim .bashrc
(Below are the environment variables I added.
export OPENRAM_HOME="$HOME/OpenRAM/compiler"
export OPENRAM_TECH="$HOME/OpenRAM/technology"
export PYTHONPATH="$PYTHONPATH:$OPENRAM_HOME"
export PYTHONPATH="$OPENRAM_HOME:$OPENRAM_TECH/sky130:$OPENRAM_TECH/sky130/custom"
export CONDA_HOME="/path/to/conda/setup"
After adding them, close the Terminal and then reopen it.)
tommy@tommy-virtual-machine:
$pip3 install openram
tommy@tommy-virtual-machine:$pip3 install git+https://git@github.com/VLSIDA/OpenRAM.git@dev
tommy@tommy-virtual-machine:
$git clone https://github.com/VLSIDA/OpenRAM.git
tommy@tommy-virtual-machine:$cd OpenRAM
tommy@tommy-virtual-machine:
/OpenRAM$ sudo pip install -r requirements.txt
tommy@tommy-virtual-machine:~/OpenRAM$./install_conda.sh
It can't find the Anaconda.

The script itself installs miniconda.

You can see installation instructions at:
https://github.com/VLSIDA/OpenRAM/blob/stable/docs/source/basic_setup.md#basic-setup

I believe I shared this with you before, so please don't do all that other stuff...

This isn't a real path:

export CONDA_HOME="/path/to/conda/setup"

All python requirements are in requirements.txt

Conda will install necessary tools for you automatically when you run install_conda.sh.

Everything else isn't needed.