(Detailed installation of python_pcl) python_pcl+windows+anaconda

        It is necessary to create a python version corresponding to the anaconda virtual environment according to the version of the existing python_pcl.whl file. Here, take the python_pcl-0.3.0rc1-cp37-cp37m-win_amd64.whl file as an example. You can judge the need to create according to the file name cp37 Anaconda-python3.7 environment. If you have other python_pcl.whl, you can also operate in a similar way.

Need python_pcl-0.3.0rc1-cp37-cp37m-win_amd64.whl, you can visit the following link to download:

Link: https://pan.baidu.com/s/1i6_sTE_lHoQSBkfScY3L9Q 
Extraction code: mlbx

python_pcl-0.3-cp36-cp36m-win_amd64.whl is required and can be downloaded from the link below:

Link: https://pan.baidu.com/s/1lssOiJt4mzK51Ua1j-r_rw 
Extraction code: mlbx

1. First, open pycharm and add an anaconda virtual environment corresponding to the python version. (If you already have a corresponding version of the virtual environment, you don’t need to add it. I will create a virtual environment called pythonProject3 here, the version is 3.7. Of course, you can enter the command line window through win+r and enter conda create -n pythonProject3 python =3.7 to create)

2. Put the whl file into the Script file of the virtual environment you created.

 

 3. Enter cmd directly in the search bar of this folder, and then press Enter to enter the command line window under this directory.

 4. Enter: pip install complete whl file name. If the following picture appears:

 The reason is that because of the poor quality of the python source in the domestic network, it is necessary to change the source to download. Add the address of the changed source later:

pip install complete whl file name -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

We found that there is a download bar, but it still reports an error. It doesn't matter because the network is unstable, we continue to enter the same command

I downloaded some more, just keep typing the same command repeatedly until it shows a successful installation. 

5. Check whether the installation is successful, enter cmd with win+r to enter the command line window, enter the name of the virtual environment created by activate, activate the virtual environment, and then enter pip list to view all libraries installed in the virtual environment and the corresponding version number. If you don't know which virtual environments exist or don't know the location of the virtual environment, you can enter conda env list.

Installing the PCL library by compiling the source code can be seen in my other blog, the link is as follows:

(Detailed PCL installation) PCL+python+windows+anaconda environment_No Li Buxing's Blog-CSDN Blog

Guess you like

Origin blog.csdn.net/xsh_roy/article/details/122179108