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:
pycrypto
pip uninstall pycrypto
pip install pycryptodome
pip install splunklib --no-deps
Edit "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 splunklib
If 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