fatal python error unable to locate initialization module Laguna New Mexico

Address 10451 Calle Avila NW, Albuquerque, NM 87114
Phone (505) 890-3032
Website Link
Hours

fatal python error unable to locate initialization module Laguna, New Mexico

To be honest, it's still a toy language. I was actually aware of requests.certs.where() but it lead to problems with cx_freeze (again! permalinkembedsaveparentgive gold[–]Ashiataka 0 points1 point2 points 2 years ago(0 children)Yeah, I'm not saying it's easy at all. permalinkembedsaveparentgive gold[–]the_hoser 2 points3 points4 points 2 years ago(0 children)I feel your pain, man.

That's exactly what pyinstaller/py2exe/cx_freeze/Nuitka are for, and they work well. The fact that it's damn near impossible to distribute python programs to either 1. etcher3rd commented Jan 27, 2015 Sorry for the lack of information in my previous post, I actually did not expect this necro to work... AustinMatherne commented Jan 22, 2013 The bootstrap issue persists even when running the latest 0.9.8 dev build.

permalinkembedsaveparentgive gold[–]Kaarjuus 0 points1 point2 points 2 years ago(10 children)It's very possible and quite easy to distribute compiled python programs. At least with C or C++ you can easily make something that will run on someone else's computer that's running the same system as you. Because I don't know if this can have any consequences for the installation I'll post only a couple lines to show where this error occured: copying cx_Freeze\samples\zope\setup.py -> build\lib.win-amd64-3.4\cx_Freeze\samples\zope running build_ext If I can't write a program and send it to someone for them to run, it's useless.

Turns out some some dlls that you forgot to ship is already on your friend's box, but is a different version, which caused some subtle issue that breaks the application. I feel the way you do about Python for Java. Hopefully we can get a new release soon. Ecno92 commented Feb 2, 2015 I'm quite sure that your problem is not the result of my changes.

Edit: Tried: VS100COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\" VS110COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\" VS120COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\" VS90COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\" but no luck for me. Python is heavily used on web servers, in scientific computing, and system scripting - all cases where you control the environment and don't need to ship exes to users. You do have to package on the platform you're targeting, but that's because cross-targeting is a very complex problem, especially when you have multiple binary dependencies involved. Or do I have to use the oder one? 2014-04-04T06:22:28+00:00 0BLACK0 Install VS2010 but read Issue #71 before build . 2014-04-04T16:44:45+00:00 Yaerox reporter I installed VS2010 and tried to do it

If you're not already, can you try it with the development version (zip download)? You'll need to install it from this pull request, and maybe also merge this PR in to get things working. Oh, and if you want yet another option for distributing GUI apps, I wrote a template Python NSIS installer. EDIT: clarified, I used "cross-compiling" and that's not the same.

Select Articles, Forum, or Blog. What initialization module is missing? I'm currently set up with cx_Freeze 4.3.2 and Python 3.4. I am interested in coding a few GUIs/Applications for external use (just on Windows) that I can send to other people without them having to install Python.

permalinkembedsaveparentgive goldaboutblogaboutsource codeadvertisejobshelpsite rulesFAQwikireddiquettetransparencycontact usapps & toolsReddit for iPhoneReddit for Androidmobile websitebuttons<3reddit goldredditgiftsUse of this site constitutes acceptance of our User Agreement and Privacy Policy (updated). © 2016 reddit inc. You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid Turns out the exe depends on VC runtime. Then you send it to your friend.

ce imported from os ? I need the person to have Java installed (and I I'm pretty sure it's illegal to redistribute yourself) and from there I don't even know. The fix suggested by @Ecno92 works for python 3.3, but it has a side effect: let me illustrate the problem setup.py from distutils.core import setup from esky.bdist_esky import Executable import os org.python.core imported from copy ?

permalinkembedsavegive gold[–]Ashiataka 0 points1 point2 points 2 years ago(18 children)Lol, in the last two days I've seen the following sequence of posts I need to share my application, how do it? Reading threads in this subreddit, I guess there is a big issue with Python and sharing applications outside of Python. Introducing Sanic, for when you gotta go fast!PyMoe for all your otaku needsUsing Pyinstaller : ailed to execute script and can't find needed data file8 points A quick Python script to generate If you're interested in this, I'm happy to describe it in more detail.

It's a very rough prototype at the moment, but I think it could avoid a lot of the pain of solutions like cx_Freeze. Learn how to clone a repository. Does that make C/C++ a toy language? Homework-style questions will be removed, and you'll be encouraged to post there instead.

getopt imported from base64, quopri ? Hopefully somebody knows the solution since I prefer to use Python 3.3. What I'm saying that it doesn't fit with Python's philosophy. I concede that this is a valid annoyance.

But it's so fragmented and impossible to distribute that it's not worth it. Not the answer you're looking for? Razer6 commented Jul 24, 2013 I'm getting a similar error: $ main ValueError: bad marshal data (unknown type code) Fatal Python error: unable to locate initialization module Current thread 0x00001318: Using It seems, however, that in deciding to pick Python to create applications, I have shot myself in the foot.

Whenever I try to compile a non-trivial program it always compiles, but then at runtime I always get stupid NameErrors (so for example I'll have at the top of the file That at least fixed the build issue, but when I try to open the application that was created in the build, I get a fatal error that says "unable to locate If you've got the VS 2010 compiler on your machine, can you try with the development version of cx_Freeze from bitbucket.org/anthony_tuininga/cx_freeze ? –Thomas K Mar 26 '14 at 16:30 1 have python but haven't installed the third party dependencies your program needs (not everyone can install them and it's apparently not possible to package up any dependencies to distribute) This, at

Python jobs Pythonjobs.Github.io Python.org job board Newsletters Pycoder's Weekly Python Weekly ImportPython PythonTips Screencasts Neckbeard Republic Zero to Hero with Python! The error is vague, and my knowledge of Python is fairly limited at this point. Then somehow it fails with another error. So the problem is that pyinstaller/py2exe/cx_freeze/Nuitka do not in general work for any sizeable program that makes use of third party packages, and even if you can get them to work,

Since it takes me some time to set up the environment to investigate it myself I would advice to see what the CX_freeze contributors changed to make freezing work for Python Sorry for that. You happily compiled it into a exe file. Honest question.

I mentioned my template NSIS installer above.