1. The screenshot of the error report is as follows:
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:'C:\Users\Zep\Python_sdk-master.zip'
I first downloaded Python_sdk from the official website, and then directly put the Python_sdk folder Put it in the file directory of Anaconda3. I thought it would be normal after doing this import TencentYoutuyun
, but I found that it did n't work.
Two, the solution
1. First compress the Python_sdk file to generate the Python_sdk.zip file and place it in the file directory where Anaconda3 is located.
2. Win+R, enter cmd, open the command prompt window, and enter pip install Python_sdk.zip
Note: The format is pip install + your compression The name of the
file.zip 3. The command line shows Successfully installed TencentYoutuyun-1.0.0, which means that the installation is successful and it is normal import TencentYoutuyun
!