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
Solution to issue cannot be found in the documentation.
I checked the documentation.
Issue
I am using pysqlite3==0.4.6 in a conda environment.
I have the issue that some code coverage python tool does not find the lib in a conda environment:
$ coverage erase
Traceback (most recent call last):
File "/opt/conda/bin/coverage", line 5, in <module>
from coverage.cmdline import main
File "/opt/conda/lib/python3.11/site-packages/coverage/__init__.py", line [24](https://gitlab.res.sys.shared.fortis/AAIW/light-industrialisation/postgres_backup_job/-/jobs/2033987#L24), in <module>
from coverage.control import (
File "/opt/conda/lib/python3.11/site-packages/coverage/control.py", line 29, in <module>
from coverage.collector import Collector, HAS_CTRACER
File "/opt/conda/lib/python3.11/site-packages/coverage/collector.py", line 20, in <module>
from coverage.data import CoverageData
File "/opt/conda/lib/python3.11/site-packages/coverage/data.py", line [25](https://gitlab.res.sys.shared.fortis/AAIW/light-industrialisation/postgres_backup_job/-/jobs/2033987#L25), in <module>
from coverage.sqldata import CoverageData
File "/opt/conda/lib/python3.11/site-packages/coverage/sqldata.py", line 16, in <module>
import sqlite3
File "/opt/conda/lib/python3.11/sqlite3/__init__.py", line 57, in <module>
from sqlite3.dbapi2 import *
File "/opt/conda/lib/python3.11/sqlite3/dbapi2.py", line [27](https://gitlab.res.sys.shared.fortis/AAIW/light-industrialisation/postgres_backup_job/-/jobs/2033987#L27), in <module>
from _sqlite3 import *
ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory
Solution to issue cannot be found in the documentation.
Issue
I am using pysqlite3==0.4.6 in a conda environment.
I have the issue that some code coverage python tool does not find the lib in a conda environment:
If I change the LD_LIBRARY_PATH to this it works:
It's a bit ugly because I would have expected that by changing the LD_LIBRARY_PATH to ""/opt/conda/lib" it would work, but no.
A symlink fix would solve the issue maybe?
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: