poetry install
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 = ':/home/user/yjx/dcgan/'
program name = '/home/ziva/.local/share/pypoetry/venv/bin/python'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/home/ziva/.local/share/pypoetry/venv/bin/python'
sys.base_prefix = '/home/ziva/miniconda3/envs/dbgpt_hub'
sys.base_exec_prefix = '/home/ziva/miniconda3/envs/dbgpt_hub'
sys.platlibdir = 'lib'
sys.executable = '/home/ziva/.local/share/pypoetry/venv/bin/python'
sys.prefix = '/home/ziva/miniconda3/envs/dbgpt_hub'
sys.exec_prefix = '/home/ziva/miniconda3/envs/dbgpt_hub'
sys.path = [
'',
'/home/user/yjx/dcgan/',
'/home/ziva/miniconda3/envs/dbgpt_hub/lib/python310.zip',
'/home/ziva/miniconda3/envs/dbgpt_hub/lib/python3.10',
'/home/ziva/miniconda3/envs/dbgpt_hub/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 0x00007f4020aba740 (most recent call first):
<no Python frame>
解决方法:更新了一下conda好了
conda update conda

3万+

被折叠的 条评论
为什么被折叠?



