Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Tooling
0 votes
1 replies
36 views

I have a python project and want to distribute it as a single file. I found PEX but found it difficult to use. Initially, I thought if my project is in a folder like the following <folder>\ ...
Gerald Me's user avatar
  • 127
0 votes
0 answers
130 views

I’m building a PEX file for a Python 3.12 project (system-monitor) targeting Amazon Linux 2023 (glibc 2.34) on both x86_64 and aarch64 architectures. I’m using PEX with --platform options to enforce ...
0 votes
1 answer
25 views

Consider this script /tmp/test.py: import os import sys print(__file__) print(os.path.dirname(os.path.realpath(__file__))) print(sys.argv) bundled like this with pex: python -m pex --exe test.py -o ...
spinkus's user avatar
  • 8,800
0 votes
1 answer
192 views

I am trying to have my python application running on a PEX file, inside a docker container. I was wondering if PEX files support any kind of configuration in order to read environment variables that ...
1 vote
1 answer
719 views

TL;DR I built pex according to the guide https://pex.readthedocs.io/en/v2.1.145/buildingpex.html and was expecting it to run fine outside of the virtualenv I used to build it, but alas: $ ~/bin/pex ...
-1 votes
1 answer
83 views

Hello I will try to define my issue: I have created a pex file with follow commnad: $ pex --disable-cache . -e ${PYTHON_ENTRYPOINT} -o app.pex -R utils/tasks/templates And I have my files as: So ...
0 votes
1 answer
294 views

I have a python pex file that I want to use as a python interpreter. I set the .pex in vscode as python interpreter and vscode recognized it correctly as python interpreter, but when I click on run, ...
1 vote
1 answer
593 views

I was following this tutorial to add my own pacakge to .pex but this tutorial is based on python2 and I try to recreate for python3.10.6 but does not works. The structure of my package is as follow ...
5 votes
0 answers
830 views

I am attempting to create a PySpark job via the Databricks UI (with spark-submit) using the spark-submit parameters below (dependencies are on the PEX file), but I am getting an exception that the PEX ...
0 votes
0 answers
1k views

I am getting the below error while I'm trying to build pex file on a remote server and I'm putting boto3 in my requirements.txt and not botocore or aioboto in my file but still getting this ...
0 votes
0 answers
590 views

Trying to deploy a small python web server to run on a Machine with QNX7.1 OS installed. For various reasons, I cannot use docker, Pip is also not available on the machine nor can I just pre-install ...
crowgers's user avatar
  • 274
0 votes
1 answer
120 views

public enum SystemConstants { SystemTypeDocument, ApplicationTypeDocument } public interface ISystemBaseObject { SystemConstants SystemType(); } public class ExploreMockExample {...
0 votes
1 answer
1k views

I am currently trying to create a pex file with an Pythonfile entrypoint. My Folder structure looks like the following: ├── readme.md ├── requirements.txt ├── setup.py ├── stv │ ├── adminuser.py │ ...
1 vote
2 answers
2k views

I am getting the following error while trying to package and execute a script with PEX. Failed to execute PEX file. Needed macosx_10_14_x86_64-cp-38-cp38 compatible dependencies for: 1: pyyaml ...
1 vote
1 answer
3k views

in my environment I have python 3.8.5 and pex 2.1.20 I'm bundling some libraries in a pex file with this command: pex module1 module2 module3 -o custom_env.pex The reason being that I want to ...
espogian's user avatar
  • 627

15 30 50 per page
1
2 3 4 5
...
16

AltStyle によって変換されたページ (->オリジナル) /