You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just simply pulled the code and run ./build-linux.py
and I got a folder at the same dir. 'build/venv.linux', and the python inside is executable
then I tried tar the 'venv.linux' dir. and copied it to another Linux, but the python cannot execute
error code:
./python3
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = './python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/home/jfcz/agent/python/bin/python3'
sys.base_prefix = '/home/jfcz/agent/python'
sys.base_exec_prefix = '/home/jfcz/agent/python'
sys.executable = '/home/jfcz/agent/python/bin/python3'
sys.prefix = '/home/jfcz/agent/python'
sys.exec_prefix = '/home/jfcz/agent/python'
sys.path = [
'/home/jfcz/agent/python/lib/python38.zip',
'/home/jfcz/agent/python/lib/python3.8',
'/home/jfcz/agent/python/lib/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fb76113f840 (most recent call first):
<no Python frame>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just simply pulled the code and run ./build-linux.py
and I got a folder at the same dir. 'build/venv.linux', and the python inside is executable
then I tried tar the 'venv.linux' dir. and copied it to another Linux, but the python cannot execute
error code:
thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions