Comment by gvdhoorn for When importing rospy in python 3.6 I get the...
> Does anyone know what could cause this? ROS Melodic does not support Python 3. You must have done something 'special' to get this far. It would be good to tell us what. Note: mixing Python 2 and...
View ArticleComment by rosNewbie for When importing rospy in python 3.6 I get the...
@gvdhoorn I use cv_bridge, and did what is told in this [answer](https://stackoverflow.com/a/50291787). I created another catkin_workspace with py3 and source it as `--extend` into my other workspace.
View ArticleComment by gvdhoorn for When importing rospy in python 3.6 I get the...
It would have been better if the poster of the answer you link could have been a bit more careful with just telling everyone to use `--extend` when `source`ing. It's not recommended to do that unless...
View ArticleComment by rosNewbie for When importing rospy in python 3.6 I get the...
@gvdhoorn Do you have any advice how to solve my problem?
View ArticleComment by gvdhoorn for When importing rospy in python 3.6 I get the...
I would sugget to *not* use `--extend`, to start with. Yes, that will mean you cannot mix-and-match your "regular" packages with the ones you build with Python 3, but that is not supported (officially).
View ArticleComment by rosNewbie for When importing rospy in python 3.6 I get the...
@gvdhoorn, unfortunately this is not really an option for me. I use a code base from another person. And there this was done like this. I just try to get it running on my ubuntu 18.04
View ArticleComment by gvdhoorn for When importing rospy in python 3.6 I get the...
Then I would suggest you ask the author how he did this. The underlying problem is that your Python3 interpreter is trying to load Python2 packages (specifically PyYaml in this case), which is what's...
View ArticleModuleNotFoundError: No module named 'error'
When importing `rospy` in python 3.6 I get the following error: Python 3.6.9 (default, Apr 18 2020, 01:56:04) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more...
View Article
More Pages to Explore .....