1.配到部署好远程后,启动一直卡在初始化,无法启动。
解决:
(1) Connect to the remote device using ssh ssh <user_name>@<device_ip>
(2) Run the below commands (In my case, “.pycharm_helpers” folder was created in remote Linux device under “/home/root/” path)
cd /home/root/
cd ./.pycharm_helpers/ (用find找到: find / -name *pycharm_helpers*)
rm -rf check_all_test_suite.py
tar -xvzf helpers.tar.gz
(3) Restart PyCharm and wait a little bit for the progress bar at bottom right to complete.
2. 报错信息:/usr/bin/python: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
解决方案:
which python
ldd /usr/bin/python
find / -name “libpython3.7m.so.1.0” 找到路径:/usr/local/lib/libpython3.7m.so.1.0
/etc/ld.so.conf.d目录,创建文件python3.conf,加入这个库所在的路径,如:/usr/local/lib
ldconfig