{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/pipsi/issues/144","repository_url":"https://api.github.com/repos/mitsuhiko/pipsi","labels_url":"https://api.github.com/repos/mitsuhiko/pipsi/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/pipsi/issues/144/comments","events_url":"https://api.github.com/repos/mitsuhiko/pipsi/issues/144/events","html_url":"https://github.com/mitsuhiko/pipsi/issues/144","id":322302282,"number":144,"title":"Cannot run anything installed by pipsi (module not found)","user":{"login":"1oglop1","id":7480694,"avatar_url":"https://avatars0.githubusercontent.com/u/7480694?v=4","gravatar_id":"","url":"https://api.github.com/users/1oglop1","html_url":"https://github.com/1oglop1","followers_url":"https://api.github.com/users/1oglop1/followers","following_url":"https://api.github.com/users/1oglop1/following{/other_user}","gists_url":"https://api.github.com/users/1oglop1/gists{/gist_id}","starred_url":"https://api.github.com/users/1oglop1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1oglop1/subscriptions","organizations_url":"https://api.github.com/users/1oglop1/orgs","repos_url":"https://api.github.com/users/1oglop1/repos","events_url":"https://api.github.com/users/1oglop1/events{/privacy}","received_events_url":"https://api.github.com/users/1oglop1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-11T13:44:07Z","updated_at":"2018-05-15T22:44:16Z","closed_at":null,"author_association":"NONE","body":"I installed pipsi on my macbook and found out two problems, which should be probably split into two issues, one is that I cannot upgrade pipsi\r\n\r\n```\r\nuser@MacBook-Pro:~/Downloads$ pipsi install pew\r\n```\r\n```\r\nRunning virtualenv with interpreter /Library/Frameworks/Python.framework/Versions/3.6/bin/python3\r\nUsing base prefix '/Library/Frameworks/Python.framework/Versions/3.6'\r\nNew python executable in /Users/user/.local/venvs/pew/bin/python3\r\nAlso creating executable in /Users/user/.local/venvs/pew/bin/python\r\nInstalling setuptools, pip, wheel...done.\r\nCollecting pew\r\n  Using cached https://files.pythonhosted.org/packages/53/77/9ca8e2b4eb0c5d0de534f8de64a5e6dbe8375e7134aa9797e8f9ce7d6f53/pew-1.1.5-py2.py3-none-any.whl\r\nCollecting virtualenv-clone>=0.2.5 (from pew)\r\n  Using cached https://files.pythonhosted.org/packages/6d/c2/dccb5ccf599e0c5d1eea6acbd058af7a71384f9740179db67a9182a24798/virtualenv_clone-0.3.0-py2.py3-none-any.whl\r\nCollecting virtualenv>=1.11 (from pew)\r\n  Using cached https://files.pythonhosted.org/packages/ed/ea/e20b5cbebf45d3096e8138ab74eda139595d827677f38e9dd543e6015bdf/virtualenv-15.2.0-py2.py3-none-any.whl\r\nRequirement already satisfied: setuptools>=17.1 in /Users/user/.local/venvs/pew/lib/python3.6/site-packages (from pew) (39.1.0)\r\nInstalling collected packages: virtualenv-clone, virtualenv, pew\r\n  The script virtualenv-clone is installed in '/Users/user/.local/venvs/pew/bin' which is not on PATH.\r\n  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\r\n  The script virtualenv is installed in '/Users/user/.local/venvs/pew/bin' which is not on PATH.\r\n  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\r\n  The script pew is installed in '/Users/user/.local/venvs/pew/bin' which is not on PATH.\r\n  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\r\nSuccessfully installed pew-1.1.5 virtualenv-15.2.0 virtualenv-clone-0.3.0\r\n  Linked script /Users/user/.local/bin/pew\r\nDone.\r\n```\r\n\r\nAfter installation\r\n```\r\nuser@MacBook-Pro:~/Downloads$ pew\r\nTraceback (most recent call last):\r\n  File \"/Users/user/.local/bin/pew\", line 7, in <module>\r\n    from pew.pew import pew\r\nModuleNotFoundError: No module named 'pew'\r\n```\r\n\r\n`PATH`\r\n```\r\nuser@MacBook-Pro:~/Downloads$ echo $PATH\r\n/Users/user/.local/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n```"},"comment":{"url":"https://api.github.com/repos/mitsuhiko/pipsi/issues/comments/389337275","html_url":"https://github.com/mitsuhiko/pipsi/issues/144#issuecomment-389337275","issue_url":"https://api.github.com/repos/mitsuhiko/pipsi/issues/144","id":389337275,"user":{"login":"zymergen-luke","id":35712845,"avatar_url":"https://avatars0.githubusercontent.com/u/35712845?v=4","gravatar_id":"","url":"https://api.github.com/users/zymergen-luke","html_url":"https://github.com/zymergen-luke","followers_url":"https://api.github.com/users/zymergen-luke/followers","following_url":"https://api.github.com/users/zymergen-luke/following{/other_user}","gists_url":"https://api.github.com/users/zymergen-luke/gists{/gist_id}","starred_url":"https://api.github.com/users/zymergen-luke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zymergen-luke/subscriptions","organizations_url":"https://api.github.com/users/zymergen-luke/orgs","repos_url":"https://api.github.com/users/zymergen-luke/repos","events_url":"https://api.github.com/users/zymergen-luke/events{/privacy}","received_events_url":"https://api.github.com/users/zymergen-luke/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T22:44:16Z","updated_at":"2018-05-15T22:44:16Z","author_association":"NONE","body":"I'm running into the same problem. The hashbang inserted into the bin script is pointing to the system python binary rather than the binary in the associated virtualenv. I can manually change the hashbangs in the bin directory to make it execute on the correct python, but other functions like `pipsi list` fail (looking for package_info.json files in the root of the venv that don't exist)."}}
{"actor":{"display_login":"zymergen-luke"}}