# python package ## install python ```bash pip install pyinstaller wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tar.xz tar -xvf Python-3.11.5.tgz cd Python-3.11.5 ./configure --prefix=/home/users3/rex603/update/install_python --enable-optimizations --enable-shared make -j 8 make install libpython3.11.so <== libpython3.11.so.1.0 <== export LD_LIBRARY_PATH="/root/install_python/Python-3.11.5:$LD_LIBRARY_PATH" echo $LD_LIBRARY_PATH ```  ## pyinstaller command ``` python3 /usr/local/lib/python3.11/dist-packages/PyInstaller/__main__.py -F ./test.py -c ``` output ``` 612 INFO: PyInstaller: 6.3.0 612 INFO: Python: 3.11.5 614 INFO: Platform: Linux-3.10.0-1160.99.1.el7.x86_64-x86_64-with-glibc2.17 616 INFO: wrote /home/users3/rex603/update/Tuning_automation-test/testttt/Tuning_automation/custom_genetic_algorithm.spec 622 INFO: Extending PYTHONPATH with paths ['/home/users3/rex603/update/Tuning_automation-test/testttt/Tuning_automation'] 1149 INFO: checking Analysis 1957 INFO: checking PYZ 2192 INFO: checking PKG 2232 INFO: Bootloader /home/users3/rex603/.local/lib/python3.11/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run 2232 INFO: checking EXE ./build ./dist/test ( executable) ```   # nuitka command ``` apt-get install patchelf pip install Nuitka python3 /usr/local/lib/python3.9/dist-packages/nuitka/__main__.py --standalone --show-memory --show-progress --nofollow-imports --output-dir=out ./test.py ``` 
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.