Error loading Python lib '/tmp/_MEIruWkD7/libpython3.9.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIruWkD7/libpython3.9.so.1.0 #7541
Replies: 2 comments 2 replies
-
You cannot run your frozen application on linux distributions that have older version of So you probably shouldn't be building on |
Beta Was this translation helpful? Give feedback.
-
@CloudWise-Lukemiao did you solved this problem? |
Beta Was this translation helpful? Give feedback.
-
[1969296] Error loading Python lib '/tmp/_MEIruWkD7/libpython3.9.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIruWkD7/libpython3.9.so.1.0)
I want to use Github Action to publish my Python program, which uses pyinstaller for packaging. But I found that it cannot run on other Linux machines. What should I do to make it run properly. Here is the yml file content for my github action
name: Build and Package
on:
push:
branches:
jobs:
build:
runs-on: ubuntu-latest
steps:
uses: actions/checkout
uses: actions/setup-python
with:
python-version: '3.9'
run: |
python -m pip install --upgrade pip
pip3 install -r requirements.txt
run: |
pyinstaller iotd.py --hidden-import tendo --hidden-import yaml --hidden-import paramiko --hidden-import prettytable --hidden-import ruamel.yaml --hidden-import rich --hidden-import rich.progress --hidden-import logzero --hidden-import tqdm --add-data 'cluster/:cluster' --add-data 'tools/:tools' --add-data 'exception/*:exception' --onefile --runtime-tmpdir /tmp
run: |
mkdir -p iotd/sbin
mkdir -p iotd/config
cp -r dist/* iotd/sbin/
cp -r config/* iotd/
uses: actions/upload-artifact
with:
name: iotd
path: ./ iotd
Beta Was this translation helpful? Give feedback.
All reactions