-
Notifications
You must be signed in to change notification settings - Fork 75
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
Not working in heroku #62
Comments
@umlx5h pycall.rb requires that Python is configured with But heroku's python seems not configured with |
I've forked it to see if this fixes the problem: https://github.com/richgong/heroku-buildpack-python |
Hi @mrkn - how can I access this repo and this link? https://github.com/heroku/heroku-buildpack-python/blob/master/builds/runtimes/python-3.6.4#L13 Any way to contact you directly? |
@raphaelfarzankashani I think @richgong's this commit fixes this issue. Why do you want to contact me directly? |
I close this issue because this is not pycall.rb's responsibility. |
Hello, @mrkn and thank you for the gem I am trying to make it work on Heroku and had no luck... Still This is my fork which should patch dsounded/heroku-buildpack-python@43cf2de Did anything change before this topic was discussed for the last time ? (works perfectly locally) |
Here is the output:
|
The debug log showed that pycall couldn't find libpython.so in all the candidate locations. Where did you install the python built with |
Yeah. actually wanted to leave a comment with the solution... To find needed executable path you can run Thank you again for your time and this library! |
I realise this issue is closed, but if it helps anyone I managed to get pycall working Heroku working using this buildpack: |
Is there anyone who can write the description in README to explain how to use pycall on Heroku? |
when I attempt to specify LIBPYTHON with the correct path from heroku I get:
@dsounded do you know how to fix this? thanks! |
I had to clear my build cache on heroku. Then it worked fine. |
@dsounded @Tshamp7 hello I have same problem and still can't make it work even with dsounded branch I'm trying to use python -3.9.6 with --enable-shared I've set it on my config var
or
and clear my build cache still it gives error when my rails app checking the rake tasks my runtime.txt and I'm using heroku-20 stack apparently after checking my python3 on heroku its not builded with --enabled-shared even though I have using buildpacks that have |
Hi.
Can this gem work in heroku environment?
I use python 3.6, ruby 2.5.0 and rails 5.1.4 version in heroku.
I set PYCALL_DEBUG_FIND_LIBPYTHON=1 variable and got an following error.
Python can work by using command.
thanks.
The text was updated successfully, but these errors were encountered: