问题
I am trying to setup lamp server
on my Fedora 27
. Referring this site, I am following every step, but running this command firewall-cmd --permanent --add-service=http
, here are the following errors I get
Traceback (most recent call last):
File "/usr/bin/firewall-cmd", line 31, in <module>
from firewall.client import FirewallClient, FirewallClientIPSetSettings, \
File "/usr/lib/python3.6/site-packages/firewall/client.py", line 29, in <module>
import slip.dbus
File "/usr/lib/python3.6/site-packages/slip/dbus/__init__.py", line 8, in <module>
from . import service
File "/usr/lib/python3.6/site-packages/slip/dbus/service.py", line 30, in <module>
from six import with_metaclass
ModuleNotFoundError: No module named 'six'
I reinstalled six
package, but still the same error message.
回答1:
You probably don't have the six Python module installed. You can find it on pypi
To install it:
$ easy_install six
If you have pip installed you can run $ pip install 'six'
来源:https://stackoverflow.com/questions/49490945/modulenotfounderror-no-module-named-six