{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/reticulate/issues/291","repository_url":"https://api.github.com/repos/rstudio/reticulate","labels_url":"https://api.github.com/repos/rstudio/reticulate/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/reticulate/issues/291/comments","events_url":"https://api.github.com/repos/rstudio/reticulate/issues/291/events","html_url":"https://github.com/rstudio/reticulate/issues/291","id":334221222,"node_id":"MDU6SXNzdWUzMzQyMjEyMjI=","number":291,"title":"Possible to change libpython path in `py_discover_config()`?","user":{"login":"stephaniehicks","id":1452065,"node_id":"MDQ6VXNlcjE0NTIwNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1452065?v=4","gravatar_id":"","url":"https://api.github.com/users/stephaniehicks","html_url":"https://github.com/stephaniehicks","followers_url":"https://api.github.com/users/stephaniehicks/followers","following_url":"https://api.github.com/users/stephaniehicks/following{/other_user}","gists_url":"https://api.github.com/users/stephaniehicks/gists{/gist_id}","starred_url":"https://api.github.com/users/stephaniehicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephaniehicks/subscriptions","organizations_url":"https://api.github.com/users/stephaniehicks/orgs","repos_url":"https://api.github.com/users/stephaniehicks/repos","events_url":"https://api.github.com/users/stephaniehicks/events{/privacy}","received_events_url":"https://api.github.com/users/stephaniehicks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-20T19:39:49Z","updated_at":"2018-06-22T18:12:18Z","closed_at":null,"author_association":"NONE","body":"I'm trying to change the `libpython` path as listed in `py_discover_config()`. I know you can force a change in the python path with \r\n```\r\nSys.setenv('RETICULATE_PYTHON'='/yourpathhere/bin/python')\r\npy_discover_config()\r\n```\r\nBut is it possible to force a change in the library path (`libpython`)? Looking at line 333 in the [config.R](https://github.com/rstudio/reticulate/blob/master/R/config.R) file, it looks like it should be possible to set `config$LIBPL`, but I couldn't figure out how based on the vignettes? "},"comment":{"url":"https://api.github.com/repos/rstudio/reticulate/issues/comments/399531597","html_url":"https://github.com/rstudio/reticulate/issues/291#issuecomment-399531597","issue_url":"https://api.github.com/repos/rstudio/reticulate/issues/291","id":399531597,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTUzMTU5Nw==","user":{"login":"stephaniehicks","id":1452065,"node_id":"MDQ6VXNlcjE0NTIwNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1452065?v=4","gravatar_id":"","url":"https://api.github.com/users/stephaniehicks","html_url":"https://github.com/stephaniehicks","followers_url":"https://api.github.com/users/stephaniehicks/followers","following_url":"https://api.github.com/users/stephaniehicks/following{/other_user}","gists_url":"https://api.github.com/users/stephaniehicks/gists{/gist_id}","starred_url":"https://api.github.com/users/stephaniehicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephaniehicks/subscriptions","organizations_url":"https://api.github.com/users/stephaniehicks/orgs","repos_url":"https://api.github.com/users/stephaniehicks/repos","events_url":"https://api.github.com/users/stephaniehicks/events{/privacy}","received_events_url":"https://api.github.com/users/stephaniehicks/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T18:12:18Z","updated_at":"2018-06-22T18:12:18Z","author_association":"NONE","body":"Hmm... I just noticed there is no `libpython2.7.so` file where `libpython` is looking (` /jhpce/shared/community/compiler/gcc/4.4.7/python/2.7.9/lib/libpython2.7.so[NOT FOUND]`) but rather a `libpython2.7.a` file. I'm assuming that's the problem?\r\n\r\n```\r\n[compute-061 /users/shicks1]$ cd /jhpce/shared/community/compiler/gcc/4.4.7/python/2.7.9/lib/\r\n[compute-061 /jhpce/shared/community/compiler/gcc/4.4.7/python/2.7.9/lib]$ ls\r\nlibpython2.7.a  pkgconfig  python2.7\r\n```\r\n\r\nI did a quick google search of `libpython2.7.so` and  `libpython2.7.a`, but it wasn't exactly clear to me what the difference was? I'm guessing it has something to do with the version of python that's installed on the cluster? "}}
{"actor":{"display_login":"stephaniehicks"}}