Closed KennethEnevoldsen closed 1 year ago
I've tried to download dacy through anaconda, both with pip and conda install and the different ways of installing: https://centre-for-humanities-computing.github.io/DaCy/installation.html
when running
import dacy
i get the following
`--------------------------------------------------------------------------- ContextualVersionConflict Traceback (most recent call last) Input In [14], in <cell line: 1>() ----> 1 import dacy
File ~\AppData\Roaming\Python\Python39\site-packages\dacy__init.py:4, in
File ~\AppData\Roaming\Python\Python39\site-packages\dacy\about.py:3, in
File ~\Anaconda3\lib\site-packages\pkg_resources__init__.py:477, in get_distribution(dist) 475 dist = Requirement.parse(dist) 476 if isinstance(dist, Requirement): --> 477 dist = get_provider(dist) 478 if not isinstance(dist, Distribution): 479 raise TypeError("Expected string, Requirement, or Distribution", dist)
File ~\Anaconda3\lib\site-packages\pkg_resources__init__.py:353, in get_provider(moduleOrReq) 351 """Return an IResourceProvider for the named module or requirement""" 352 if isinstance(moduleOrReq, Requirement): --> 353 return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] 354 try: 355 module = sys.modules[moduleOrReq]
File ~\Anaconda3\lib\site-packages\pkg_resources__init__.py:897, in WorkingSet.require(self, requirements)
888 def require(self, requirements):
889 """Ensure that distributions matching requirements
are activated
890
891 requirements
must be a string or a (possibly-nested) sequence
(...)
895 included, even if they were already activated in this working set.
896 """
--> 897 needed = self.resolve(parse_requirements(requirements))
899 for dist in needed:
900 self.add(dist)
File ~\Anaconda3\lib\site-packages\pkg_resources__init__.py:788, in WorkingSet.resolve(self, requirements, env, installer, replace_conflicting, extras) 785 if dist not in req: 786 # Oops, the "best" so far conflicts with a dependency 787 dependent_req = required_by[req] --> 788 raise VersionConflict(dist, req).with_context(dependent_req) 790 # push the new requirements onto the stack 791 new_requirements = dist.requires(req.extras)[::-1]
ContextualVersionConflict: (spacy 3.3.1 (c:\users\au576018\anaconda3\lib\site-packages), Requirement.parse('spacy<3.3.0,>=3.2.0'), {'dacy'})`
How do I solve this?
Hi @EaLindhardt, this issue does not seem related to the original post. I will create a new issue with it.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed automatically. Feel free to re-open it if it's important.
This issue is stale because it has been open for 14 days with no activity. Feel free to either 1) remove the stale label or 2) comment. If nothing happens, this will be closed in 7 days.
This issue was closed automatically. Feel free to re-open it if it's important.
When running:
I get the following warning:
Notably this this includes three warning, including SpaCy version, cuda device and matcher object (see also #72)
originally version sent to me by mail
Note: While this is a warning there, DaCy still works as intended. The version of spaCy does not influence model performance.