Title: Cannot import segmentify (or run example script) if installed from PyPI · Issue #28 · transformify-plugins/segmentify · GitHub
Open Graph Title: Cannot import segmentify (or run example script) if installed from PyPI · Issue #28 · transformify-plugins/segmentify
X Title: Cannot import segmentify (or run example script) if installed from PyPI · Issue #28 · transformify-plugins/segmentify
Description: Cannot import segmentify after installation from PyPI following the instructions in the README, but works fine from local installation. Is it just me that has this issue, or does the PyPI release need updating? My first thought was that ...
Open Graph Description: Cannot import segmentify after installation from PyPI following the instructions in the README, but works fine from local installation. Is it just me that has this issue, or does the PyPI release n...
X Description: Cannot import segmentify after installation from PyPI following the instructions in the README, but works fine from local installation. Is it just me that has this issue, or does the PyPI release n...
Opengraph URL: https://github.com/transformify-plugins/segmentify/issues/28
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot import segmentify (or run example script) if installed from PyPI","articleBody":"Cannot import segmentify after installation [from PyPI](https://pypi.org/project/segmentify/#history) following the instructions in the README, but works fine from local installation. Is it just me that has this issue, or does the PyPI release need updating?\r\n\r\nMy first thought was that the release on PyPI was just an empty placeholder, but this PR suggests that it should be functional (https://github.com/transformify-plugins/segmentify/pull/22). I have a conda environment with all the correct dependencies already installed. When I install segmentify from PyPI, I can't import segmentify (which means the example script doesn't run). When I uninstall the PyPI version and install segmentify locally from the master branch, the example script launches fine.\r\n\r\nDetails:\r\n```\r\n(segmentify) genevieve@MU00060583:~/Documents$ pip install segmentify\r\nWARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.\r\nPlease see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.\r\nTo avoid this problem you can invoke Python with '-m pip' instead of running pip directly.\r\nProcessing /home/genevieve/.cache/pip/wheels/d8/a2/f4/ae0b5c77b1fe14e6a20b882550eed4d503182b5ac17e474df9/segmentify-0.0.1-py3-none-any.whl\r\nInstalling collected packages: segmentify\r\nSuccessfully installed segmentify-0.0.1\r\n(segmentify) genevieve@MU00060583:~/Documents$ conda list\r\n# packages in environment at /home/genevieve/anaconda3/envs/segmentify:\r\n#\r\n# Name Version Build Channel\r\n_libgcc_mutex 0.1 main \r\nalabaster 0.7.12 pypi_0 pypi\r\nbabel 2.8.0 pypi_0 pypi\r\nbackcall 0.1.0 pypi_0 pypi\r\nca-certificates 2019.11.27 0 \r\ncertifi 2019.11.28 py37_0 \r\nchardet 3.0.4 pypi_0 pypi\r\ncycler 0.10.0 pypi_0 pypi\r\ndask 2.9.2 pypi_0 pypi\r\ndecorator 4.4.1 pypi_0 pypi\r\ndocutils 0.16 pypi_0 pypi\r\nfreetype-py 2.1.0.post1 pypi_0 pypi\r\nfsspec 0.6.2 pypi_0 pypi\r\nidna 2.8 pypi_0 pypi\r\nimageio 2.6.1 pypi_0 pypi\r\nimagesize 1.2.0 pypi_0 pypi\r\nipykernel 5.1.4 pypi_0 pypi\r\nipython 7.11.1 pypi_0 pypi\r\nipython-genutils 0.2.0 pypi_0 pypi\r\njedi 0.16.0 pypi_0 pypi\r\njinja2 2.11.0 pypi_0 pypi\r\njoblib 0.14.1 pypi_0 pypi\r\njupyter-client 5.3.4 pypi_0 pypi\r\njupyter-core 4.6.1 pypi_0 pypi\r\nkiwisolver 1.1.0 pypi_0 pypi\r\nld_impl_linux-64 2.33.1 h53a641e_7 \r\nlibedit 3.1.20181209 hc058e9b_0 \r\nlibffi 3.2.1 hd88cf55_4 \r\nlibgcc-ng 9.1.0 hdf63c60_0 \r\nlibstdcxx-ng 9.1.0 hdf63c60_0 \r\nllvmlite 0.31.0 pypi_0 pypi\r\nmarkupsafe 1.1.1 pypi_0 pypi\r\nmatplotlib 3.1.2 pypi_0 pypi\r\nnapari 0.2.10 pypi_0 pypi\r\nncurses 6.1 he6710b0_1 \r\nnetworkx 2.4 pypi_0 pypi\r\nnumba 0.47.0 pypi_0 pypi\r\nnumpy 1.18.1 pypi_0 pypi\r\nnumpydoc 0.9.2 pypi_0 pypi\r\nopenssl 1.1.1d h7b6447c_3 \r\npackaging 20.1 pypi_0 pypi\r\nparso 0.6.0 pypi_0 pypi\r\npexpect 4.8.0 pypi_0 pypi\r\npickleshare 0.7.5 pypi_0 pypi\r\npillow 7.0.0 pypi_0 pypi\r\npip 20.0.2 py37_0 \r\nprompt-toolkit 3.0.3 pypi_0 pypi\r\nptyprocess 0.6.0 pypi_0 pypi\r\npygments 2.5.2 pypi_0 pypi\r\npyopengl 3.1.5 pypi_0 pypi\r\npyparsing 2.4.6 pypi_0 pypi\r\npyside2 5.14.0 pypi_0 pypi\r\npython 3.7.6 h0371630_2 \r\npython-dateutil 2.8.1 pypi_0 pypi\r\npytz 2019.3 pypi_0 pypi\r\npywavelets 1.1.1 pypi_0 pypi\r\npyzmq 18.1.1 pypi_0 pypi\r\nqtconsole 4.6.0 pypi_0 pypi\r\nqtpy 1.9.0 pypi_0 pypi\r\nreadline 7.0 h7b6447c_5 \r\nrequests 2.22.0 pypi_0 pypi\r\nscikit-image 0.16.2 pypi_0 pypi\r\nscikit-learn 0.22.1 pypi_0 pypi\r\nsegmentify 0.0.1 pypi_0 pypi\r\nsetuptools 45.1.0 py37_0 \r\nshiboken2 5.14.0 pypi_0 pypi\r\nsix 1.14.0 pypi_0 pypi\r\nsnowballstemmer 2.0.0 pypi_0 pypi\r\nsphinx 2.3.1 pypi_0 pypi\r\nsphinxcontrib-applehelp 1.0.1 pypi_0 pypi\r\nsphinxcontrib-devhelp 1.0.1 pypi_0 pypi\r\nsphinxcontrib-htmlhelp 1.0.2 pypi_0 pypi\r\nsphinxcontrib-jsmath 1.0.1 pypi_0 pypi\r\nsphinxcontrib-qthelp 1.0.2 pypi_0 pypi\r\nsphinxcontrib-serializinghtml 1.1.3 pypi_0 pypi\r\nsqlite 3.30.1 h7b6447c_0 \r\ntk 8.6.8 hbc83047_0 \r\ntoolz 0.10.0 pypi_0 pypi\r\ntorch 1.4.0 pypi_0 pypi\r\ntorchvision 0.5.0 pypi_0 pypi\r\ntornado 6.0.3 pypi_0 pypi\r\ntraitlets 4.3.3 pypi_0 pypi\r\nurllib3 1.25.8 pypi_0 pypi\r\nvispy 0.6.4 pypi_0 pypi\r\nwcwidth 0.1.8 pypi_0 pypi\r\nwheel 0.33.6 py37_0 \r\nwrapt 1.11.2 pypi_0 pypi\r\nxz 5.2.4 h14c3975_4 \r\nzlib 1.2.11 h7b6447c_3 \r\n(segmentify) genevieve@MU00060583:~/Documents$ python\r\nPython 3.7.6 (default, Jan 8 2020, 19:59:22) \r\n[GCC 7.3.0] :: Anaconda, Inc. on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n\u003e\u003e\u003e import segmentify\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\nModuleNotFoundError: No module named 'segmentify'\r\n\u003e\u003e\u003e \r\n\r\n```\r\n\r\nTthen if I uninstall the PyPI version of segmentify and install it locally from the master branch:\r\n```\r\npip uninstall segmentify\r\ngit clone git@github.com:transformify-plugins/segmentify.git\r\ncd segmentify\r\npip install .\r\n```\r\n...things work fine.","author":{"url":"https://github.com/GenevieveBuckley","@type":"Person","name":"GenevieveBuckley"},"datePublished":"2020-01-28T07:36:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/28/segmentify/issues/28"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2aaaeace-e0b5-3152-71e1-7f6b36f5ed7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1CC:9B1E0:A0BA7C:DD1FC5:698E1198 |
| html-safe-nonce | 070824ad27d116757f55c5c6d8d503e10619c1dc163ed79cc1cd9c0ac02d0b8c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUNDOjlCMUUwOkEwQkE3QzpERDFGQzU6Njk4RTExOTgiLCJ2aXNpdG9yX2lkIjoiMjA3Mjg1ODAyMTc3MjI2NzkyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c2c93dc62b92e9d6e7d6ca1fb4d9f978e3fe7eba27c52e3414f7fad7eb698531 |
| hovercard-subject-tag | issue:556034086 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/transformify-plugins/segmentify/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1030a3c210bc76c138468abcac2749e8b486b7ff5e908b12caea4aecb36eee24/transformify-plugins/segmentify/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1030a3c210bc76c138468abcac2749e8b486b7ff5e908b12caea4aecb36eee24/transformify-plugins/segmentify/issues/28 |
| og:image:alt | Cannot import segmentify after installation from PyPI following the instructions in the README, but works fine from local installation. Is it just me that has this issue, or does the PyPI release n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GenevieveBuckley |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c |
| turbo-cache-control | no-preview |
| go-import | github.com/transformify-plugins/segmentify git https://github.com/transformify-plugins/segmentify.git |
| octolytics-dimension-user_id | 51755733 |
| octolytics-dimension-user_login | transformify-plugins |
| octolytics-dimension-repository_id | 189932552 |
| octolytics-dimension-repository_nwo | transformify-plugins/segmentify |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 189932552 |
| octolytics-dimension-repository_network_root_nwo | transformify-plugins/segmentify |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a5a3e7bbfb3486980e340c242368684156fba87 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width