Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occured while installing on MacOS (Silicon M1) #25

Open
igorwood opened this issue Oct 20, 2021 · 1 comment
Open

Error occured while installing on MacOS (Silicon M1) #25

igorwood opened this issue Oct 20, 2021 · 1 comment

Comments

@igorwood
Copy link

swig has been installed successfully.
After entering python setup.py install, following messages show up

/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(

building '_bolt' extension
swigging cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i to cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp
swig -python -c++ -o cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i
cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i:3: Error: Unterminated string constant
error: command '/opt/homebrew/bin/swig' failed with exit code 1

@benvoe
Copy link

benvoe commented Nov 12, 2021

I face similar issues on Ubuntu 20.04.3 LTS.
I use Python 3.8.10 in virtualenv 20.0.17 and SWIG Version 4.0.1; Compiled with g++ [x86_64-pc-linux-gnu]; Configured options: +pcre

swigging cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i to cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp
swig -python -c++ -o cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i
cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i:3: Error: Unterminated string constant
error: command 'swig' failed with exit status 1

An I receive quite a lot of warnings like python/bolt/config.i:46: Warning 315: Nothing known about 'Eigen::Dynamic'.

However seems to be related to #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants