Skip to content
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

Error in building 'spacy.training.example' extension #17

Open
Enakshi-1998 opened this issue Jul 13, 2022 · 5 comments
Open

Error in building 'spacy.training.example' extension #17

Enakshi-1998 opened this issue Jul 13, 2022 · 5 comments

Comments

@Enakshi-1998
Copy link

 building 'spacy.training.example' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for spacy
Failed to build spacy
ERROR: Could not build wheels for spacy, which is required to install pyproject.toml-based projects

I already have Microsoft Visual C++ 14.0 installed in my system. I can't figure out what is pyproject.toml-based projects and how to install them.

@ShweataNHegde
Copy link
Collaborator

I think you must have followed this: https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst.

Which Python version are you running? I had a similar problem when I used 3.10. I had to downgrade mine to 3.8. Can you try that?

@ShweataNHegde
Copy link
Collaborator

Alternatively, I can remove scispacy from the dependency, since we don't use it all the time.

@Enakshi-1998
Copy link
Author

I have python 3.10 installed in my system. I will try to downgrade it.

@petermr
Copy link
Owner

petermr commented Jul 13, 2022 via email

@Enakshi-1998
Copy link
Author

I have downgraded it. Now, this issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants