{"action":"created","issue":{"url":"https://api.github.com/repos/lightbulb-framework/lightbulb-framework/issues/3","repository_url":"https://api.github.com/repos/lightbulb-framework/lightbulb-framework","labels_url":"https://api.github.com/repos/lightbulb-framework/lightbulb-framework/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/lightbulb-framework/lightbulb-framework/issues/3/comments","events_url":"https://api.github.com/repos/lightbulb-framework/lightbulb-framework/issues/3/events","html_url":"https://github.com/lightbulb-framework/lightbulb-framework/issues/3","id":190362190,"number":3,"title":"Installation using virtualenv","user":{"login":"heretogo","id":10742581,"avatar_url":"https://avatars.githubusercontent.com/u/10742581?v=3","gravatar_id":"","url":"https://api.github.com/users/heretogo","html_url":"https://github.com/heretogo","followers_url":"https://api.github.com/users/heretogo/followers","following_url":"https://api.github.com/users/heretogo/following{/other_user}","gists_url":"https://api.github.com/users/heretogo/gists{/gist_id}","starred_url":"https://api.github.com/users/heretogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heretogo/subscriptions","organizations_url":"https://api.github.com/users/heretogo/orgs","repos_url":"https://api.github.com/users/heretogo/repos","events_url":"https://api.github.com/users/heretogo/events{/privacy}","received_events_url":"https://api.github.com/users/heretogo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-18T16:31:13Z","updated_at":"2016-11-18T19:27:49Z","closed_at":null,"body":"I typically use Python in a per user virtualenv and the install script does not play nicely with this. Is there any way to get lightbulb to work with this type of configuration?"},"comment":{"url":"https://api.github.com/repos/lightbulb-framework/lightbulb-framework/issues/comments/261619754","html_url":"https://github.com/lightbulb-framework/lightbulb-framework/issues/3#issuecomment-261619754","issue_url":"https://api.github.com/repos/lightbulb-framework/lightbulb-framework/issues/3","id":261619754,"user":{"login":"istais","id":2124317,"avatar_url":"https://avatars.githubusercontent.com/u/2124317?v=3","gravatar_id":"","url":"https://api.github.com/users/istais","html_url":"https://github.com/istais","followers_url":"https://api.github.com/users/istais/followers","following_url":"https://api.github.com/users/istais/following{/other_user}","gists_url":"https://api.github.com/users/istais/gists{/gist_id}","starred_url":"https://api.github.com/users/istais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istais/subscriptions","organizations_url":"https://api.github.com/users/istais/orgs","repos_url":"https://api.github.com/users/istais/repos","events_url":"https://api.github.com/users/istais/events{/privacy}","received_events_url":"https://api.github.com/users/istais/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T19:27:49Z","updated_at":"2016-11-18T19:27:49Z","body":"I wont use the 'activate' command so that the situation is more clear. I did the following test in a new installation of debian:\r\n\r\n```\r\ncd ~\r\nvirtualenv env\r\nenv/bin/pip install lightbulb-framework\r\nenv/bin/lightbulb-status\r\n```\r\n\r\nand then I installed all python packages as user (and only did sudo in cases where it is necessary)\r\n\r\nMy status was\r\n```\r\n\r\n+--------------------------+--------+\r\n| Name                                    | Status |\r\n+--------------------------+--------+\r\n| six                                          | OK     |\r\n| stevedore                              | OK     |\r\n| pbr                                         | OK     |\r\n| cmd2                                     | OK     |\r\n| unicodecsv                            | OK     |\r\n| yaml                                       | OK     |\r\n| prettytable                            | OK     |\r\n| cliff                                        | OK     |\r\n| multiprocessing                    | OK     |\r\n| FAdo                                      | OK     |\r\n| dateutil                                  | OK     |\r\n| symautomata                        | OK     |\r\n| sfalearn                                 | OK     |\r\n| MySQLdb                              | FAIL   |\r\n| OpenFST Python Extension | FAIL   |\r\n+--------------------------+--------+\r\n\r\n```\r\nI fixed MySQLdb by doing\r\n\r\n```\r\nenv/bin/pip install MySQL-python\r\n```\r\nNow, about pywrapfst, the problem is the following:\r\n\r\nIf you do the following it works:\r\n\r\n```\r\n/usr/bin/python\r\nimport pywrapfst\r\n```\r\n\r\nWhile if you do the following it does not:\r\n\r\n```\r\nenv/bin/python\r\nimport pywrapfst\r\n```\r\n\r\nwhich means that the packages were not installed for the user. It is possible to solve the problem by reinstalling all the python packages without the --user and without sudo, in the virtualenv that you created. Maybe I will add this as an option. \r\n\r\nHowever, for the openfst, we must find a way to install the bindings (the .so library) in the env folder. This should normally occur by providing the correct LD_LIBRARY and python runtime path at the configuration. I am still checking this\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"istais"}}