You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Conda install of Python 2.7 on Windows 64bit.
python -m spacy download en yields the following error:
File "C:\Anaconda2\lib\site-packages\pathlib.py", line 1167, in symlink_to
self._accessor.symlink(target, self, target_is_directory)
TypeError: symlink() takes exactly 3 arguments (4 given)
Screenshot:
Found old thread that suggested to comment out the line in pathlib.py's symlink_to function. This allows the download to complete, but then the data folder is empty, resulting in error: No such file or directory: 'C:\Anaconda2\lib\site-packages\spacy\data\en\vocab\strings.json'
The data directory indeed does not contain the "en" subfolder.
The text was updated successfully, but these errors were encountered:
I think this may indeed be related to the pathlib bug or more generally, symlink issues on Windows (see #909). This is already fixed on master – if Windows and Python 2 is detected, it now uses mklink.
This fix will be included in the next release, coming very soon. In the meantime, you can either use the spaCy version currently on master, copy-paste the model data directory into spacy/data, or set up the symlink manually. spacy.load('model_name') will look for a directory or symlink of that name in spacy/data.
Using Conda install of Python 2.7 on Windows 64bit.
python -m spacy download en yields the following error:
File "C:\Anaconda2\lib\site-packages\pathlib.py", line 1167, in symlink_to
self._accessor.symlink(target, self, target_is_directory)
TypeError: symlink() takes exactly 3 arguments (4 given)
Screenshot:
Found old thread that suggested to comment out the line in pathlib.py's symlink_to function. This allows the download to complete, but then the data folder is empty, resulting in error: No such file or directory: 'C:\Anaconda2\lib\site-packages\spacy\data\en\vocab\strings.json'
The data directory indeed does not contain the "en" subfolder.
The text was updated successfully, but these errors were encountered: