Как установить Kmean? - PullRequest
       16

Как установить Kmean?

0 голосов
/ 09 февраля 2019

я уже установил pip, setup, обновление колеса .. но моя ошибка

  Building wheel for KMeans (setup.py) ... error
  Complete output from command c:\users\user\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-1xlysuyb\\KMeans\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\USER\AppData\Local\Temp\pip-wheel-pyagyyuq --python-tag cp36:

  cl : 명령줄 error D8021 : '/Wno-error=declaration-after-statement' 숫자 인수가 잘못되었습니다.
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

  ----------------------------------------
  Failed building wheel for KMeans
  Running setup.py clean for KMeans
Failed to build KMeans
Installing collected packages: KMeans
  Running setup.py install for KMeans ... error
    Complete output from command c:\users\user\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-1xlysuyb\\KMeans\\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\USER\AppData\Local\Temp\pip-record-6c7xcoqh\install-record.txt --single-version-externally-managed --compile:

    cl : 명령줄 error D8021 : '/Wno-error=declaration-after-statement' 숫자 인수가 잘못되었습니다.
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

    ----------------------------------------
Command "c:\users\user\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\USER\\AppData\\Local\\Temp\\pip-install-1xlysuyb\\KMeans\\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\USER\AppData\Local\Temp\pip-record-6c7xcoqh\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\USER\AppData\Local\Temp\pip-install-1xlysuyb\KMeans\

как я могу это исправить ??я пытаюсь обновить setuptools, wheel, и у меня версия pip 19.0.1, что еще я могу попробовать?Моя ОС - Окно 10.

...