Symbol not found: _CCtsp_solve_dat - Error after installing pyconcorde
See original GitHub issueI’m using Python 3.8.1 on Mac OS X 10.15.2 (brew-based) with Xcode 11.3.1. I’ve succefully installed pyconcorde without any errors but when I import TSPSolver using from concorde.tsp import TSPSolver
I’m getting the “Symbol not found: _CCtsp_solve_dat” error. It seems concorde/tsp.py
cannot import _CCtsp_solve_dat from concorde._concorde in line 10.
What I run: >>> from concorde.tsp import TSPSolver
What I get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/a/pyconcorde/concorde/tsp.py", line 10, in <module>
from concorde._concorde import _CCutil_gettsplib, _CCtsp_solve_dat
ImportError: dlopen(/Users/a/pyconcorde/concorde/_concorde.cpython-38-darwin.so, 2): Symbol not found: _CCtsp_solve_dat
Referenced from: /Users/a/pyconcorde/concorde/_concorde.cpython-38-darwin.so
Expected in: flat namespace
in /Users/a/pyconcorde/concorde/_concorde.cpython-38-darwin.so
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Unable to install pyconcorde on mac os - Stack Overflow
I am trying to install pyconcorde on my Mac OS. It shows that I successfully ... 2): Symbol not found: _QSadd_cols Referenced from: ......
Read more >Concorde solver - Kaggle
Concorde solver · This kernel hands off the cities to the very fast Concorde TSP solver · Ignores the prime twist on this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iliailmer Thanks for the follow-up. I am not sure about how to support the M1. One thing to note is that I am planning to move to a new API that runs Concorde in a subprocess (see https://github.com/jvkersch/pyconcorde/issues/28#issuecomment-770354999). If you can get Concorde to compile and run on your platform, then this new API should be compatible with it. I’d be very interested in hearing your experiences.
Hi I am receiving the same issue:
Thanks, Dylan