![]() |
Installing fuzzy wuzzy - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Installing fuzzy wuzzy (/thread-2569.html) |
Installing fuzzy wuzzy - terrancepython11 - Mar-25-2017 When I look online, I've read that fuzzy wuzzy is included in the pip library, and that to install fuzzy wuzzy you simply write: pip install fuzzywuzzybut whenever I try to do this in Python 3.6 IDLE, I get the error message: SyntaxError: invalid syntaxand it highlights the word install. Why can't I install Fuzzy Wuzzy? RE: Installing fuzzy wuzzy - snippsat - Mar-25-2017 It's not from IDLE,you run it from command line(cmd). Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. Med enerett. C:\Windows\System32>cd\ C:\>pip install fuzzywuzzy Collecting fuzzywuzzy Using cached fuzzywuzzy-0.15.0-py2.py3-none-any.whl Installing collected packages: fuzzywuzzy Successfully installed fuzzywuzzy-0.15.0 C:\>python Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import fuzzywuzzy >>> fuzzywuzzy.__version__ '0.15.0' RE: Installing fuzzy wuzzy - terrancepython11 - Mar-25-2017 >>> >pip install fuzzywuzzy File "<stdin>", line 1 >pip install fuzzywuzzy ^ SyntaxError: invalid syntax >>> C:\>pip install fuzzywuzzy File "<stdin>", line 1 C:\>pip install fuzzywuzzy ^ SyntaxError: unexpected character after line continuation character >>> pip install fuzzywuzzy File "<stdin>", line 1 pip install fuzzywuzzy ^ SyntaxError: invalid syntax >>>I'm still receiving a syntax error...? RE: Installing fuzzy wuzzy - micseydel - Mar-25-2017 You're still running it in a Python shell. You need to run it from the operating system's command prompt. RE: Installing fuzzy wuzzy - wavic - Mar-25-2017 Open the Command prompt and run: pip install fuzzywuzzy Not the Python interpreter or IDLE. Press win+r, type cmd, press Enter and you get it. http://www.digitalcitizen.life/7-ways-launch-command-prompt-windows-7-windows-8 RE: Installing fuzzy wuzzy - terrancepython11 - Mar-25-2017 Great, thanks, got it. Now does anyone have any advice on how to write a fuzzy lookup string parser for excel and .csv files :) RE: Installing fuzzy wuzzy - Larz60+ - Mar-25-2017 Read the docs: https://pypi.python.org/pypi/fuzzywuzzy/0.15.0 example: http://stackoverflow.com/questions/38969383/fuzzy-string-matching-in-python |