Open coscorrodrift opened 4 years ago
Ok, that particular problem was solved installing Visual Studio 14.0 (pretty straightforward actually) using the link this SAVIOR here provided.
I then encountered MORE errors trying to run the bash script, it kept telling me the bash command couldn't be ran, then i somehow found a way to get bash in there, and "wget command not found", and I did what this MAGICIAN here said more or less and got it downloading
bruh I cannot imagine what coding this type of software must be like, if just installing it has taken me more than 2 hours
Not sure if my PC is void of the requirements but I've had issues with installing dlib, then CMake, then Visual Studio 14.0...
`Requirement already satisfied: dlib in c:\python36\lib\site-packages (from -r requirements.txt (line 1)) (19.7.0) Collecting mmcv Using cached https://files.pythonhosted.org/packages/9b/7c/f6c20b54bb22d47cb87cc48ee626aab290584458e38bc1bbb76c868afc82/mmcv-0.2.15.tar.gz Collecting scipy Using cached https://files.pythonhosted.org/packages/f7/67/382062863c4c4a6cfd8f8417a323bafcf3cd0db2a18fff32da725b68f34c/scipy-1.4.0-cp36-cp36m-win_amd64.whl Requirement already satisfied: numpy in c:\python36\lib\site-packages (from -r requirements.txt (line 4)) (1.17.4) Collecting matplotlib Using cached https://files.pythonhosted.org/packages/44/fb/132de6a4b803d8ce909a89043b7d3f775f64e0a39398fc98c02e3e144b61/matplotlib-3.1.2-cp36-cp36m-win_amd64.whl Requirement already satisfied: opencv_python in c:\python36\lib\site-packages (from -r requirements.txt (line 6)) (4.1.2.30) Requirement already satisfied: Pillow in c:\python36\lib\site-packages (from -r requirements.txt (line 7)) (6.2.1) Requirement already satisfied: torch>=0.4.0 in c:\python36\lib\site-packages (from -r requirements.txt (line 8)) (1.3.1) Requirement already satisfied: torchvision in c:\python36\lib\site-packages (from -r requirements.txt (line 9)) (0.4.2) Requirement already satisfied: pyyaml in c:\python36\lib\site-packages (from mmcv->-r requirements.txt (line 2)) (5.2) Requirement already satisfied: six in c:\python36\lib\site-packages (from mmcv->-r requirements.txt (line 2)) (1.11.0) Requirement already satisfied: addict in c:\python36\lib\site-packages (from mmcv->-r requirements.txt (line 2)) (2.2.1) Requirement already satisfied: requests in c:\python36\lib\site-packages (from mmcv->-r requirements.txt (line 2)) (2.18.4) Collecting cycler>=0.10 Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl Collecting python-dateutil>=2.1 Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl Collecting kiwisolver>=1.0.1 Using cached https://files.pythonhosted.org/packages/64/46/75ab48386cbd56065f5542360562be524ad599911455b6d95520cb118613/kiwisolver-1.1.0-cp36-none-win_amd64.whl Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 Using cached https://files.pythonhosted.org/packages/c0/0c/fc2e007d9a992d997f04a80125b0f183da7fb554f1de701bbb70a8e7d479/pyparsing-2.4.5-py2.py3-none-any.whl Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\python36\lib\site-packages (from requests->mmcv->-r requirements.txt (line 2)) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in c:\python36\lib\site-packages (from requests->mmcv->-r requirements.txt (line 2)) (2018.4.16) Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\python36\lib\site-packages (from requests->mmcv->-r requirements.txt (line 2)) (1.22) Requirement already satisfied: idna<2.7,>=2.5 in c:\python36\lib\site-packages (from requests->mmcv->-r requirements.txt (line 2)) (2.6) Requirement already satisfied: setuptools in c:\python36\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->-r requirements.txt (line 5)) (39.0.1) Installing collected packages: mmcv, scipy, cycler, python-dateutil, kiwisolver, pyparsing, matplotlib Running setup.py install for mmcv ... error ERROR: Command errored out with exit status 1: command: 'c:\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Cosco\AppData\Local\Temp\pip-install-41z3or_2\mmcv\setup.py'"'"'; file='"'"'C:\Users\Cosco\AppData\Local\Temp\pip-install-41z3or_2\mmcv\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\Cosco\AppData\Local\Temp\pip-record-_vel_3tx\install-record.txt' --single-version-externally-managed --compile cwd: C:\Users\Cosco\AppData\Local\Temp\pip-install-41z3or_2\mmcv\ Complete output (96 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\mmcv copying mmcv\opencv_info.py -> build\lib.win-amd64-3.6\mmcv copying mmcv\version.py -> build\lib.win-amd64-3.6\mmcv copying mmcv__init.py -> build\lib.win-amd64-3.6\mmcv creating build\lib.win-amd64-3.6\mmcv\arraymisc copying mmcv\arraymisc\quantization.py -> build\lib.win-amd64-3.6\mmcv\arraymisc copying mmcv\arraymisc__init.py -> build\lib.win-amd64-3.6\mmcv\arraymisc creating build\lib.win-amd64-3.6\mmcv\cnn copying mmcv\cnn\alexnet.py -> build\lib.win-amd64-3.6\mmcv\cnn copying mmcv\cnn\resnet.py -> build\lib.win-amd64-3.6\mmcv\cnn copying mmcv\cnn\vgg.py -> build\lib.win-amd64-3.6\mmcv\cnn copying mmcv\cnn\weight_init.py -> build\lib.win-amd64-3.6\mmcv\cnn copying mmcv\cnn__init.py -> build\lib.win-amd64-3.6\mmcv\cnn creating build\lib.win-amd64-3.6\mmcv\fileio copying mmcv\fileio\io.py -> build\lib.win-amd64-3.6\mmcv\fileio copying mmcv\fileio\parse.py -> build\lib.win-amd64-3.6\mmcv\fileio copying mmcv\fileio__init.py -> build\lib.win-amd64-3.6\mmcv\fileio creating build\lib.win-amd64-3.6\mmcv\image copying mmcv\image\io.py -> build\lib.win-amd64-3.6\mmcv\image copying mmcv\image__init__.py -> build\lib.win-amd64-3.6\mmcv\image creating build\lib.win-amd64-3.6\mmcv\parallel copying mmcv\parallel\collate.py -> build\lib.win-amd64-3.6\mmcv\parallel copying mmcv\parallel\data_container.py -> build\lib.win-amd64-3.6\mmcv\parallel copying mmcv\parallel\data_parallel.py -> build\lib.win-amd64-3.6\mmcv\parallel copying mmcv\parallel\distributed.py -> build\lib.win-amd64-3.6\mmcv\parallel copying mmcv\parallel\scatter_gather.py -> build\lib.win-amd64-3.6\mmcv\parallel copying mmcv\parallel_functions.py -> build\lib.win-amd64-3.6\mmcv\parallel copying mmcv\parallel\init__.py -> build\lib.win-amd64-3.6\mmcv\parallel creating build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\checkpoint.py -> build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\dist_utils.py -> build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\log_buffer.py -> build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\parallel_test.py -> build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\priority.py -> build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\runner.py -> build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\utils.py -> build\lib.win-amd64-3.6\mmcv\runner copying mmcv\runner\init.py -> build\lib.win-amd64-3.6\mmcv\runner creating build\lib.win-amd64-3.6\mmcv\utils copying mmcv\utils\config.py -> build\lib.win-amd64-3.6\mmcv\utils copying mmcv\utils\misc.py -> build\lib.win-amd64-3.6\mmcv\utils copying mmcv\utils\path.py -> build\lib.win-amd64-3.6\mmcv\utils copying mmcv\utils\progressbar.py -> build\lib.win-amd64-3.6\mmcv\utils copying mmcv\utils\timer.py -> build\lib.win-amd64-3.6\mmcv\utils copying mmcv\utils\init.py -> build\lib.win-amd64-3.6\mmcv\utils creating build\lib.win-amd64-3.6\mmcv\video copying mmcv\video\io.py -> build\lib.win-amd64-3.6\mmcv\video copying mmcv\video\optflow.py -> build\lib.win-amd64-3.6\mmcv\video copying mmcv\video\processing.py -> build\lib.win-amd64-3.6\mmcv\video copying mmcv\video\init.py -> build\lib.win-amd64-3.6\mmcv\video creating build\lib.win-amd64-3.6\mmcv\visualization copying mmcv\visualization\color.py -> build\lib.win-amd64-3.6\mmcv\visualization copying mmcv\visualization\image.py -> build\lib.win-amd64-3.6\mmcv\visualization copying mmcv\visualization\optflow.py -> build\lib.win-amd64-3.6\mmcv\visualization copying mmcv\visualization\init__.py -> build\lib.win-amd64-3.6\mmcv\visualization creating build\lib.win-amd64-3.6\mmcv\fileio\handlers copying mmcv\fileio\handlers\base.py -> build\lib.win-amd64-3.6\mmcv\fileio\handlers copying mmcv\fileio\handlers\json_handler.py -> build\lib.win-amd64-3.6\mmcv\fileio\handlers copying mmcv\fileio\handlers\pickle_handler.py -> build\lib.win-amd64-3.6\mmcv\fileio\handlers copying mmcv\fileio\handlers\yaml_handler.py -> build\lib.win-amd64-3.6\mmcv\fileio\handlers copying mmcv\fileio\handlers\init.py -> build\lib.win-amd64-3.6\mmcv\fileio\handlers creating build\lib.win-amd64-3.6\mmcv\image\transforms copying mmcv\image\transforms\colorspace.py -> build\lib.win-amd64-3.6\mmcv\image\transforms copying mmcv\image\transforms\geometry.py -> build\lib.win-amd64-3.6\mmcv\image\transforms copying mmcv\image\transforms\normalize.py -> build\lib.win-amd64-3.6\mmcv\image\transforms copying mmcv\image\transforms\resize.py -> build\lib.win-amd64-3.6\mmcv\image\transforms copying mmcv\image\transforms\init__.py -> build\lib.win-amd64-3.6\mmcv\image\transforms creating build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\checkpoint.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\closure.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\hook.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\iter_timer.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\lr_updater.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\memory.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\optimizer.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\sampler_seed.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks copying mmcv\runner\hooks\init.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks creating build\lib.win-amd64-3.6\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\base.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\pavi.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\tensorboard.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\text.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\wandb.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks\logger copying mmcv\runner\hooks\logger\init.py -> build\lib.win-amd64-3.6\mmcv\runner\hooks\logger creating build\lib.win-amd64-3.6\mmcv\video\optflow_warp copying mmcv\video\optflow_warp\init__.py -> build\lib.win-amd64-3.6\mmcv\video\optflow_warp running build_ext cythoning ./mmcv/video/optflow_warp/flow_warp_module.pyx to ./mmcv/video/optflow_warp\flow_warp_module.cpp c:\users\cosco\appdata\local\temp\pip-install-41z3or_2\mmcv.eggs\cython-0.29.14-py3.6-win-amd64.egg\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\Cosco\AppData\Local\Temp\pip-install-41z3or_2\mmcv\mmcv\video\optflow_warp\flow_warp_module.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'mmcv._ext' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
ERROR: Command errored out with exit status 1: 'c:\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Cosco\AppData\Local\Temp\pip-install-41z3or_2\mmcv\setup.py'"'"'; file='"'"'C:\Users\Cosco\AppData\Local\Temp\pip-install-41z3or_2\mmcv\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\Cosco\AppData\Local\Temp\pip-record-_vel_3tx\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.`