-
Notifications
You must be signed in to change notification settings - Fork 8
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
Python 3 linking problem #33
Comments
Funny that the documentation mentions this, but that does not seem to work:
I have been able to replicate the problem and will attempt a fix shortly. Thank you for reporting this. |
Fixed compilation on Python 3, fixing #33. Thanks to https://github.com/lfdmotta for reporting this. Updated Travis tests to cover Python 2 and 3, and also to cover all major versions of R.
* Python 3 linking and tests (#33) Fixed compilation on Python 3, fixing #33. Thanks to https://github.com/lfdmotta for reporting this. Updated Travis tests to cover Python 2 and 3, and also to cover all major versions of R. * Updates to travis config * More Travis and startup message improvements * Simpler Travis config for homebrew packages * Fix to Travis homebrew packages * More Travis updates * Fix to R check warning As per contact from CRAN staff regarding submission of version 1.0.5: ``` * checking compiled code ... NOTE File ‘SnakeCharmR/libs/SnakeCharmR.so’: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ ```
I have merged the fix to master, you can use devtools::install_github to install directly from here and confirm that this has worked. |
Just wanted to let you know SnakeCharmR 1.0.6 is on CRAN now, and it fixes this problem. Thanks again for reporting this. 🙇 |
Hi,
I tried the following to install SnakeCharmR set to use Python 3:
install.packages("SnakeCharmR", configure.vars = "SNAKECHARMR_PYTHON_VERSION=3.5")
This gives the following error:
Apparently PyString_ are no longer available in Python 3 API:
https://docs.python.org/3/howto/cporting.html?highlight=pystring
Perhaps pyBytes_Check should be used instead?
The text was updated successfully, but these errors were encountered: