fuzzyset icon indicating copy to clipboard operation
fuzzyset copied to clipboard

Problem while trying to install it

Open Stefan2142 opened this issue 5 years ago • 0 comments

This is the output when I run "pip3 install fuzzyset". How can I fix it? Same happened with the command provided on "pypi" and using easy_install

C:\Users\stefa\AppData\Local\Programs\Python\Python37-32\Scripts>pip3 install fuzzyset
Collecting fuzzyset
  Using cached https://files.pythonhosted.org/packages/2e/78/7509f3efbb6acbcf842d7bdbd9a919ca8c0ed248123bdd8c57f08497e0dd/fuzzyset-0.0.19.tar.gz
Requirement already satisfied: python-levenshtein in c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages (from fuzzyset) (0.12.0)
Requirement already satisfied: texttable in c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages (from fuzzyset) (1.6.2)
google-search-api 1.1.14 has requirement selenium<3.0.0,>=2.44.0, but you'll have selenium 3.141.0 which is incompatible.
Installing collected packages: fuzzyset
  Running setup.py install for fuzzyset ... error
    Complete output from command c:\users\stefa\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\stefa\\AppData\\Local\\Temp\\pip-install-gku7y1sj\\fuzzyset\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\stefa\AppData\Local\Temp\pip-record-77gvau5_\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.7
    creating build\lib.win32-3.7\fuzzyset
    copying fuzzyset\__init__.py -> build\lib.win32-3.7\fuzzyset
    running build_ext
    building 'cfuzzyset' extension
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\stefa\AppData\Local\Temp\pip-install-gku7y1sj\fuzzyset\setup.py", line 70, in <module>
        **extra_kwargs
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\command\install.py", line 545, in run
        self.run_command('build')
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\build_ext.py", line 84, in run
        _build_ext.run(self)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\command\build_ext.py", line 339, in run
        self.build_extensions()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\command\build_ext.py", line 448, in build_extensions
        self._build_extensions_serial()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
        self.build_extension(ext)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\command\build_ext.py", line 205, in build_extension
        _build_ext.build_extension(self, ext)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\command\build_ext.py", line 533, in build_extension
        depends=ext.depends)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\_msvccompiler.py", line 345, in compile
        self.initialize()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\distutils\_msvccompiler.py", line 238, in initialize
        vc_env = _get_vc_env(plat_spec)
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\msvc.py", line 171, in msvc14_get_vc_env
        return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\msvc.py", line 1620, in return_env
        if self.vs_ver >= 14 and isfile(self.VCRuntimeRedist):
      File "c:\users\stefa\appdata\local\programs\python\python37-32\lib\genericpath.py", line 30, in isfile
        st = os.stat(path)
    TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

    ----------------------------------------
Command "c:\users\stefa\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\stefa\\AppData\\Local\\Temp\\pip-install-gku7y1sj\\fuzzyset\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\stefa\AppData\Local\Temp\pip-record-77gvau5_\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\stefa\AppData\Local\Temp\pip-install-gku7y1sj\fuzzyset\
You are using pip version 19.0.3, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Stefan2142 avatar Feb 18 '20 21:02 Stefan2142