Title: future does not work with py2exe and cx_Freeze · Issue #31 · PythonCharmers/python-future · GitHub
Open Graph Title: future does not work with py2exe and cx_Freeze · Issue #31 · PythonCharmers/python-future
X Title: future does not work with py2exe and cx_Freeze · Issue #31 · PythonCharmers/python-future
Description: I've tried to use py2exe to generate executable for windows. hello.py: # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from future import standard_library from future.builtins ...
Open Graph Description: I've tried to use py2exe to generate executable for windows. hello.py: # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from future impor...
X Description: I've tried to use py2exe to generate executable for windows. hello.py: # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from future i...
Opengraph URL: https://github.com/PythonCharmers/python-future/issues/31
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"future does not work with py2exe and cx_Freeze","articleBody":"I've tried to use py2exe to generate executable for windows.\n\nhello.py:\n\n``` python\n# -*- coding: utf-8 -*-\nfrom __future__ import (absolute_import, division,\n print_function, unicode_literals)\nfrom future import standard_library\nfrom future.builtins import *\n\nprint(\"Hello World!\")\n```\n\nsetup.py:\n\n``` python\nfrom distutils.core import setup\nimport py2exe\n\nsetup(console=['hello.py'])\n```\n\nrun py2exe:\n\n```\nC:\\Users\\User\\hello\u003eC:\\Python27\\python.exe setup.py py2exe\n...\n*** copy extensions ***\n*** copy dlls ***\ncopying C:\\Python27\\lib\\site-packages\\py2exe\\run.exe -\u003e C:\\Users\\User\\hello\\dist\n\\hello.exe\nThe following modules appear to be missing\n['builtins']\n\n*** binary dependencies ***\nYour executable(s) also depend on these dlls which are not included,\nyou may or may not need to distribute them.\n\nMake sure you have the license if you distribute any of them, and\nmake sure you don't distribute files belonging to the operating system.\n\n USER32.dll - C:\\Windows\\system32\\USER32.dll\n SHELL32.dll - C:\\Windows\\system32\\SHELL32.dll\n ADVAPI32.dll - C:\\Windows\\system32\\ADVAPI32.dll\n WS2_32.dll - C:\\Windows\\system32\\WS2_32.dll\n GDI32.dll - C:\\Windows\\system32\\GDI32.dll\n KERNEL32.dll - C:\\Windows\\system32\\KERNEL32.dll\n```\n\nthen try to execute:\n\n```\nC:\\Users\\User\\hello\u003ecd dist\n\nC:\\Users\\User\\hello\\dist\u003ehello.exe\nTraceback (most recent call last):\n File \"hello.py\", line 4, in \u003cmodule\u003e\n File \"future\\standard_library\\__init__.pyc\", line 449, in \u003cmodule\u003e\n File \"future\\standard_library\\__init__.pyc\", line 381, in install_hooks\nImportError: No module named UserList\n```\n","author":{"url":"https://github.com/geerk","@type":"Person","name":"geerk"},"datePublished":"2014-01-25T14:04:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/31/python-future/issues/31"}
| 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:de14c7fd-e931-0adf-568a-820d5e657fcd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 89DA:EFB79:656991:8817A8:6969B651 |
| html-safe-nonce | 85366df5c705c91f0b7f0d967e18f6b0cedf6b5144c00690ba37e032ce6cebc4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OURBOkVGQjc5OjY1Njk5MTo4ODE3QTg6Njk2OUI2NTEiLCJ2aXNpdG9yX2lkIjoiNzkzMDM0NDc0NTE1NjA2NDg0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e1328cbbfc15bedd5fafe6f48f1a53349c667fc8ca798c8b08fa3bdb428442bc |
| hovercard-subject-tag | issue:26293421 |
| 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/PythonCharmers/python-future/31/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5afe3ec27855def2c0f1bc85680fcad192ee1a3caea8778b101270d55b81fc0d/PythonCharmers/python-future/issues/31 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5afe3ec27855def2c0f1bc85680fcad192ee1a3caea8778b101270d55b81fc0d/PythonCharmers/python-future/issues/31 |
| og:image:alt | I've tried to use py2exe to generate executable for windows. hello.py: # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) from future impor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | geerk |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/PythonCharmers/python-future git https://github.com/PythonCharmers/python-future.git |
| octolytics-dimension-user_id | 3365815 |
| octolytics-dimension-user_login | PythonCharmers |
| octolytics-dimension-repository_id | 11403699 |
| octolytics-dimension-repository_nwo | PythonCharmers/python-future |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11403699 |
| octolytics-dimension-repository_network_root_nwo | PythonCharmers/python-future |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width