Skip to content

Commit c7b93b9

Browse files
committed
Add compilers to conda environment
This fixes issues with `libstdc++.so` when using a system with a newer compiler. In such cases, the compiler will create links to new symbols, but the shared library available at runtime from conda-forge will not have them available. This results in errors such as: ``` ImportError: /home/elliott/micromamba/envs/mpl-dev/bin/../lib/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /home/elliott/code/matplotlib/build/cp39/src/_c_internal_utils.cpython-39-x86_64-linux-gnu.so) ```
1 parent 479bd7a commit c7b93b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

environment.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ channels:
1111
dependencies:
1212
# runtime dependencies
1313
- cairocffi
14+
- c-compiler
15+
- cxx-compiler
1416
- contourpy>=1.0.1
1517
- cycler>=0.10.0
1618
- fonttools>=4.22.0
@@ -21,6 +23,7 @@ dependencies:
2123
- numpy>=1.23
2224
- pillow>=8
2325
- pkg-config
26+
- python
2427
- pygobject
2528
- pyparsing>=2.3.1
2629
- pyqt

0 commit comments

Comments
 (0)