Hi All,
I am getting below-attached error while doing "Splunk restart" from cmd. Could you please help/suggest me the solution into this. Already tried the solution given in ref: https://answers.splunk.com/answers/542113/splunk-will-not-start-importerror-cannot-import-na.html, but no luck.
Thanks in advance.
Error in text:
Splunk> See your world. Maybe wish you hadn't.
Checking prerequisites...
Checking http port [8000]: open
Checking mgmt port [8089]: open
Checking appserver port [127.0.0.1:8065]: open
Checking kvstore port [8191]: open
Traceback (most recent call last):
File "C:\Program Files\Splunk\Python-2.7\Lib\site.py", line 62, in <module>
import os
File "C:\Program Files\Splunk\Python-2.7\Lib\os.py", line 400, in <module>
import UserDict
File "C:\Program Files\Splunk\Python-2.7\Lib\UserDict.py", line 116, in <modul
e>
import _abcoll
File "C:\Program Files\Splunk\Python-2.7\Lib\_abcoll.py", line 11, in <module>
from abc import ABCMeta, abstractmethod
File "C:\Program Files\Splunk\Python-2.7\Lib\abc.py", line 8, in <module>
from _weakrefset import WeakSet
ImportError: cannot import name WeakSet
... View more