Я получаю одну и ту же ошибку, независимо от того, какой пакет я пытаюсь установить с помощью pip, даже если pip установлен и работает нормально. В этом случае я пытаюсь установить Seaborn, и это ошибка, которую я получаю. Мне пришлось установить Vs Build Tools, но ничего не изменилось, за исключением того, что теперь в нем говорится, что исходное исключение было: [WinError 3] Система без ошибок: "C: \ Program Files (x86) \ Microsoft Visual Studio \ 2019 \ BuildTools \"VC \ Tools \ MSVC \ 14.23.28105 \ PlatformSDK \ lib ', и классом Compiler был MSVCCompiler, из-за которого система не может найти его, и я не знаю, сделал ли я его хуже, установив его или что, но яне могу продолжать, я не знаю, что делать, любая помощь будет наиболее полезной
C:\Users\micae\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.8
creating build\src.win-amd64-3.8\numpy
creating build\src.win-amd64-3.8\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Could not initialize compiler instance: do you have Visual Studio
installed? If you are trying to build with MinGW, please use "python setup.py
build -c mingw32" instead. If you have Visual Studio installed, check it is
correctly installed, and the right version (VS 2008 for python 2.6, 2.7 and 3.2,
VS 2010 for >= 3.3).
Original exception was: [WinError 3] El sistema no puede encontrar la ruta especificada: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\PlatformSDK\\lib', and the Compiler class was MSVCCompiler
============================================================================
============================================================================
----------------------------------------
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
ERROR: Command errored out with exit status 1:
command: 'C:\Users\micae\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\micae\\AppData\\Local\\Temp\\pip-install-ip0nzt0h\\numpy\\setup.py'"'"'; __file__='"'"'C:\\Users\\micae\\AppData\\Local\\Temp\\pip-install-ip0nzt0h\\numpy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: C:\Users\micae\AppData\Local\Temp\pip-install-ip0nzt0h\numpy
Complete output (10 lines):
Running from numpy source directory.
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
C:\Users\micae\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Could not initialize compiler instance: do you have Visual Studio
installed? If you are trying to build with MinGW, please use "python setup.py
build -c mingw32" instead. If you have Visual Studio installed, check it is
correctly installed, and the right version (VS 2008 for python 2.6, 2.7 and 3.2,
VS 2010 for >= 3.3).
Original exception was: [WinError 3] El sistema no puede encontrar la ruta especificada: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.23.28105\\PlatformSDK\\lib', and the Compiler class was MSVCCompiler
============================================================================
============================================================================
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\micae\AppData\Local\Programs\Python\Python38\python.exe' 'C:\Users\micae\AppData\Local\Programs\Python\Python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\micae\AppData\Local\Temp\pip-build-env-9bvfhm_w\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools 'Cython>=0.29.2' 'numpy==1.13.3; python_version=='"'"'3.5'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.5'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output. ```