Closed jodobear closed 4 years ago
You are probably missing something. Check the PATH variable for example.
Thank you!
Do you mean in the setup.py? It is either #!/usr/bin/python
or #!/usr/bin/python3
Output of $ which python
> /usr/bin/python
and for $ which python3
> /usr/bin/python3
I also do have anaconda installed. Could that be messing about? But, I don't think that should be an issue since, output of which python
..
[RESOLVED]:
DO NOT have a file of the same name as the package you are trying to import.
Learnt my lesson.
I am unable to import the package bitcoinrpc.
I have installed it in python2 and python3 using
python3 -m pip python-bitcoinrpc
/python -m pip python-bitcoinrpc
AND by cloning the repo and editing the python environment insetup.py
to my python2 and 3 path. Even after that I get the following errors:Python2:
ImportError: No module named authproxy
Python3:ModuleNotFoundError: No module named 'bitcoinrpc.authproxy'; 'bitcoinrpc' is not a package
Following is my code:
I have searched as much as i could but, cannot find anyting except for this bitcoin stackexchange question without an answer.
Is the setup broken or am I missing something?
Any help is appreciated. Thank you!