New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing 'requests' module #30
Comments
pip might be defaulting to python2. Try using |
I have the same problem. It can't find requests despite being installed for python3. Running on a Gentoo.
|
What if you purge the existing one and run:
? |
That is not possible on gentoo because it might break important system tools. I either use the --user flag or install the dev-python/requets package via emerge. |
Unfortunately, I don't use Gentoo myself. But I don't see how it's a problem with
|
Ok, I found out why it didn't work for me. pip installed requests for python3.5 but ddgr was run with python3.4... soo yea, enduser error by me... sorry |
tsurai Can you advise on how to implement your solution? |
He is saying you should run it as:
and try to figure out the correct python version for which pip3 installed requests module. I am closing the bug as it's not a ddgr issue. |
If you still face issues raise a defect on the requests/pip module to understand the installation better in your environment. |
Thanks people. I'm afraid I've just uninstalled ddgr, because I couldn't get it work. Have you, developer, considered making a 'flatpack' doogit of |
What's the output of the following commands:
For me, for example:
This way you would know the python versions installed for you. Also, as we can see from the first line, in my case, the symlink Now you can try to run using specific versions, for example:
|
Also, I did face issues with |
I guess the problem remains the same with urllib3 as it is also an external library. But using urllib or urllib2 will be reducing capabilities we may use later. So, I guess that's the best I can offer. If you are facing dependency issues on your distro you'll have to figure them out. And there are issues like this too! I can suggest:
|
@CottonEaster dependency on requests, urllib3 are gone for good in release v1.2. I believe you won't face any further issues with installation. |
It works! However, there is a small problem. I'll file it separately. EDIT: so you can close this thread. |
This problem might be with my python installation, but python seems to break so easily that, even if the problem is with my installation, others might have the same problem.
The problem is as follows.
sudo -H pip install requests
worked but did not prevent the above error message.Linux Mint Cinnamon 18.3 x64
EDIT: here are some relevant details of my system.
Also: compiling from the git source did not solve the problem.
FURTHER EDIT:
The text was updated successfully, but these errors were encountered: