Python2.4 was originally installed on the computer. This time, anaconda2.7 was re-downloaded in order to match the interface (official website: https://www.continuum.io/downloads ). 1. Install anaconda2.7 before starting. It is possible to continue to next during the installation process, and select "just me" at this step:
Then when choosing these two options, select both: the first is to add environment variables, and the second is to use Python 2.7 by default
After the installation is complete, win+R and then cmd to see if it is installed. You can try pip list to see which packages are installed.
2. After installation, we start to configure CommonSettings.props:
As when configuring the MATLAB interface, import the installation path of anaconda.
3. Open VS, compile pycaffe, and generate a solution:
After the compilation is complete, the following folders appear under release:
Just copy the caffe folder to D:\software\Anaconda2\Lib\site-packages.
4. Test import caffe in cmd:
Got the error: ImportError: No module named google.protobuf.internal
Install directly here: pip install protobuf
Retest after the installation is complete: it can be imported successfully, indicating that the configuration is successful