-
Notifications
You must be signed in to change notification settings - Fork 226
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
install error, package version conflict #91
Comments
I'm not sure the reason for this, but you can try one of the following:
|
Thanks for your reply. I cannot find the package 'hyperopt' from 'setup.py', so i remove in requirements.txt I don't know why it still installed hyperopt , but failed During handling of the above exception, another exception occurred: Traceback (most recent call last): |
I solved the problem |
hi all,
I follow the readme to install mycroft-precise from source.
Get the error
ERROR: hyperopt 0.2.1 has requirement networkx==2.2, but you'll have networkx 1.11 which is incompatible.
When I run precise-train, throw following exception
Traceback (most recent call last):
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (networkx 1.11 (/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages), Requirement.parse('networkx==2.2'), {'hyperopt'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/gary/mycroft-precise/.venv/bin/precise-train", line 6, in
from pkg_resources import load_entry_point
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 3250, in
@_call_aside
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 585, in _build_master
return cls._build_from_requirements(requires)
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages/pkg_resources/init.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (networkx 1.11 (/home/gary/mycroft-precise/.venv/lib/python3.4/site-packages), Requirement.parse('networkx==2.2'), {'hyperopt'})
How to correctly install mycroft-precise?
Which version of ubuntu and python can be installed correctly?
Thanks
The text was updated successfully, but these errors were encountered: