Solving fastdfs in Windows Environment_ Client installation error, error: Microsoft Visual C + + 14.0 is required

Problem recurrence:

building ‘fdfs_ client.sendfile’ extension
error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com/visual-cpp-build-tools

Cause analysis:

You cannot PIP install FDFS directly under windows_ client_ py-1.2.6-py3.8.egg

resolvent:

1. First set FDFS_ client_ Py-1.2.6-py3.8.egg decompression

2. Then find FDFS_ Setup.py in the client py master directory

Comment out lines 34 and 35, as shown in the figure below:

3. Find FDFS again_ Storage under client directory_ client.py

Line 12 of note is shown in the figure:

4. Finally, find the directory where setup.py is located and execute

python setup.py install

You can find the installed FDFS in the interpreter in pycharm’s settings_ client_ py

5. Install the dependent packages mutagen and requests

pip install   mutagen

pip install   requests

Similar Posts: