René's URL Explorer Experiment


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

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2aaaeace-e0b5-3152-71e1-7f6b36f5ed7e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC1CC:9B1E0:A0BA7C:DD1FC5:698E1198
html-safe-nonce070824ad27d116757f55c5c6d8d503e10619c1dc163ed79cc1cd9c0ac02d0b8c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUNDOjlCMUUwOkEwQkE3QzpERDFGQzU6Njk4RTExOTgiLCJ2aXNpdG9yX2lkIjoiMjA3Mjg1ODAyMTc3MjI2NzkyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc2c93dc62b92e9d6e7d6ca1fb4d9f978e3fe7eba27c52e3414f7fad7eb698531
hovercard-subject-tagissue:556034086
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/transformify-plugins/segmentify/28/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1030a3c210bc76c138468abcac2749e8b486b7ff5e908b12caea4aecb36eee24/transformify-plugins/segmentify/issues/28
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1030a3c210bc76c138468abcac2749e8b486b7ff5e908b12caea4aecb36eee24/transformify-plugins/segmentify/issues/28
og:image:altCannot 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGenevieveBuckley
hostnamegithub.com
expected-hostnamegithub.com
Nonefdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c
turbo-cache-controlno-preview
go-importgithub.com/transformify-plugins/segmentify git https://github.com/transformify-plugins/segmentify.git
octolytics-dimension-user_id51755733
octolytics-dimension-user_logintransformify-plugins
octolytics-dimension-repository_id189932552
octolytics-dimension-repository_nwotransformify-plugins/segmentify
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id189932552
octolytics-dimension-repository_network_root_nwotransformify-plugins/segmentify
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1a5a3e7bbfb3486980e340c242368684156fba87
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/transformify-plugins/segmentify/issues/28#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftransformify-plugins%2Fsegmentify%2Fissues%2F28
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftransformify-plugins%2Fsegmentify%2Fissues%2F28
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=transformify-plugins%2Fsegmentify
Reloadhttps://patch-diff.githubusercontent.com/transformify-plugins/segmentify/issues/28
Reloadhttps://patch-diff.githubusercontent.com/transformify-plugins/segmentify/issues/28
Reloadhttps://patch-diff.githubusercontent.com/transformify-plugins/segmentify/issues/28
transformify-plugins https://patch-diff.githubusercontent.com/transformify-plugins
segmentifyhttps://patch-diff.githubusercontent.com/transformify-plugins/segmentify
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ftransformify-plugins%2Fsegmentify
Fork 8 https://patch-diff.githubusercontent.com/login?return_to=%2Ftransformify-plugins%2Fsegmentify
Star 31 https://patch-diff.githubusercontent.com/login?return_to=%2Ftransformify-plugins%2Fsegmentify
Code https://patch-diff.githubusercontent.com/transformify-plugins/segmentify
Issues 10 https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/issues
Pull requests 2 https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/pulls
Actions https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/actions
Projects 0 https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/projects
Security 0 https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/security
Insights https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/pulse
Code https://patch-diff.githubusercontent.com/transformify-plugins/segmentify
Issues https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/issues
Pull requests https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/pulls
Actions https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/actions
Projects https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/projects
Security https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/security
Insights https://patch-diff.githubusercontent.com/transformify-plugins/segmentify/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/transformify-plugins/segmentify/issues/28
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/transformify-plugins/segmentify/issues/28
Cannot import segmentify (or run example script) if installed from PyPIhttps://patch-diff.githubusercontent.com/transformify-plugins/segmentify/issues/28#top
https://github.com/GenevieveBuckley
https://github.com/GenevieveBuckley
GenevieveBuckleyhttps://github.com/GenevieveBuckley
on Jan 28, 2020https://github.com/transformify-plugins/segmentify/issues/28#issue-556034086
from PyPIhttps://pypi.org/project/segmentify/#history
#22https://github.com/transformify-plugins/segmentify/pull/22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.