Im having trouble installing libngspice on ubuntu 19.04 with anaconda v4.8.2.
I have ngpsice installed (sudo apt-get install ngspice).
Then I’m following instructions on pyspice install
Im happy to use anaconda so I skipped to section 4.2.2
However the following commands run for many hours without success
conda install -c conda-forge ngspice-lib # optional
conda install -c conda-forge pyspice
with messages like:
Collecting package metadata (current_repodata.json): done
Solving environment: /
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
Trying the other command seems to work.
pip install PySpice
but this one doesn’t include libngspice.
Going back to step 4.2.1
I downloaded a tar of the libngspice but it’s a tar’d directory not a shared object (.so).
There’s no instructions in that directory on how to compile it… or where I should
place it for pyspice?
I found a similar question on this pyspice forum and I tried
configure: error: Couldn’t find GNU readline headers.
I guess I need to do something like
sudo apt-get install lib64readline
But I’ve not been able to locate that package so far…
Any ideas? I don’t think I’m going in the right direction?