Closed mqcmd196 closed 4 years ago
EDIT: Probably the below is enough
cd ~/euslime_ws/src/euslime
git submodule init
git submodule update
cd ~/euslime_ws
catkin build
Thanks for your replying!
I succeeded in catkin build, but when I execute emacs -nw -f euslime
, emacs shows the below.
--euslisp-program roseus --init-file /home/yoshiki/.euslime/slime-loader.l --port 0 --port-filename /tmp/slime.26491 --color
Traceback (most recent call last):
File "/usr/local/bin/euslime", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3251, in <module>
@_call_aside
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'euslime' distribution was not found and is required by the application
Process inferior-lisp exited abnormally with code 1
When I tried installing euslime, I used this repository at first. I couldn't find out whether it has problem or not.
https://github.com/furushchev/euslime/tree/master is outdated and may be conflicting with the new installation method.
My bet is that the previously pip installed euslime command is clashing with the newly catkin installed one.
euslime
in the command prompt and check if the result is similar to the above error.source /opt/ros/melodic/setup.bash
and then chech which euslime
. If this points to something like /usr/local/bin/euslime
then we have a problem.python setup.py develop -u
. When testing in the docker I also had to sudo rm /usr/local/bin/euslime
.which euslime
returns nothing, then source the package and try to run the euslime
command.[INFO - server:L101] Starting server with encoding utf-8 and color False
[INFO - server:L116] Serving on 0.0.0.0:37983
I executed your command and euslime works without any troubles! Thanks a lot!!
When I executed euslime
, the terminal showed the completely same error with https://github.com/jsk-ros-pkg/euslime/issues/2#issuecomment-612794743. which euslime
also showed /usr/local/bin/euslime
. So it was true that the new one was crashing with the old one. I'll show what I did.
cd ~/euslime_dir/euslime
sudo python setup.py develop -u
cd ~/euslime_ws
catkin config --install
catkin build
I'll enjoy my euslime life. Thanks!
Great!
There are probably still a lot of bugs around, so anything you notice don't hesitate on opening an issue here!
I failed in catkin build. This is the log.
yoshiki
is user.