Error python packages version: RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported versionSelenium: FirefoxProfile exception Can't load the profileImportError with scipy/sklearn: `/usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv`failed in “sudo pip”ImportError at /admin/ in Django 1.9.4google cloud machine learning tutorial errorInstall tensorflow via pip but failed just as followsMatplotlib asks username when importedRequestsDependencyWarning: urllib3 (1.9.1) or chardet (2.3.0) doesn't match a supported versionbot.sendMessage and bot.sendPhoto giving errors when i terminate processWhy does python import a lower version of Numpy?
"The cow" OR "a cow" OR "cows" in this context
How to have a sharp product image?
What are the steps to solving this definite integral?
Can I criticise the more senior developers around me for not writing clean code?
Checks user level and limit the data before saving it to mongoDB
Aliens crash on Earth and go into stasis to wait for technology to fix their ship
What does ゆーか mean?
Which big number is bigger?
Minor Revision with suggestion of an alternative proof by reviewer
"You've called the wrong number" or "You called the wrong number"
acheter à, to mean both "from" and "for"?
Can an Area of Effect spell cast outside a Prismatic Wall extend inside it?
If a planet has 3 moons, is it possible to have triple Full/New Moons at once?
Contradiction proof for inequality of P and NP?
Can someone publish a story that happened to you?
Why does nature favour the Laplacian?
What happens to Mjolnir (Thor's hammer) at the end of Endgame?
How can I practically buy stocks?
Why must Chinese maps be obfuscated?
Relationship between strut and baselineskip
Can we say “you can pay when the order gets ready”?
Dynamic SOQL query relationship with field visibility for Users
Is there really no use for MD5 anymore?
How to display Aura JS Errors Lightning Out
Error python packages version: RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version
Selenium: FirefoxProfile exception Can't load the profileImportError with scipy/sklearn: `/usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv`failed in “sudo pip”ImportError at /admin/ in Django 1.9.4google cloud machine learning tutorial errorInstall tensorflow via pip but failed just as followsMatplotlib asks username when importedRequestsDependencyWarning: urllib3 (1.9.1) or chardet (2.3.0) doesn't match a supported versionbot.sendMessage and bot.sendPhoto giving errors when i terminate processWhy does python import a lower version of Numpy?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am a python newbie and I am trying to run https://github.com/epinna/tplmap
requirements.txt
PyYAML==3.12
certifi==2017.11.5
chardet==3.0.4
idna==2.6
requests==2.18.4
urllib3==1.22
wsgiref==0.1.2
After downloading the project from Github I run sudo pip intall -r requirements.txt
and when I try to run the tplmap.py file I get this error
$ ./tplmap.py -u 'localhost:3000'
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File "./tplmap.py", line 3, in <module>
from core import checks
File "/home/amion/Desktop/tplmap-master/core/checks.py", line 20, in <module>
from core.channel import Channel
File "/home/amion/Desktop/tplmap-master/core/channel.py", line 1, in <module>
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 90, in <module>
from urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning
I look at /usr/local/lib/python2.7/dist-packages/requests/__init__.py
file and see:
# urllib3 >= 1.21.1, <= 1.22
# chardet >= 3.0.2, < 3.1.0
If I run pip freeze I see:
chardet==3.0.4
requests==2.18.4
urllib3==1.22
I don't understand this message, where do those version numbers come form? what I am missing?
RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
python version requirements.txt
add a comment |
I am a python newbie and I am trying to run https://github.com/epinna/tplmap
requirements.txt
PyYAML==3.12
certifi==2017.11.5
chardet==3.0.4
idna==2.6
requests==2.18.4
urllib3==1.22
wsgiref==0.1.2
After downloading the project from Github I run sudo pip intall -r requirements.txt
and when I try to run the tplmap.py file I get this error
$ ./tplmap.py -u 'localhost:3000'
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File "./tplmap.py", line 3, in <module>
from core import checks
File "/home/amion/Desktop/tplmap-master/core/checks.py", line 20, in <module>
from core.channel import Channel
File "/home/amion/Desktop/tplmap-master/core/channel.py", line 1, in <module>
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 90, in <module>
from urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning
I look at /usr/local/lib/python2.7/dist-packages/requests/__init__.py
file and see:
# urllib3 >= 1.21.1, <= 1.22
# chardet >= 3.0.2, < 3.1.0
If I run pip freeze I see:
chardet==3.0.4
requests==2.18.4
urllib3==1.22
I don't understand this message, where do those version numbers come form? what I am missing?
RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
python version requirements.txt
try runningpip install -r requirements.txt
withoutsudo
– wpercy
Mar 22 at 17:41
1
@wpercy I uninstalled all the requirements and installed them without sudo and with the --user option after deleting urlib3 and chardet from /usr/lib/python2.7/dist-packages and it worked
– ruit
Mar 22 at 17:52
add a comment |
I am a python newbie and I am trying to run https://github.com/epinna/tplmap
requirements.txt
PyYAML==3.12
certifi==2017.11.5
chardet==3.0.4
idna==2.6
requests==2.18.4
urllib3==1.22
wsgiref==0.1.2
After downloading the project from Github I run sudo pip intall -r requirements.txt
and when I try to run the tplmap.py file I get this error
$ ./tplmap.py -u 'localhost:3000'
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File "./tplmap.py", line 3, in <module>
from core import checks
File "/home/amion/Desktop/tplmap-master/core/checks.py", line 20, in <module>
from core.channel import Channel
File "/home/amion/Desktop/tplmap-master/core/channel.py", line 1, in <module>
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 90, in <module>
from urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning
I look at /usr/local/lib/python2.7/dist-packages/requests/__init__.py
file and see:
# urllib3 >= 1.21.1, <= 1.22
# chardet >= 3.0.2, < 3.1.0
If I run pip freeze I see:
chardet==3.0.4
requests==2.18.4
urllib3==1.22
I don't understand this message, where do those version numbers come form? what I am missing?
RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
python version requirements.txt
I am a python newbie and I am trying to run https://github.com/epinna/tplmap
requirements.txt
PyYAML==3.12
certifi==2017.11.5
chardet==3.0.4
idna==2.6
requests==2.18.4
urllib3==1.22
wsgiref==0.1.2
After downloading the project from Github I run sudo pip intall -r requirements.txt
and when I try to run the tplmap.py file I get this error
$ ./tplmap.py -u 'localhost:3000'
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File "./tplmap.py", line 3, in <module>
from core import checks
File "/home/amion/Desktop/tplmap-master/core/checks.py", line 20, in <module>
from core.channel import Channel
File "/home/amion/Desktop/tplmap-master/core/channel.py", line 1, in <module>
import requests
File "/usr/local/lib/python2.7/dist-packages/requests/__init__.py", line 90, in <module>
from urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning
I look at /usr/local/lib/python2.7/dist-packages/requests/__init__.py
file and see:
# urllib3 >= 1.21.1, <= 1.22
# chardet >= 3.0.2, < 3.1.0
If I run pip freeze I see:
chardet==3.0.4
requests==2.18.4
urllib3==1.22
I don't understand this message, where do those version numbers come form? what I am missing?
RequestsDependencyWarning: urllib3 (1.7.1) or chardet (2.0.1) doesn't match a supported version!
python version requirements.txt
python version requirements.txt
asked Mar 22 at 17:38
ruitruit
1
1
try runningpip install -r requirements.txt
withoutsudo
– wpercy
Mar 22 at 17:41
1
@wpercy I uninstalled all the requirements and installed them without sudo and with the --user option after deleting urlib3 and chardet from /usr/lib/python2.7/dist-packages and it worked
– ruit
Mar 22 at 17:52
add a comment |
try runningpip install -r requirements.txt
withoutsudo
– wpercy
Mar 22 at 17:41
1
@wpercy I uninstalled all the requirements and installed them without sudo and with the --user option after deleting urlib3 and chardet from /usr/lib/python2.7/dist-packages and it worked
– ruit
Mar 22 at 17:52
try running
pip install -r requirements.txt
without sudo
– wpercy
Mar 22 at 17:41
try running
pip install -r requirements.txt
without sudo
– wpercy
Mar 22 at 17:41
1
1
@wpercy I uninstalled all the requirements and installed them without sudo and with the --user option after deleting urlib3 and chardet from /usr/lib/python2.7/dist-packages and it worked
– ruit
Mar 22 at 17:52
@wpercy I uninstalled all the requirements and installed them without sudo and with the --user option after deleting urlib3 and chardet from /usr/lib/python2.7/dist-packages and it worked
– ruit
Mar 22 at 17:52
add a comment |
1 Answer
1
active
oldest
votes
I deleted urlib3 and chardet directories from /usr/lib/python2.7/dist-packages
Then I uninstalled all the requirements from the requirements.txt file and installed them again without sudo and with the --user option
cd /usr/lib/python2.7/dist-packages
sudo rm -r urllib3/
sudo rm -r chardet/
cd /home/amion/Desktop/tplmap-master
sudo pip uninstall -r requirements.txt
pip install -r requirements.txt --user
It seems tplmap.py was trying to work with urllib3 and chardet from directory
/usr/lib/python2.7/dist-packages
and not from directory
/usr/local/lib/python2.7/dist-packages
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55305073%2ferror-python-packages-version-requestsdependencywarning-urllib3-1-7-1-or-cha%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I deleted urlib3 and chardet directories from /usr/lib/python2.7/dist-packages
Then I uninstalled all the requirements from the requirements.txt file and installed them again without sudo and with the --user option
cd /usr/lib/python2.7/dist-packages
sudo rm -r urllib3/
sudo rm -r chardet/
cd /home/amion/Desktop/tplmap-master
sudo pip uninstall -r requirements.txt
pip install -r requirements.txt --user
It seems tplmap.py was trying to work with urllib3 and chardet from directory
/usr/lib/python2.7/dist-packages
and not from directory
/usr/local/lib/python2.7/dist-packages
add a comment |
I deleted urlib3 and chardet directories from /usr/lib/python2.7/dist-packages
Then I uninstalled all the requirements from the requirements.txt file and installed them again without sudo and with the --user option
cd /usr/lib/python2.7/dist-packages
sudo rm -r urllib3/
sudo rm -r chardet/
cd /home/amion/Desktop/tplmap-master
sudo pip uninstall -r requirements.txt
pip install -r requirements.txt --user
It seems tplmap.py was trying to work with urllib3 and chardet from directory
/usr/lib/python2.7/dist-packages
and not from directory
/usr/local/lib/python2.7/dist-packages
add a comment |
I deleted urlib3 and chardet directories from /usr/lib/python2.7/dist-packages
Then I uninstalled all the requirements from the requirements.txt file and installed them again without sudo and with the --user option
cd /usr/lib/python2.7/dist-packages
sudo rm -r urllib3/
sudo rm -r chardet/
cd /home/amion/Desktop/tplmap-master
sudo pip uninstall -r requirements.txt
pip install -r requirements.txt --user
It seems tplmap.py was trying to work with urllib3 and chardet from directory
/usr/lib/python2.7/dist-packages
and not from directory
/usr/local/lib/python2.7/dist-packages
I deleted urlib3 and chardet directories from /usr/lib/python2.7/dist-packages
Then I uninstalled all the requirements from the requirements.txt file and installed them again without sudo and with the --user option
cd /usr/lib/python2.7/dist-packages
sudo rm -r urllib3/
sudo rm -r chardet/
cd /home/amion/Desktop/tplmap-master
sudo pip uninstall -r requirements.txt
pip install -r requirements.txt --user
It seems tplmap.py was trying to work with urllib3 and chardet from directory
/usr/lib/python2.7/dist-packages
and not from directory
/usr/local/lib/python2.7/dist-packages
answered Mar 22 at 17:57
ruitruit
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55305073%2ferror-python-packages-version-requestsdependencywarning-urllib3-1-7-1-or-cha%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
try running
pip install -r requirements.txt
withoutsudo
– wpercy
Mar 22 at 17:41
1
@wpercy I uninstalled all the requirements and installed them without sudo and with the --user option after deleting urlib3 and chardet from /usr/lib/python2.7/dist-packages and it worked
– ruit
Mar 22 at 17:52