pycharm+ROS环境配置过程中遇到的问题

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_26572229/article/details/88912116

参考:

1.  创客制造:

https://www.ncnynl.com/archives/201611/1056.html

2.基于pycharm的ros工程配置

https://blog.csdn.net/weixin_38009585/article/details/80311381

https://blog.csdn.net/SimileciWH/article/details/82222362

https://blog.csdn.net/u013745804/article/details/78951884

https://blog.csdn.net/qq_21508727/article/details/80778997

https://blog.csdn.net/qq_21508727/article/details/80778997

看了很多博客,都对我有帮助,这里先感谢一下前辈。但是每个人情况不一样,遇到问题也不一样,所以在此记录自己成功配置的过程,但是仅供参考,也是方便自己以后查找。如有误导,小女先说声抱歉。也希望大家在配置过程中,细心耐心,不要急躁。加油!

1.配置pycharm环境

问题是创客制造里写的很清楚,只是自己开始不理解,

gedit ~/.local/share/applications/jetbrains-pycharm.desktop   #如果选择安装为当前用户可用
[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm 
Icon=/home/ubu/tools/pycharm-professional-2016.2.3/bin/pycharm.png
Exec= bash -i -c "/home/ubu/tools/pycharm-professional-2016.2.3/bin/pycharm.sh" %f
Comment=The Drive to Develop
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm

 以上是创客里面的Exec,但是我的就是下面的样子:

Exec=bash -i -c "/home/xtu/tools/pycharm-2018.3.2/jre64/bin/java -classpath /home/xtu/tools/pycharm-2018.3.2/lib/bootstrap.jar:/home/xtu/tools/pycharm-2018.3.2/lib/extensions.jar:/home/xtu/tools/pycharm-2018.3.2/lib/util.jar:/home/xtu/tools/pycharm-2018.3.2/lib/jdom.jar:/home/xtu/tools/pycharm-2018.3.2/lib/log4j.jar:/home/xtu/tools/pycharm-2018.3.2/lib/trove4j.jar:/home/xtu/tools/pycharm-2018.3.2/lib/jna.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -XX:ErrorFile=/home/xtu/java_error_in_PYCHARM_%p.log -XX:HeapDumpPath=/home/xtu/java_error_in_PYCHARM.hprof -Didea.paths.selector=PyCharm2018.3 -Djb.vmOptionsFile=/home/xtu/tools/pycharm-2018.3.2/bin/pycharm64.vmoptions -Didea.platform.prefix=Python com.intellij.idea.Main"%f

我的是不是看起来就不一样?

1.我开始尝试Exce全部替换成Exec= bash -i -c "/home/xtu/tools/pycharm-2018.3.2/bin/pycharm.sh" %f

pycharm就打不开了。

2.正确做法是上面,我相信大家能看懂,反正我开始没弄对

  •  点上两个小勾勾你会发现不用再去安装一些常用库了

2.catkin_make 时候出现问题

See also "/home/wgb/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/wgb/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed


原文:https://blog.csdn.net/wuguangbin1230/article/details/77803017 

  • conda install setuptools

  • pip install -U rosdep rosinstall_generator wstool rosinstall six vcstools

 

3. ImportError: No module named defusedxml.xmlrpc

conda install -c conda-forge defusedxml

展开阅读全文

没有更多推荐了,返回首页