no module named rospy after anaconda install
Hello all,
I was using ros kinetic with py scipts without problem, but then I tried installing Anaconda 3.5 and all my ROS is messed as you guess. So I uninstalled Anaconda 3.5 and installed Anaconda 2.7.
Now the problem is I cannot run py scripts, as they usually give error like ImportError: no module named 'rospy' and etc..
when I tried
which python
it shows me /usr/bin/python
that I believe it is wrong
python --version
shows Python 2.7.12
I tried adding export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-package
without comment but it didn't work.
where I am doing wrong? could you help me thank you