MaartenGr / MaartenGr/BERTopic

Installing bertopic cause Spyder 5.5.1 in Anaconda to not launch ith errors.

Open
#2,070 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.8k
Forks
920
Avg merge
22h 24m
Merged PRs (30d)
5

Description

After upgrading Anaconda to 2.6.1 Spyder 5.5.1 which is installed does not launch after installing latest Bertopic (from conda-forge). These are the errors. Sypder launched before installing bertopic.

Traceback (most recent call last):
File "/opt/anaconda3/bin/spyder", line 7, in
from spyder.app.start import main
File "/opt/anaconda3/lib/python3.12/site-packages/spyder/app/start.py", line 25, in
import ctypes
File "/opt/anaconda3/lib/python3.12/ctypes/__init__.py", line 8, in
from _ctypes import Union, Structure, Array
ImportError: dlopen(/opt/anaconda3/lib/python3.12/lib-dynload/_ctypes.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace (_CFBundleGetVersionNumber)

Contributor guide

Open the contributing guide

Research direction

Reproduce the environment described: Anaconda, Python 3.12, Spyder 5.5.1, and the latest BERTopic from conda-forge. Start with /opt/anaconda3/bin/spyder, spyder/app/start.py, and Python's ctypes/__init__.py, then determine whether installing BERTopic causes the _ctypes Darwin import failure and document a confirmed compatible setup or cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, python
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.