while downloading pip install allennlp==1.0.0 allennlp-models==1.0.0
I faced this problem :
[6 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
building 'srsly.msgpack._unpacker' 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 srsly
Failed to build thinc blis srsly
ERROR: Could not build wheels for srsly, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
I have downloaded : pip install -vvv torch , pip install numpy pip3 install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html and it still not working
I am using Python 3.10.2 win 11 pro
what should I do?
You have to install the python 3.9.10 version from python.org and after installtion upgrade your pip and everything will be sort .It is the problem in python 3.10.2 ...This method is working ,i was suffering from same problem in installing the turtle so i did that and error was solved.
https://visualstudio.microsoft.com/visual-cpp-build-tools/
Download and install or update
If you're using python3 image, this might help
RUN apk update
RUN apk add make automake gcc g++ subversion python3-dev
reference from Problems with pip install numpy - RuntimeError: Broken toolchain: cannot link a simple C program