
Download the relevant components

To solve







Appears during FETCH V8
E:\GitProject\svn_v8>fetch v8
Running: 'E:\GitProject\libcef\depot_tools\python276_bin\python.exe' 'E:\GitProj
ect\libcef\depot_tools\gclient.py' root
Traceback (most recent call last):
File "E:\GitProject\libcef\depot_tools\\fetch.py", line 353, in <module>
sys.exit(main())
File "E:\GitProject\libcef\depot_tools\\fetch.py", line 348, in main
return run(options, spec, root)
File "E:\GitProject\libcef\depot_tools\\fetch.py", line 342, in run
return checkout.init()
File "E:\GitProject\libcef\depot_tools\\fetch.py", line 134, in init
self.run_gclient('config', '--spec', self._format_spec())
File "E:\GitProject\libcef\depot_tools\\fetch.py", line 76, in run_gclient
return self.run(cmd_prefix + cmd, **kwargs)
File "E:\GitProject\libcef\depot_tools\\fetch.py", line 63, in run
print 'Running: %s' % (' '.join(pipes.quote(x) for x in cmd))
LookupError: unknown encoding: cp65001
LookupError: unknown encoding: cp65001
This error can be solved by changing the encoding mode:
chcp 1252
You can also set the default character encoding
HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe\CodePage by modifying the registry CodePage value
A long time ago in their own Tencent cloud server to take a Discuz forum to play, the results today accidentally opened and found the wrong report!

LookupError: Couldn’t find path to unrar library.
Mean to find unrar library paths, here we need to download the unrar library, in fact it is unrar. DLL this stuff, download url: http://www.rarlab.com/rar/UnRARDLL.exe or go to http://www.rarlab.com/rar_add.htm to find unrar. DLL download, should the need to compile under lunix.
The second step:
C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = C:\Program Files (x86)\UnrarDLL = unrar.lib
Reproduced in: https://www.cnblogs.com/sea-stream/p/10329794.html
Appear this kind of circumstance, because unrar there is dependent on a file unrar. DLL code> download address
when the download is complete must be installed in the default code> folder
then will pop up after the completion of the installation folder,
C:\Program Files (x86)\ Unrardll \x64
br> a>
>
<>bb4
C:\Program Files (x86)\ Unrardll \x64
C:\Program Files (x86)\ Unrardll \x64
The original link: https://blog.csdn.net/ysy950803/article/details/52939708
Win:
Linux needs to manually compile and generate the SO file itself, which is a bit more cumbersome:
Sudo apt-get install g++ : sudo apt-get install g++ : sudo apt-get install g++ : sudo apt-get install g++ : sudo apt-get install
Source: author: acerola
CSDN
,
https://blog.csdn.net/ysy950803/article/details/52939708 copyright statement: this article original articles for bloggers, reproduced please attach link to blog!
The reason is that XLRD was recently updated to version 2.0.1 and only supports.xls files. So Pandas. Read_Excel (‘ xxx.xlsx ‘) will return an error.
You can install an older version of XLRD and run it in CMD:
PIP uninstall XLRD
PIP install XLRD ==1.2.0
You can also open the.xlsx file with OpenPyXL instead of XLRD:
Df = pandas read_excel (‘ data. XLSX, engine = ‘openpyxl)
Problem description
I just started to learn PHP, and the system environment is Ubuntu+PHP7.0+Mysql5.7+Apache2.
running a database connection test sample error:
[client 127.0.0.1:37496] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/test.php:2\nStack trace:\n#0 {main}\n thrown in /var/www/html/test.php on line 2
The sample code is:
<?PHP
$conn=mysql_connect("localhost","root","root");
if($conn){
echo"ok";
}else{
echo"error";
}
?>
The solution
The mysql_connect() function has been deprecated since PHP5.0. In PHP 7.0 it has been deprecated and replaced with this function:
mysqli_connect();
Usage is:
$con=mysqli_connect("localhost","my_user","my_password","my_db");
The description of the official connection: http://php.net/manual/en/function.mysqli-connect.php
the correct test code:
<?PHP
$conn=mysqli_connect("localhost","root","root");
if($conn){
echo"ok";
}else{
echo"error";
}
?>
conclusion
Linux local files are uploaded to the server
SCP/home/liujia/file. TXT [email protected]:1/user/liujia
Download the file from the server
[email protected]:/user/liujia/file1. TXT/home/liujia
The command
SCP [email protected]:/user/liujia// home/liujia
Cp not a regular file
The reason is that this is the equivalent of downloading folders, not files.
The solution is to add the parameter -r
SCP – r [email protected]:/user/liujia// home/liujia font>
That’s it