question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] pip install of cellxgene in a conda environment fails with tiledb "image not found"

See original GitHub issue

Describe the bug

From: https://cziscience.slack.com/archives/C8ME9JMBP/p1604955568138000

Hi all, I’ve started a conda environment and pip-installed cellxgene. I am attempting to run through the example data:

cellxgene launch https://cellxgene-example-data.czi.technology/pbmc3k.h5ad

and i’ve run into an error:

OSError: dlopen(libtiledb.dylib, 6): image not found

txt file attached with the entire error message. Any insight? I see there has been some buzz surrounding tileDB on the github issues tab

error_message.txt 
Traceback (most recent call last):
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/tiledb/__init__.py", line 20, in <module>
    from .libtiledb import Ctx
ImportError: dlopen(/Users/colephalen/cellxgene/lib/python3.7/site-packages/tiledb/libtiledb.cpython-37m-darwin.so, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /Users/colephalen/cellxgene/lib/python3.7/site-packages/tiledb/.dylibs/libintl.8.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/colephalen/cellxgene/lib/python3.7/site-packages/tiledb/.dylibs/libintl.8.dylib
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/tiledb/__init__.py", line 24, in <module>
    ctypes.CDLL(os.path.join(lib_dir, lib_name))
  File "/opt/miniconda3/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/colephalen/cellxgene/lib/python3.7/site-packages/tiledb/native/libtiledb.dylib, 6): image not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/Users/colephalen/cellxgene/bin/cellxgene", line 11, in <module>
    load_entry_point('cellxgene==0.16.5', 'console_scripts', 'cellxgene')()
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/server/cli/cli.py", line 3, in <module>
    from .convert_to_cxg import convert_to_cxg
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/server/cli/convert_to_cxg.py", line 5, in <module>
    from server.converters.h5ad_data_file import H5ADDataFile
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/server/converters/h5ad_data_file.py", line 7, in <module>
    import tiledb
  File "/Users/colephalen/cellxgene/lib/python3.7/site-packages/tiledb/__init__.py", line 27, in <module>
    ctypes.CDLL(lib_name)
  File "/opt/miniconda3/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: dlopen(libtiledb.dylib, 6): image not found

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kruegertcommented, Nov 16, 2020

@bmccandless yes, that works! Thanks

1reaction
bmccandlesscommented, Nov 16, 2020

Hello @kruegert, I’m taking a look at this today with the tiledb team.
It may help in our debugging if you could supply the output of conda list.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation error - TileDB Forum
I'm facing below error during python setup.py install step. ... Created Conda environment based on the instructions provided on tileDB ...
Read more >
Install - chanzuckerberg/cellxgene-documentation - GitHub
cellxgene prepare provides auxiliary functionality for preparing your dataset. This is not installed by default. Requirements. You'll need python 3.6+ and an up ......
Read more >
TileDB in genomics: getting started with TileDB-VCF to store ...
TileDB has multiple options for installing it including building from source, a docker container, and conda. I hit an error on my first...
Read more >
Could not install packages due to an EnvironmentError: [Errno ...
TL;DR: Problem: Long install path. Solution 1: Install the desired python package (in my case tensorflow) in the folder which has a shorter ......
Read more >
bioconda - :: Anaconda.org
Do not start building new projects based on this package. ... dev, Public, X, BioContainers API client: find biocontainer images for Bioconda packages....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found