Closed Pellarin closed 1 year ago
After reading #562 I tried to do the following"
I deleted the "tellurium" conda environment above and created a new one with python 3.8
conda create --name "tellurium" python=3.8
within the environment I did
pip install libroadrunner==2.3.1
pip install tellurium
Everything install perfectly.
However if I run
import tellurium as te
I get the following:
Traceback (most recent call last):
File "example.py", line 1, in <module>
import tellurium as te
File "/home/rpellarin/.conda/envs/tellurium/lib/python3.8/site-packages/tellurium/__init__.py", line 14, in <module>
from .tellurium import (
File "/home/rpellarin/.conda/envs/tellurium/lib/python3.8/site-packages/tellurium/tellurium.py", line 150, in <module>
import roadrunner
File "/home/rpellarin/.conda/envs/tellurium/lib/python3.8/site-packages/roadrunner/__init__.py", line 10, in <module>
from .roadrunner import *
File "/home/rpellarin/.conda/envs/tellurium/lib/python3.8/site-packages/roadrunner/roadrunner.py", line 15, in <module>
from . import _roadrunner
ImportError: libncurses.so.5: cannot open shared object file: No such file or directory
Talking about the first error you received, since python 3.6 has reached end of life, I no longer create binary wheels for the combine libraries for python < 3.7. Unfortunately the source archive for python-libsedml was invalid, and could not be built. I'll create a new version for libsedml, to have a valid source archive.
as to the 2nd error, libcurses seems to be missing on your system, and would have to be installed (on debian with something like sudo apt-get install libncurses5
)
Thanks so much. In fact for the first question I was following
where it is mentioned to install python 3.6.9 in the Anaconda howto section.
Apologies for the out-of-date instructions! You no longer need to install Python 3.6; as Frank mentioned, 3.6 has been obsolete for some time now. Tellurium's dependencies rely on binary builds, and we generally provide those binaries for the latest three or four versions of Python--right now, that means we provide binaries for pythons 3.8 through 3.11. I would recommend using at least python 3.10 at this point.
I've updated the page you found to be a little more future-proof. Thanks for reporting the issue!
Thanks. Now it works perfectly.
hello,
I created a conda environment with:
within the environment I just
The installation freezes at
Building wheel for python-libsbml (setup.py) ... /
after producing a bunch of warning/errors such as: