Comments (2)
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libffi.so.7
just run this command in your Ubuntu terminal before running the code that uses the openslide and it works like magic. I was having issue with the same error in WSL environment with Ubuntu-20.04.
Note that it doesn't fix the issue permanently and importing openslide in VS-Code Jupyter notebook is still not working. Will give the updates if issue is fixed. Thank you
from openslide-python.
You haven't mentioned the versions of Ubuntu, OpenSlide, and OpenSlide Python you're using. However, it seems likely that you're using some shared libraries from Anaconda and some from Ubuntu, and they're not compatible. You should get OpenSlide and its dependencies either entirely from Ubuntu or entirely from Anaconda.
from openslide-python.
Related Issues (20)
- OSError: -9 HOT 2
- openslide can not read a file with chinese path HOT 2
- get_thumbnail bug report HOT 3
- miniconda & openslide-python; LIBFFI_BASE_7.0 HOT 1
- WSIs appear dark black when I convert SVS files to 10x or lower scale factor HOT 6
- Release 1.3.0
- Build for Python 3.12 HOT 2
- Missing _convert.cpython-310-darwin.so HOT 4
- "openslide.lowlevel.OpenSlideUnsupportedFormatError: Unsupported or missing image file" for DICOM image HOT 1
- Release 1.3.1 HOT 2
- Consider dropping 32-bit Windows wheels
- No DICOM support in Anaconda version of openslide-python 1.3.1 HOT 1
- PIL.UnidentifiedImageError: cannot identify image file HOT 6
- OpenSlideError: Bad direction attribute "LEFT" HOT 1
- a bug of mrxs HOT 6
- Streamlining installation on Linux/MacOS HOT 1
- the shape of image from DeepZoomGenerator.get_tile is inconsistent HOT 1
- ValueError: Argument is not writable HOT 3
- Cannot open SVS file HOT 8
- Cannot read example data properly czi HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openslide-python.