所以我刚刚安装了linux,并开始摆弄apache,php,mysql,我在创建数据库时遇到了这个错误。我找不到答案,所以我希望你们能帮助我。
max@MaxLNX:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 67
Server version: 5.5.47-0ubuntu0.14.04.1 (Ubuntu)
Copyright (c) 200
我想检查程序是否正在运行,所以我搜索并尝试了,方法如下:
import psutil
if "notepad.exe" in (p.name() for p in psutil.process_iter()):
print('program is running')
else:
print('not running')
但是我得到了这个错误:
During handling of the above exception, another exception occurred:
Traceback (most recent cal
当我使用这个命令时:
root:~# systemctl
产出如下:
System has not been booted with systemd as init system (PID 1). Can't operate
这个问题发生在"Kali Linux“和"Debian 9”中,我如何解决这个问题?