You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages/openlane/scripts/klayout/stream_out.py", line 50, in<module>
import pya
File "/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages/pya/__init__.py", line 3, in<module>
from klayout.pya import __all__
File "/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages/klayout/__init__.py", line 3, in<module>
from .tl import __version__
File "/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages/klayout/tl/__init__.py", line 2, in<module>
from ..tlcore import __all__
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
I think the klayout included with nix might be compiled with Python 3.8.0.
$ ~/openlane2 (main)$ nix-shell
[nix-shell:~/openlane2]$ which python3
/nix/store/jmd87ww6fas1p1lz96glg4v1zc55vx4j-devshell-dir/bin/python3
[nix-shell:~/openlane2]$ python3
Python 3.11.9 (main, Apr 2 2024, 08:25:04) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pya
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages/pya/__init__.py", line 3, in <module>
from klayout.pya import __all__
File "/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages/klayout/__init__.py", line 3, in <module>
from .tl import __version__
File "/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages/klayout/tl/__init__.py", line 2, in <module>
from ..tlcore import __all__
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
>>> import sys
>>> print(sys.path)
['', '/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python311.zip', '/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11', '/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/lib-dynload', '/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/lib/python3.11/site-packages', '/nix/store/n9ddg0rv4ag5r5rvkdsm5qhmgkq1l3wy-python3-3.11.9-env/lib/python3.11/site-packages']
Description
Streamout is broken and fails with a python object error:
ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
It works fine in the Docker version of OL2, but not nix.
Expected Behavior
It should complete.
Environment report
Reproduction material
reproducible.tar.gz
Relevant log output
The text was updated successfully, but these errors were encountered: