python - Import error for Oauth -


I'm working on the same code on Python windows OK I was working with, to update this program, I can not update ImportError: name to_native_string can not be imported I can update it, it can help me to understand why this error might be Has been there.

  Traceback (the most recent call final): The file "c: \ user \ inn \ desktop \ tweepy2 \ tweepy1.py", line 1,    

set your Request version.

is available after requests.utils.to_native_string request 2.0.0 .

Upgrading request will solve your problem with the latest version.


  C: \ Users \ falsetru> PIP installation request == 1.2.3 to download / unpack requests == 1.2.3 ... Cleansing successfully installed requests ... C: \ Users \ falsetru> python -c "request Import__ative_string ".atils from" tracebacks (most recent call final): File "& lt; string & gt;", line 1, & lt; Module & gt; ImportError: name to_native_string can not be imported C: \ Users \ falsetru & gt; Uninstall pip: -y request to uninstall request: successfully uninstalled requests C: \ users \ falsetru & gt; PIP installation request == 2.0.0 to download / unpack requests. Cleansing successfully installed requests ... C: \ Users \ falsetru & gt; Python -c "from requests. Tools import to_native_string" C: \ users \ falsetru & gt;    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -