René's URL Explorer Experiment


Title: Compiling exe with PyInstaller results in missing parts · Issue #1385 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: Compiling exe with PyInstaller results in missing parts · Issue #1385 · python-zeroconf/python-zeroconf

X Title: Compiling exe with PyInstaller results in missing parts · Issue #1385 · python-zeroconf/python-zeroconf

Description: Environment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py", line 35, in from zeroconf import ServiceBrows...

Open Graph Description: Environment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py", line 35, in

X Description: Environment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py&quo...

Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/issues/1385

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiling exe with PyInstaller results in missing parts","articleBody":"## Environment\r\n- Python 3.12.2\r\n- `zeroconf.__version__` '0.132.2'\r\n- Windows 11\r\n\r\n## Description\r\nLaunching an exe created by PyInstaller results in:\r\n```\r\nTraceback (most recent call last):\r\n  File \"main.py\", line 35, in \u003cmodule\u003e\r\n    from zeroconf import ServiceBrowser, ServiceListener, Zeroconf\r\n  File \"PyInstaller\\loader\\pyimod02_importers.py\", line 419, in exec_module\r\n  File \"zeroconf\\__init__.py\", line 26, in \u003cmodule\u003e\r\n  File \"PyInstaller\\loader\\pyimod02_importers.py\", line 419, in exec_module\r\n  File \"zeroconf\\_core.py\", line 32, in \u003cmodule\u003e\r\n  File \"PyInstaller\\loader\\pyimod02_importers.py\", line 419, in exec_module\r\n  File \"zeroconf\\_engine.py\", line 38, in \u003cmodule\u003e\r\n  File \"src\\\\zeroconf\\\\_listener.py\", line 1, in init zeroconf._listener\r\n  File \"src\\\\zeroconf\\\\_services\\\\info.py\", line 1, in init zeroconf._services.info\r\nModuleNotFoundError: No module named 'zeroconf._utils.ipaddress'\r\n[11808] Failed to execute script 'main' due to unhandled exception!\r\n```\r\n- The exact same error happens if using `import zeroconf`.\r\n- For some reason, the only file in the zeroconf/_utils folder is time.cp312-win_amd64.pyd (notice there is no ipaddress module there)\r\n\r\n## Related issues\r\n- #1363 (seems to have a different cause \u0026 issue)\r\n- https://github.com/pyinstaller/pyinstaller/issues/4047 (I'll try this solution and say what happened if it helped)","author":{"url":"https://github.com/Poikilos","@type":"Person","name":"Poikilos"},"datePublished":"2024-07-16T17:32:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1385/python-zeroconf/issues/1385"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:63d060a5-bff4-3999-d4a8-03c3c41008b3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8776:DB76B:40212C2:56E542A:697205B7
html-safe-nonce2ee495ea4732ef159e9d2cba07977ef57c1b93b5ce3b5fea71763e83f2a34a8a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzc2OkRCNzZCOjQwMjEyQzI6NTZFNTQyQTo2OTcyMDVCNyIsInZpc2l0b3JfaWQiOiI3MjkxMDEzODg3OTEyMTgzMjIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc68eae57de2cd445d6be76291cd80c9b410b0bb11c3cce11fd153945da2cf54e
hovercard-subject-tagissue:2411693416
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/python-zeroconf/python-zeroconf/1385/issue_layout
twitter:imagehttps://opengraph.githubassets.com/31a1802f529acb5e39158494532779c5189927faac8c1da5cd7cc65b6c036a43/python-zeroconf/python-zeroconf/issues/1385
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/31a1802f529acb5e39158494532779c5189927faac8c1da5cd7cc65b6c036a43/python-zeroconf/python-zeroconf/issues/1385
og:image:altEnvironment Python 3.12.2 zeroconf.__version__ '0.132.2' Windows 11 Description Launching an exe created by PyInstaller results in: Traceback (most recent call last): File "main.py", line 35, in
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePoikilos
hostnamegithub.com
expected-hostnamegithub.com
None5d01a3551afdd1a0e12e78acaf3ba43a9a1f7dcb518695d6ed59db76a9290f13
turbo-cache-controlno-preview
go-importgithub.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git
octolytics-dimension-user_id120192235
octolytics-dimension-user_loginpython-zeroconf
octolytics-dimension-repository_id21548731
octolytics-dimension-repository_nwopython-zeroconf/python-zeroconf
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21548731
octolytics-dimension-repository_network_root_nwopython-zeroconf/python-zeroconf
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
release062b05dcdf64ee7a3dad7acabb746494ae0982cc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/issues/1385#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F1385
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2F1385
Sign up https://github.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=python-zeroconf%2Fpython-zeroconf
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1385
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1385
Reloadhttps://github.com/python-zeroconf/python-zeroconf/issues/1385
python-zeroconf https://github.com/python-zeroconf
python-zeroconfhttps://github.com/python-zeroconf/python-zeroconf
Notifications https://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf
Fork 232 https://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf
Star 704 https://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf
Code https://github.com/python-zeroconf/python-zeroconf
Issues 50 https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests 5 https://github.com/python-zeroconf/python-zeroconf/pulls
Discussions https://github.com/python-zeroconf/python-zeroconf/discussions
Actions https://github.com/python-zeroconf/python-zeroconf/actions
Projects 0 https://github.com/python-zeroconf/python-zeroconf/projects
Wiki https://github.com/python-zeroconf/python-zeroconf/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python-zeroconf/python-zeroconf/security
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/issues/1385
Insights https://github.com/python-zeroconf/python-zeroconf/pulse
Code https://github.com/python-zeroconf/python-zeroconf
Issues https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests https://github.com/python-zeroconf/python-zeroconf/pulls
Discussions https://github.com/python-zeroconf/python-zeroconf/discussions
Actions https://github.com/python-zeroconf/python-zeroconf/actions
Projects https://github.com/python-zeroconf/python-zeroconf/projects
Wiki https://github.com/python-zeroconf/python-zeroconf/wiki
Security https://github.com/python-zeroconf/python-zeroconf/security
Insights https://github.com/python-zeroconf/python-zeroconf/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/1385
New issuehttps://github.com/login?return_to=https://github.com/python-zeroconf/python-zeroconf/issues/1385
Compiling exe with PyInstaller results in missing partshttps://github.com/python-zeroconf/python-zeroconf/issues/1385#top
https://github.com/Poikilos
https://github.com/Poikilos
Poikiloshttps://github.com/Poikilos
on Jul 16, 2024https://github.com/python-zeroconf/python-zeroconf/issues/1385#issue-2411693416
Issue compiling into exe with pyinstaller #1363https://github.com/python-zeroconf/python-zeroconf/issues/1363
WARNING: lib not found: api-ms-win-crt-*.dll pyinstaller/pyinstaller#4047https://github.com/pyinstaller/pyinstaller/issues/4047
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.