pip install lxml
to install mmcv-full requires the following command:
pip uninstall mmcv mmcv-full
git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
MMCV_WITH_OPS=1 pip install -e .
the following error occurred while performing the last step:
command 'gcc' failed with exit status 4
so the solution:
1, check to see if disk space is sufficient
2. p>
pip install lxml
p>
div>
Can’t exec “aclocal”: No such file or directory
Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
p>
installation
automake
div>
Unit error assertion failed on expression
The
error occurs when you write to an editor, such as the log redirection described earlier, and occurs when you double-click.
problem is solved by locating the specific code, and then delaying the execution of this line of code. The delay time is when the editor GUI is updated, there is a corresponding callback in unity, and the code can be executed by putting it in the callback. For example, the log redirection corresponds to the following change:
EditorApplication.delayCall = delegate(){ AssetDatabase.OpenAsset(obj, line); };
- 1
The action ‘install’ for product ‘MySQL server 5.7.19’ failed
The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.
attempted to uninstall the file, it was useless to reinstall, finally found a solution:
32 Visual C++ Redistributable Packages for Visual Studio 2013!! 32 bit . Even if your computer is 64 bit
installation site: span> https://www.microsoft.com/zh-cn/download/details.aspx?id=40784
although do not know why, but the problem has been solved, mysql service installed successfully.
MySQL installation: http://jingyan.baidu.com/article/cd4c2979033a17756f6e6047.html span>
span> p>
reproduced from http://blog.csdn.net/JINsweet/article/details/78110835?locationNum=5
(Virtual machine monitor failed and Virtual ethernet failed)
after installing the win10 virtual machine on the ubuntu20.04 host by VM Workstation Pro, some errors occur when you first boot:
VMWare Virtual Machine Monitor Failed
The
link may help you, it has solved my problem :
click this link
you may not know the following operations :
so see this link :
how to disable secure boot in my BIOS
When
has completed all operations, execute this command :
vmware-modconfig --console --install-all
if this page appears :
congratulations, you have succeeded!
Error occurred when Oracle started controltc. Startservicectrldispatcher failed with err 1063
1. First, set IP
in Hosts
2. Named rows run: net start OracleDBConsoleTC
Solution: error dllregisterserver in iviewers failed when opening OLEVIEW
run oleview.exe with administrator privileges (Visual Studio Tools\VS20XX developer command prompt -> Run with administrator privileges -& GT; Enter OleView)
http://stackoverflow.com/questions/7621461/dllregisterserver-in-iviewers-failed
python:urllib2.URLError urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
is now ubiquitous for sites that begin with HTTPS, and urllib2 can request SSL certificates for HTTPS, just like a web browser, if the site’s SSL certificate is CA certified, it can be accessed normally,
if SSL certificate authentication fails, or if the operating system does not trust the server’s security certificate, such as when the browser visits the 12306 site, it warns the user that the certificate is not trusted. (it is said that 12306 website certificate is done by oneself, did not pass CA authentication)
warns the user that the certificate is not trusted
urllib2 will report SSLError when accessing:
import urllib2
url = "https://www.12306.cn/mormhweb/"
headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"}
request = urllib2.Request(url, headers = headers)
response = urllib2.urlopen(request)
print response.read()
operation results:
urllib2.URLError: < urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
therefore, if we encounter such a site in the future, we need to process SSL certificates separately, let the program ignore SSL certificate validation errors, can be normal access.
import urllib
import urllib2
# 1. 导入Python SSL处理模块
import ssl
# 2. 表示忽略未经核实的SSL证书认证
context = ssl._create_unverified_context()
url = "https://www.12306.cn/mormhweb/"
headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"}
request = urllib2.Request(url, headers = headers)
# 3. 在urlopen()方法里 指明添加 context 参数
response = urllib2.urlopen(request, context = context)
print response.read()
Summary: the solution includes the following two ways:
1. Use SSL to create an unauthenticated context, passing in the context parameter
in urlopen
import ssl
import urllib2
context = ssl._create_unverified_context()
print urllib2.urlopen("https://www.12306.cn/mormhweb/", context=context).read()
2. Global cancel certificate validation
import ssl
import urllib2
ssl._create_default_https_context = ssl._create_unverified_context
print urllib2.urlopen("https://www.12306.cn/mormhweb/").read()
About CA
strong> strong> p>
CA(Certificate Authority) is the short name of digital Certificate certification Authority, which refers to a trusted third-party organization that issues, manages and abolishes digital certificates,
The
CA checks the legitimacy of the certificate holder’s identity and issues certificates to prevent certificates from being forged or tampered with, as well as to manage certificates and keys.
id can be used to prove identity in real life, so in the network world, digital certificate is id. Different from the real life, not every Internet user has a digital certificate, often only when a person needs to prove their identity to use the digital certificate.
the average user generally does not need, because the website does not care who visits the website, now the website only CARES about the traffic. But in turn, the site needs to prove its identity.
p>
p>
p>
ln: failed to create symbolic link ‘/usr/bin/pip’: File exists
- problem description:
ln -s /usr/local/bin/pip3 /usr/bin/pip
in centos7, to set the soft links to such problems: p>
problem means that the file already exists, but after deletion, the
is still prompted
- solution: override the previous
ln -sf /usr/local/bin/pip3 /usr/bin/pip
-f,——强制删除已存在的目标文件
Gms2 (gamemaker Studio 2) running problems encountered in the project
recently used GMS2 There were a few problems when I started running the official Demo, so let's focus on the solutionFAILED: Run Program Complete
There is an error running Demo directly under Win10:C:\Windows\system32\cmd.exe exited with non-zero status (1) elapsed time 00:00:02.5630000s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.1.16/bin/Igor.exe" -options="C:\Users\Kaiser\AppData\Local\Temp\GameMakerStudio2\build.bff" -- Windows Run started at 02/12/2017 20:25:49 FAILED : Run Program Complete
This is a problem with the running environment installation, which may be related to antivirus software or system permissions. Solutions:
file/prefrences/feeds/master code> to download the latest Runtime, if is the latest delete reshipment li>
- close to kill soft li>
- with administrator privileges to open GMS2 li> ol>
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
This is also a typical installation environment failure problem
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.1.16/windows/Runner.exe -game "C:\Users\Dave\AppData\Local\Temp\GameMakerStudio2\Test_50CBC7E2\Test.win" System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Igor.Command.ExecuteCommandSync(String _command, String _args, Boolean _fail_on_error, String _cwd, Dictionary`2 _env, Boolean as_admin) in c:\hudson\ZeusBase\ZeusGreen\GameMaker\Zeus\Igor\Program.cs:line 64 at Igor.WindowsBuilder.Run() in c:\hudson\ZeusBase\ZeusGreen\GameMaker\Zeus\Igor\Builders\WindowsBuilder.cs:line 144 elapsed time 00:00:03.6157316s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.1.16/bin/Igor.exe" -options="C:\Users\Dave\AppData\Local\Temp\GameMakerStudio2\build.bff" -- Windows Run started at 11/17/2016 12:29:14 AM
和第一个问题一样,Runtime安装失败,步骤类似可以使用同样的方法解决
关于无法创建Temp文件夹
这个比较特别可能是没有对应磁盘的文件,GMS1曾经尝试在C盘根目录创建游戏文件失败,可以将临时文件修改为其他磁盘解决问题
如图修改:
查看原文:http://www.51xyyx.com/3226.html
div>
Error:Failed to notify project evaluation listener.
when the plug-in flutter is done, Error:No such property: gradsion for class: JetGradlePlugin is reported when linking two modules. Error, then according to
compare and modify gradle version number in classpath and gradle.properties before distributionUrl.
, but then Error:Failed to notify project evaluation listener. The problem was found by query that classpath and distributionUrl were not the same between Module and the main project.
little problem takes a long time, problem log.
FTP use get command 550 failed to open file, but use the put command to solve the problem
when using the FTP anonymous service, it is ok to upload files using the PUT command, but 550 Failed to open file appears using the get command, because the downloaded file does not have permissions
problem:
ftp> Get 2.txt
local: 2.txt remote: 2.txt
. TXT
227 Entering the Mode (192,168,8,35,231,233)
solution:
CD /var/ftp/pub
chmod 777 2.txt
results :
ftp> Get 2.txt
local: 2.txt remote: 2.txt
(192,168, 35,135,27).
150 Opening BINARY Mode data connection for 2. TXT (0 bytes)