Splunklib for Python 3.7 fails to install on my Windows machine.
Since pycrypto was not ported to Python 3, I've uninstalled it and installed pycrypodome as replacement.
Unfortunately, when trying to install splunklib, pip still tries to install pycrypto.
*Installing collected packages: pycrypto, splunklib
Running setup.py install for pycrypto ... *
Is there a way to force Python or pip to use pycryptodome instead of pycrypto?
I finally found the way to install it:
pycryptopip uninstall pycryptopip install pycryptodomepip install splunklib --no-depsEdit "pythonlib"\splunklib-1.0.0.dist-info\METADATA and replace "Requires-Dist: pycrypto" with "Requires-Dist: pycryptodome"
install splunk-sdk
pip install splunk-sdk
pip install splunklibIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With