dood
January 18, 2022, 11:33pm
1
I have been following this video:
I git clone the repo to a folder called src
.
git clone https://github.com/ROBOTIS-GIT/DynamixelSDK.git
Then i cd to the parent folder and i type catkin_make
.
However, i get this error:
/home/user1/anaconda3/bin/python3: can't find '__main__' module in '/home/user1/anaconda3/lib/python3.8/site-packages/em'
I have already done pip install em
. I am using conda but i also did it in the native version with conda deactivate
. I still get the same error.
When i try to install i get:
Requirement already satisfied: em in /usr/local/lib/python3.8/dist-packages (0.4.0)
I do not know how to proceed… If anyone can help me i would so so much appreciate it.
It looks to me like Python has not been configured to use the correct path. This tutorial contains steps to do so for a variety of operating systems.
@dood
After you have git clone the repo then change in to python directly and run the python script called setup.py and it will setup all the path for you
dood
January 20, 2022, 8:31am
4
The solution was this:
export PYTHONPATH=$PYTHONPATH:/usr/lib/python3/dist-packages/
I turned off anaconda. conda deactivate
Even if you turn off anaconda, the build will still fail. You have to delete the build and devel folders that were previously built from the conda build.
Reinstalled the python3-em lib
It was still failing, but after a reboot it worked.
1 Like