-
Notifications
You must be signed in to change notification settings - Fork 74
'importlib._bootstrap' has no attribute 'SourceLoader' #94
Comments
Ok, I spent the day on this issue, with the help of others. I first monkey-patched esky: Some little changes: We assumed that esky is not compatible yet with python 3.5. Once this corrected, the build completed, but I got another error when trying to run the exe:
This one is because cx_Freeze "can not see an import": By applying the patch here: I could solve the issue. But as I use scipy in my program, I got one last error:
I found the solution here: By patching cx_Freeze again, I finally got my program running. I let this here for posterity, or in case someone runs into the same problems. |
Thanks for your work, see this post for more info on our plans #95, |
I can probably make a PR. Would it help ? |
that would be awesome |
Ok, I will try. Do I also have to write some tests ? |
We are using travis ci to run the tests when pull requests are pushed (across multiple versions). I don't think you need to write more tests, as long as the tests that we have pass on 2.7 +, |
Ok, I'm still not confortable with the PR process, but I think it's ok now. I just made one. It solved my issue (at least for the Esky part). |
@JPFrancoia Thanks |
Hi,
I'm trying to build an app. It was working before (ok, maybe some months ago. Since then, python 3.5 went out).
I have the following exception:
I'm using:
Python 3.5.0
Esky 0.9.9 (latest) from pypi
cx_freeze 4.3.4-2
And I'm on Manjaro (Linux). It seems to be related to #67 somehow, but I'm not really sure. Could you give me a hand please ?
The text was updated successfully, but these errors were encountered: