Comments (7)
@Zoeybird which python version in your environment?
from pyconcrete.
I also got this error, my python ver is 2.7.9
from pyconcrete.
Reference by stackoverflow thread
It's seems caused by build & run by different python version
ex: build .pye by python 2.7.8, run .pye by python 2.7.9
@fangchih Please help to make sure build & run on same python version
Or you can rebuild all .pye
, and try again
from pyconcrete.
@Falldog thanks, I just found the root cause same as you said.
have any workaround on this? because the PROD's python is older than CI's python.
Seems different platform will cause this issue too, still checking...
from pyconcrete.
- The easiest way is that make sure all python version sync.
- Use Vagrant or docker to process CI task to make sure python version is sync in VM env
- Production environment is hard to control the python version, maybe you should try PyInstaller rather than pyconcrete
@fangchih I don't know how your Production or CI work
Maybe you can explain more detail then I can give you more suggestion.
from pyconcrete.
@Falldog, thanks for your help...
My PROD is embedded linux box which have 32bit and 64bit os, so far we only have 2.7.9 because of our toolchian limitation.
My approach now is use docker in CI to emulate PROD env, same as you mentioned.
I will also give PyInstaller a try, but seems pycontrete is more light weight to just meet my requirement. XD
from pyconcrete.
@fangchih, sounds great!
:)
@Zoeybird I will close this issue, cause the root cause should be run & build by different python version. If there is another root cause of the issue, you can reopen it.
from pyconcrete.
Related Issues (20)
- Does pyconcrete generate .pyc files during execution, if yes which location? HOT 2
- How work with pip to install pye library?
- No module named xx
- Error opening pye-protected models.py and migrations/* files HOT 1
- Can't migrate the database.
- Management commands error after protect in Django HOT 5
- Can't Install On Termux HOT 1
- Installation Error in Kali Linux ( on python 3.8) HOT 1
- I want to run pye in a script HOT 3
- Password change HOT 1
- Encryption for installed packages HOT 2
- Can't work
- whether encrypted pye file can be decrypted to pyc file? HOT 1
- Testing application HOT 2
- Support for Python 3.10 HOT 1
- Cannot build or install it HOT 2
- Jinja2 and Django HOT 1
- Cannot get change of passphrase working HOT 1
- Error using multiprocessing with pyconcrete
- Example of django doesn't work HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyconcrete.