Those cp36 bits in the packages the PEX has indicate the PEX was built for cPython (the normal python) 3.6, and as you are on 3.8 the packages are assumed to have a different/incompatible ABI.
Like Ning says you can install python 3.6, probably best to try it in something like a VM or container so you don't mess up your local environment. Alternatively you'll probably want to make sure the PEX/tools you use were built for 3.8 to have things go smoothly. 3.6 is rather dated and with lacking support nowadays so it would be good to uplift the python version if aiming to keep the python version relevant for potential users. On Tue, 18 Oct 2022, 01:56 Ning Wang, <[email protected]> wrote: > Maybe give Python 3.6 a try. > > On Mon, Oct 17, 2022 at 2:05 PM Josh Fischer <[email protected]> wrote: > > > Thanks for sending this, Leonardo. > > > > Anyone out there who has some Python knowledge that can help? > > > > On Mon, Oct 17, 2022 at 4:00 PM Leonardo Lima Silva > > <[email protected]> wrote: > > > > > Hi everyone! > > > > > > I'm following the documentation for my first topology deployment and > I'm > > > getting some errors... > > > > > > Running the client I got error this error: > > > pex: Unresolved requirements: > > > pex: - pyyaml > > > pex: - netifaces > > > pex: - protobuf > > > pex: Distributions contained within this pex: > > > pex: - PyYAML-3.13-cp36-cp36m-linux_x86_64.whl > > > pex: - colorlog-2.6.1-py2.py3-none-any.whl > > > pex: - netifaces-0.10.6-cp36-cp36m-linux_x86_64.whl > > > pex: - protobuf-3.8.0-cp36-cp36m-manylinux1_x86_64.whl > > > pex: - requests-2.12.3-py2.py3-none-any.whl > > > pex: - setuptools-46.1.3-py3-none-any.whl > > > pex: - six-1.16.0-py2.py3-none-any.whl > > > Failed to execute PEX file. Needed manylinux2014_x86_64-cp-38-cp38 > > > compatible dependencies for: > > > 1: pyyaml > > > But this pex only contains: > > > PyYAML-3.13-cp36-cp36m-linux_x86_64.whl > > > 2: netifaces > > > But this pex only contains: > > > netifaces-0.10.6-cp36-cp36m-linux_x86_64.whl > > > 3: protobuf > > > But this pex only contains: > > > protobuf-3.8.0-cp36-cp36m-manylinux1_x86_64.whl > > > > > > the full stack is at attached file "error-heron.txt" > > > > > > Client version: > > > > > > > > > https://www.apache.org/dyn/closer.lua/incubator/heron/heron-0.20.4-incubating/heron-install-0.20.4-incubating-ubuntu18.04.sh > > > > > > Python: Python 3.8.10 > > > SO: Ubuntu 20.04 > > > > > > Someone can tell me if I need to install a specific Python version or > > what > > > I need to do to fix this? > > > > > > > > > -- > > Sent from A Mobile Device > > >
