-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gns3server --shell not working. #1556
Comments
Indeed, this is broken. However, why do you need this? (since this is for debugging purpose only). This will require us to fix #1424 first. |
Cause I notice the gns3server ignored option "iourc_path" in gns3_server.conf which i mentioned in issues #1555 |
I am gonna look at #1555 soon. |
Thank you very much. |
2.2.0a2
gns3vm
run gns3server --shell it said
Unable to start a shell: the ptpython module must be installed!
so I run pip3 install ptpython and finished.
run gns3server again and received the follow message
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 574, in _build_master
ws.require(requires)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (prompt-toolkit 2.0.9 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('prompt-toolkit==1.0.15'), {'gns3-server'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/gns3server", line 6, in
from pkg_resources import load_entry_point
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3088, in
@_call_aside
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3072, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 576, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 589, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'prompt-toolkit==1.0.15' distribution was not found and is required by gns3-server
After this , I reinstall gns3server by running pip3 install gns3-server==2.2.0a2
and run gns3server working , but gns3server --shell still receive the ptpython module must be installed message.
The text was updated successfully, but these errors were encountered: