You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey man - can I ask if you were able to deploy both rails and python to heroku and use PyCall? Works on my local machine but can't get past this error I assume you've seen...
irb(main):002:0> PyCall::PYTHON_VERSION DEBUG(find_libpython) find_libpython("/app/.heroku/python/bin/python") DEBUG(find_libpython) investigate_python_config("/app/.heroku/python/bin/python") DEBUG(find_libpython) libs: ["libpython3.7m.a", "libpython3.7m", "libpython3.7", "libpython"] DEBUG(find_libpython) libpaths: ["/app/.heroku/python/lib", "/app/.heroku/python/lib", "", "/app/.heroku/python", "/app/.heroku/python/lib"] DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /libpython3.7m.a DEBUG(find_libpython) Unable to find /libpython3.7m.a.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /libpython3.7m DEBUG(find_libpython) Unable to find /libpython3.7m.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /libpython3.7 DEBUG(find_libpython) Unable to find /libpython3.7.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /libpython DEBUG(find_libpython) Unable to find /libpython.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Fiddle::DLError: libpython3.7m: cannot open shared object file: No such file or directory DEBUG(find_libpython) Fiddle::DLError: libpython3.7: cannot open shared object file: No such file or directory DEBUG(find_libpython) Fiddle::DLError: libpython: cannot open shared object file: No such file or directory PyCall::PythonNotFound: PyCall::PythonNotFound from /app/vendor/bundle/ruby/2.3.0/gems/pycall-1.2.1/lib/pycall/libpython/finder.rb:96:in find_libpython'
from /app/vendor/bundle/ruby/2.3.0/gems/pycall-1.2.1/lib/pycall/init.rb:35:in init' from /app/vendor/bundle/ruby/2.3.0/gems/pycall-1.2.1/lib/pycall/init.rb:5:in const_missing'
from (irb):2
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in start' from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in start'
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in console' from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in run_command!'
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in <top (required)>' from /app/bin/rails:8:in require'
from /app/bin/rails:8:in <main>'
The text was updated successfully, but these errors were encountered:
Hey man - can I ask if you were able to deploy both rails and python to heroku and use PyCall? Works on my local machine but can't get past this error I assume you've seen...
irb(main):002:0> PyCall::PYTHON_VERSION DEBUG(find_libpython) find_libpython("/app/.heroku/python/bin/python") DEBUG(find_libpython) investigate_python_config("/app/.heroku/python/bin/python") DEBUG(find_libpython) libs: ["libpython3.7m.a", "libpython3.7m", "libpython3.7", "libpython"] DEBUG(find_libpython) libpaths: ["/app/.heroku/python/lib", "/app/.heroku/python/lib", "", "/app/.heroku/python", "/app/.heroku/python/lib"] DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /libpython3.7m.a DEBUG(find_libpython) Unable to find /libpython3.7m.a.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.a.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /libpython3.7m DEBUG(find_libpython) Unable to find /libpython3.7m.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7m.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /libpython3.7 DEBUG(find_libpython) Unable to find /libpython3.7.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7 DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython3.7.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /libpython DEBUG(find_libpython) Unable to find /libpython.so DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/libpython.so DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython DEBUG(find_libpython) Unable to find /app/.heroku/python/lib/x86_64-linux-gnu/libpython.so DEBUG(find_libpython) Fiddle::DLError: /app/.heroku/python/lib/libpython3.7m.a: invalid ELF header DEBUG(find_libpython) Fiddle::DLError: libpython3.7m: cannot open shared object file: No such file or directory DEBUG(find_libpython) Fiddle::DLError: libpython3.7: cannot open shared object file: No such file or directory DEBUG(find_libpython) Fiddle::DLError: libpython: cannot open shared object file: No such file or directory PyCall::PythonNotFound: PyCall::PythonNotFound from /app/vendor/bundle/ruby/2.3.0/gems/pycall-1.2.1/lib/pycall/libpython/finder.rb:96:in
find_libpython'from /app/vendor/bundle/ruby/2.3.0/gems/pycall-1.2.1/lib/pycall/init.rb:35:in
init' from /app/vendor/bundle/ruby/2.3.0/gems/pycall-1.2.1/lib/pycall/init.rb:5:in
const_missing'from (irb):2
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in
start' from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in
start'from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in
console' from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in
run_command!'from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in
<top (required)>' from /app/bin/rails:8:in
require'from /app/bin/rails:8:in
<main>'
The text was updated successfully, but these errors were encountered: