Advertisement
ZeroCool22

When ejecute pip install dlib....

Feb 7th, 2018
15,119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 11.43 KB | None | 0 0
  1. Microsoft Windows [Versión 10.0.16299.98]
  2. (c) 2017 Microsoft Corporation. Todos los derechos reservados.
  3.  
  4. C:\WINDOWS\system32>workon faceswap
  5. (faceswap) C:\faceswap-master\.pip>cd C:\faceswap-master
  6.  
  7. (faceswap) C:\faceswap-master>pip install dlib
  8. Collecting dlib
  9.   Using cached dlib-19.9.0.tar.gz
  10. Building wheels for collected packages: dlib
  11.   Running setup.py bdist_wheel for dlib ... error
  12.   Failed building wheel for dlib
  13.   Running setup.py clean for dlib
  14.   Failed cleaning build dir for dlib
  15. Failed to build dlib
  16. Installing collected packages: dlib
  17.   Running setup.py install for dlib ... error
  18.     Complete output from command c:\users\zerocool22\envs\faceswap\scripts\python.exe -u -c "import setuptools, tokenize;__file__='D:\\TEMP\\pip-build-mkm_r29q\\dlib\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record D:\TEMP\pip-fibl3je1-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\zerocool22\envs\faceswap\include\site\python3.6\dlib:
  19.     running install
  20.     running build
  21.     running build_py
  22.     package init file 'dlib\__init__.py' not found (or not a regular file)
  23.     running build_ext
  24.     Invoking CMake setup: 'cmake D:\TEMP\pip-build-mkm_r29q\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\TEMP\pip-build-mkm_r29q\dlib\build\lib.win-amd64-3.6 -DPYTHON_EXECUTABLE=c:\users\zerocool22\envs\faceswap\scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\TEMP\pip-build-mkm_r29q\dlib\build\lib.win-amd64-3.6 -A x64'
  25.     -- Building for: Visual Studio 14 2015
  26.     -- Selecting Windows SDK version 10.0.10240.0 to target Windows 10.0.16299.
  27.     -- The C compiler identification is unknown
  28.     -- The CXX compiler identification is unknown
  29.     CMake Error in CMakeLists.txt:
  30.       No CMAKE_C_COMPILER could be found.
  31.  
  32.  
  33.  
  34.     -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
  35.     -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
  36.     -- Detecting CXX compiler ABI info
  37.     CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeDetermineCompilerABI.cmake:26 (try_compile):
  38.       The test project needs language RC which is not enabled.
  39.     Call Stack (most recent call first):
  40.       C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:59 (CMAKE_DETERMINE_COMPILER_ABI)
  41.       CMakeLists.txt
  42.  
  43.  
  44.     CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeDetermineCompilerABI.cmake:26 (try_compile):
  45.       Failed to configure test project build system.
  46.     Call Stack (most recent call first):
  47.       C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:59 (CMAKE_DETERMINE_COMPILER_ABI)
  48.       CMakeLists.txt
  49.  
  50.  
  51.     -- Configuring incomplete, errors occurred!
  52.     See also "D:/TEMP/pip-build-mkm_r29q/dlib/build/temp.win-amd64-3.6/Release/CMakeFiles/CMakeOutput.log".
  53.     See also "D:/TEMP/pip-build-mkm_r29q/dlib/build/temp.win-amd64-3.6/Release/CMakeFiles/CMakeError.log".
  54.     Traceback (most recent call last):
  55.       File "<string>", line 1, in <module>
  56.       File "D:\TEMP\pip-build-mkm_r29q\dlib\setup.py", line 238, in <module>
  57.         'Topic :: Software Development',
  58.       File "c:\users\zerocool22\envs\faceswap\lib\site-packages\setuptools\__init__.py", line 129, in setup
  59.         return distutils.core.setup(**attrs)
  60.       File "c:\intelpython3\Lib\distutils\core.py", line 148, in setup
  61.         dist.run_commands()
  62.       File "c:\intelpython3\Lib\distutils\dist.py", line 955, in run_commands
  63.         self.run_command(cmd)
  64.       File "c:\intelpython3\Lib\distutils\dist.py", line 974, in run_command
  65.         cmd_obj.run()
  66.       File "c:\users\zerocool22\envs\faceswap\lib\site-packages\setuptools\command\install.py", line 61, in run
  67.         return orig.install.run(self)
  68.       File "c:\intelpython3\Lib\distutils\command\install.py", line 545, in run
  69.         self.run_command('build')
  70.       File "c:\intelpython3\Lib\distutils\cmd.py", line 313, in run_command
  71.         self.distribution.run_command(command)
  72.       File "c:\intelpython3\Lib\distutils\dist.py", line 974, in run_command
  73.         cmd_obj.run()
  74.       File "c:\intelpython3\Lib\distutils\command\build.py", line 135, in run
  75.         self.run_command(cmd_name)
  76.       File "c:\intelpython3\Lib\distutils\cmd.py", line 313, in run_command
  77.         self.distribution.run_command(command)
  78.       File "c:\intelpython3\Lib\distutils\dist.py", line 974, in run_command
  79.         cmd_obj.run()
  80.       File "D:\TEMP\pip-build-mkm_r29q\dlib\setup.py", line 119, in run
  81.         self.build_extension(ext)
  82.       File "D:\TEMP\pip-build-mkm_r29q\dlib\setup.py", line 153, in build_extension
  83.         subprocess.check_call(cmake_setup, cwd=build_folder)
  84.       File "c:\intelpython3\Lib\subprocess.py", line 291, in check_call
  85.         raise CalledProcessError(retcode, cmd)
  86.     subprocess.CalledProcessError: Command '['cmake', 'D:\\TEMP\\pip-build-mkm_r29q\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\\TEMP\\pip-build-mkm_r29q\\dlib\\build\\lib.win-amd64-3.6', '-DPYTHON_EXECUTABLE=c:\\users\\zerocool22\\envs\\faceswap\\scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\\TEMP\\pip-build-mkm_r29q\\dlib\\build\\lib.win-amd64-3.6', '-A', 'x64']' returned non-zero exit status 1.
  87.  
  88.     ----------------------------------------
  89. Exception:
  90. Traceback (most recent call last):
  91.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\commands\install.py", line 342, in run
  92.     prefix=options.prefix_path,
  93.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_set.py", line 784, in install
  94.     **kwargs
  95.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_install.py", line 878, in install
  96.     spinner=spinner,
  97.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 707, in call_subprocess
  98.     % (command_desc, proc.returncode, cwd))
  99. pip.exceptions.InstallationError: Command "c:\users\zerocool22\envs\faceswap\scripts\python.exe -u -c "import setuptools, tokenize;__file__='D:\\TEMP\\pip-build-mkm_r29q\\dlib\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record D:\TEMP\pip-fibl3je1-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\zerocool22\envs\faceswap\include\site\python3.6\dlib" failed with error code 1 in D:\TEMP\pip-build-mkm_r29q\dlib\
  100.  
  101. During handling of the above exception, another exception occurred:
  102.  
  103. Traceback (most recent call last):
  104.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\commands\install.py", line 385, in run
  105.     requirement_set.cleanup_files()
  106.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_set.py", line 729, in cleanup_files
  107.     req.remove_temporary_source()
  108.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_install.py", line 977, in remove_temporary_source
  109.     rmtree(self.source_dir)
  110.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
  111.     return Retrying(*dargs, **dkw).call(f, *args, **kw)
  112.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
  113.     raise attempt.get()
  114.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
  115.     six.reraise(self.value[0], self.value[1], self.value[2])
  116.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
  117.     raise value
  118.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
  119.     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  120.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
  121.     onerror=rmtree_errorhandler)
  122.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 494, in rmtree
  123.     return _rmtree_unsafe(path, onerror)
  124.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  125.     _rmtree_unsafe(fullname, onerror)
  126.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  127.     _rmtree_unsafe(fullname, onerror)
  128.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  129.     _rmtree_unsafe(fullname, onerror)
  130.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 393, in _rmtree_unsafe
  131.     onerror(os.rmdir, path, sys.exc_info())
  132.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 114, in rmtree_errorhandler
  133.     func(path)
  134. PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'D:\\TEMP\\pip-build-mkm_r29q\\dlib\\build\\temp.win-amd64-3.6\\Release\\dlib_build'
  135.  
  136. During handling of the above exception, another exception occurred:
  137.  
  138. Traceback (most recent call last):
  139.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\basecommand.py", line 215, in main
  140.     status = self.run(options, args)
  141.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\commands\install.py", line 385, in run
  142.     requirement_set.cleanup_files()
  143.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\build.py", line 38, in __exit__
  144.     self.cleanup()
  145.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\build.py", line 42, in cleanup
  146.     rmtree(self.name)
  147.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
  148.     return Retrying(*dargs, **dkw).call(f, *args, **kw)
  149.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
  150.     raise attempt.get()
  151.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
  152.     six.reraise(self.value[0], self.value[1], self.value[2])
  153.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
  154.     raise value
  155.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
  156.     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  157.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
  158.     onerror=rmtree_errorhandler)
  159.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 494, in rmtree
  160.     return _rmtree_unsafe(path, onerror)
  161.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  162.     _rmtree_unsafe(fullname, onerror)
  163.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  164.     _rmtree_unsafe(fullname, onerror)
  165.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  166.     _rmtree_unsafe(fullname, onerror)
  167.   [Previous line repeated 1 more times]
  168.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 393, in _rmtree_unsafe
  169.     onerror(os.rmdir, path, sys.exc_info())
  170.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 114, in rmtree_errorhandler
  171.     func(path)
  172. PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'D:\\TEMP\\pip-build-mkm_r29q\\dlib\\build\\temp.win-amd64-3.6\\Release\\dlib_build'
  173.  
  174. (faceswap) C:\faceswap-master>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement