Open MatYRicS opened 4 years ago
Is requests installed globally?
Is requests installed globally?
Yes.
$ sudo -H pip list
Package Version
---------- ----------
certifi 2019.11.28
chardet 3.0.4
httpie 2.0.0
idna 2.9
pip 20.0.2
Pygments 2.5.2
requests 2.23.0
setuptools 41.2.0
urllib3 1.25.8
When you go to BitBar in the menu, are you getting the error once you click on the warning symbol?
Can you try installing it with pip3
instead of pip
?
Can you try installing it with
pip3
instead ofpip
?
$ sudo -H pip3 list
Package Version
---------- ----------
certifi 2019.11.28
chardet 3.0.4
httpie 2.0.0
idna 2.9
pip 20.0.2
Pygments 2.5.2
requests 2.23.0
setuptools 41.2.0
urllib3 1.25.8
Maybe sudo easy_install -U requests
?
Did that work?
Did that work?
No :(
If I try and run the script with the full path it dosen't work:
/Users/bigmac/Library/Mobile\ Documents/com~apple~CloudDocs/Dev/BitBar\ plugins/coronavirus.py
Seems like bitbar is running the script like that^
Do you get the same error?
If so, try uninstalling and re-installing requests.
Any update on this?
I have requests installed but BitBar keeps telling me that I need to install the module.
I'm using pyenv with Python 3.8.0 and Pip version 20.0.2
The script is working from the terminal: