I have use a robot simulator which only works on ROS Indigo. I also have to use Tensorflow and Jupyter Notebook so I have created a virtual environment with Python3.6.
I want to import a file from the simulator package in a notebook. So after I source bin/activate for the virtualenv, I source devel/setup.bash from my catkin workspace. But even after doing this I get the following error
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-8-8370e76446ee> in <module>
----> 1 import herbpy
~/my_workspace/devel/lib/python2.7/dist-packages/herbpy/__init__.py in <module>
33 for __execfile in __execfiles:
34 with open(__execfile, 'r') as __fh:
---> 35 exec(__fh.read())
36 del __fh
37 del __execfile
~/my_workspace/devel/lib/python2.7/dist-packages/herbpy/__init__.py in <module>
ModuleNotFoundError: No module named 'herb'
I tried running a python file importing this module (while in the environment). It only ran with python2. But with python2, I can't use Tensorflow.
How do I import this file in my notebook?