Comments (3)
One thing to note @eci-aashish is that an issue filed without a concrete example is always a bad footing to start from. If you can provide full examples that allow re-producing the issue, that is best.
I am building my project using pex but getting memory error due to the large size of requirements.txt file.
It's not a memory error. Its an error because the zip requires Zip64 extensions and the Python zipimporter does not support 64 bit zips (that's what the error message tries to convey).
Tried --layout=packed and --layout=loose but still unable to run the pex build file.
There are many distributions that do not work properly with complicated sys.path
setups; so you should try --venv
which will cause the PEX to turn into a venv at runtime with a ~single sys.path
site-packages entry that those distributions expect.
There are other distributions that do not tolerate the tricks Pex uses when laying out a venv to save space on your machine (it uses symlinks by default); so you want to use --venv-site-packages-copies
.
All together, that means --layout packed --venv --venv-site-packages-copies
.
from pex.
@eci-aashish I've labelled this as a question. If my suggestion works for you, please let me know and I'll close the question as answered.
from pex.
@eci-aashish I gave you the options you were likely missing in your pex
command line (--layout packed --venv --venv-site-packages-copies
). I'm going to assume the silence means your question is answered and close. Speak up if not.
from pex.
Related Issues (20)
- Pex external venv should copy wheel files
- Pex fails to resolve requirements, but Pip succeeds HOT 8
- "run from source" instructions dump into repl HOT 3
- Missing `py.typed` HOT 8
- update on lock with acryl-datahub fails with cryptic error message HOT 4
- pex lock update: mechanism to remove projects from lockfile requirements HOT 7
- pex lock update: mechanism to change the version specifier if an existing requirement (or constraint?) HOT 5
- gmsh library not loaded in the packaged pex python binary HOT 21
- Documentation website is down/missing HOT 6
- lock update does not preserve "binary-ness" and errors out with artifact set changes HOT 6
- Support Pip's `--only-binary` / `--no-binary`. HOT 1
- Support syncing input requirements to a lock file more easily.
- Unify CLI options with Pip options when requirements files are parsed. HOT 2
- URL quoting regression when using `find-links` HOT 1
- Generating lockfiles fails with: unknown error (_ssl.c:3161) HOT 3
- Consider using uv as an optional alternate resolver. HOT 21
- Expose Pip's `--use-feature`. HOT 2
- Can we build the project without requirements.txt ? HOT 3
- lock create doesn't support tar.bz2 extensions HOT 6
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 pex.