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'
I installed ROS Noetic in windows 10 as explained in http://wiki.ros.org/Installation/Windows. And I want to run the demo in the tutorial of moveit. After I check roslaunch pandamoveit_config demo.launch I got the error:
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = 'c:\opt\ros\noetic\x64\lib/site-packages;c:\opt\ros\noetic\x64\Lib\site-packages'
program name = 'python.exe'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = 'C:\\Users\\LENOVO\\venv\\Scripts\\python.exe'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.executable = 'C:\\Users\\LENOVO\\venv\\Scripts\\python.exe'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
'c:\\opt\\ros\\noetic\\x64\\lib/site-packages',
'c:\\opt\\ros\\noetic\\x64\\Lib\\site-packages',
'C:\\Users\\LENOVO\\venv\\Scripts\\python38.zip',
'g:\\python',
]
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 0x000033d8 (most recent call first):
<no Python frame>
I see other solutions proposed for similar problems,such as delete python38.dll or use new release. but I have use the latest release and there is no 'python38.dll' in my packege 'c:\opt\ros\noetic\x64\bin' I dont know how to deal with it.
Asked by mhx974630730@gmail.com on 2021-07-20 09:41:54 UTC
Comments