question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

c1xx: fatal error C1083: Cannot open source file: 'spacy/parts_of_speech.cpp': No such file or directory

See original GitHub issue

I followed steps exactly the same way mentioned in https://spacy.io/usage/ for installing spaCy from Source on Windows machine. Below are the commands: $ git clone https://github.com/explosion/spaCy $ cd spaCyset PYTHONPATH=/path/to/spaCy $ pip install -r requirements.txt $ python setup.py build_ext --inplace

I’m getting below error for $ python setup.py build_ext --inplace

Cythonizing sources
Processing attrs.pyx
Processing gold.pyx
Processing lexeme.pyx
Processing matcher.pyx
Processing morphology.pyx
Processing parts_of_speech.pyx
Processing pipeline.pyx
Processing strings.pyx
Processing symbols.pyx
Processing tokenizer.pyx
Processing typedefs.pyx
Processing vectors.pyx
Processing vocab.pyx
Processing arc_eager.pyx
warning: arc_eager.pyx:421:25: Not all members given for struct 'Transition'
warning: arc_eager.pyx:421:25: Not all members given for struct 'Transition'
Processing ner.pyx
warning: ner.pyx:157:29: Not all members given for struct 'Transition'
warning: ner.pyx:157:29: Not all members given for struct 'Transition'
warning: ner.pyx:159:29: Not all members given for struct 'Transition'
warning: ner.pyx:159:29: Not all members given for struct 'Transition'
warning: ner.pyx:172:29: Not all members given for struct 'Transition'
warning: ner.pyx:172:29: Not all members given for struct 'Transition'
Processing nn_parser.pyx
Processing nonproj.pyx
Processing stateclass.pyx
Processing transition_system.pyx
Processing _beam_utils.pyx
Processing _state.pyx
Processing doc.pyx
Processing span.pyx
Processing token.pyx
Processing _retokenize.pyx
running build_ext
building 'spacy.parts_of_speech' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\spacy
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\Anaconda3\include" -IC:\Windows\System32\spaCy\include "-IC:\Program Files\Anaconda3\include" "-IC:\Program Files\Anaconda3\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\\winrt" /EHsc /Tpspacy/parts_of_speech.cpp /Fobuild\temp.win-amd64-3.6\Release\spacy/parts_of_speech.obj /Ox /EHsc
parts_of_speech.cpp
c1xx: fatal error C1083: Cannot open source file: 'spacy/parts_of_speech.cpp': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

Your Environment

  • Operating System: Windows 10
  • Python Version Used: Python 3.6.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
GeethanjaliSriramcommented, Jul 17, 2018

Thanks. Yes you are right. The version mentioned in about.py is “0.101.0”. Below is the content of about.py and I main.py file is not present.

title = ‘spacy’ version = ‘0.101.0’ summary = ‘Industrial-strength NLP’ uri = ‘https://spacy.ioauthor = ‘Matthew Honnibal’ email = ‘matt@spacy.io’ license = ‘MIT’ models = { ‘en’: ‘en>=1.1.0,<1.2.0’, ‘de’: ‘de>=1.0.0,<1.1.0’, }

0reactions
lock[bot]commented, Oct 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Error C1083: Cannot open source file" Shouldn't Be Looking ...
Error is caused by settings in *.vcxproj file. Probably you deleted/moved source file by file explorer, not by Visual Studio's "Solution ...
Read more >
c1xx : fatal error C1083: Cannot open source file [Even though ...
Program Files\Microsoft DirectX SDK (June 2010)\Samples\C++\DXUT\Core\DXUT.cpp': No such file or directory 1> DXUTcamera.cpp (TaskId:29) ...
Read more >
Problem with compile C++ project - "c1xx : fatal error C1083:"
Hi, I have problem with compile C++ project. ... c1xx : fatal error C1083: Cannot open source file: 'C:\Program Files ... No such...
Read more >
Visual Studio 2017 fatal error C1083: Cannot open source file
An additional cause of this error is case-sensitivity in the file system, either for the file name or path, if per directory case...
Read more >
fatal error C1083: Cannot open source file - MathWorks
\Program Files\MATL​AB\R2017a\​rtw\c\src\​common\rt_​main.c': No such file or directory [Using Code Generation in Simulink]. Follow. 27 views ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found