Advertisement
ZeroCool22

Faceswap Installation problems.

Feb 6th, 2018
15,351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 19.16 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>pip install virtualenvwrapper-win
  5. Collecting virtualenvwrapper-win
  6.   Downloading virtualenvwrapper-win-1.2.5.tar.gz
  7. Collecting virtualenv (from virtualenvwrapper-win)
  8.   Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
  9.     100% |████████████████████████████████| 1.8MB 882kB/s
  10. Building wheels for collected packages: virtualenvwrapper-win
  11.   Running setup.py bdist_wheel for virtualenvwrapper-win ... done
  12.   Stored in directory: C:\Users\ZeroCool22\AppData\Local\pip\Cache\wheels\84\82\75\0b06735fbb6c7fd41833aeb953cf1f606f851e04cc3f96aac3
  13. Successfully built virtualenvwrapper-win
  14. Installing collected packages: virtualenv, virtualenvwrapper-win
  15. Successfully installed virtualenv-15.1.0 virtualenvwrapper-win-1.2.5
  16. Cache entry deserialization failed, entry ignored
  17.  
  18. C:\WINDOWS\system32>mkvirtualenv faceswap
  19.  C:\Users\ZeroCool22\Envs is not a directory, creating
  20. Using base prefix 'c:\\intelpython3'
  21. New python executable in C:\Users\ZeroCool22\Envs\faceswap\Scripts\python.exe
  22. Installing setuptools, pip, wheel...done.
  23.  
  24. (faceswap) C:\Windows\System32>setprojectdir .
  25.  
  26.     "C:\Windows\System32" is now the project directory for
  27.     virtualenv "C:\Users\ZeroCool22\Envs\faceswap"
  28.  
  29.     "C:\Windows\System32" added to
  30.     C:\Users\ZeroCool22\Envs\faceswap\Lib\site-packages\virtualenv_path_extensions.pth
  31.  
  32. (faceswap) C:\Windows\System32>cd C:\faceswap-master
  33.  
  34. (faceswap) C:\faceswap-master>pip install -r requirements-gpu.txt
  35. Collecting pathlib==1.0.1 (from -r requirements-gpu.txt (line 1))
  36.   Downloading pathlib-1.0.1.tar.gz (49kB)
  37.     100% |████████████████████████████████| 51kB 169kB/s
  38. Collecting scandir==1.6 (from -r requirements-gpu.txt (line 2))
  39.   Cache entry deserialization failed, entry ignored
  40.   Cache entry deserialization failed, entry ignored
  41.   Downloading scandir-1.6-cp36-cp36m-win_amd64.whl
  42. Collecting h5py==2.7.1 (from -r requirements-gpu.txt (line 3))
  43.   Using cached h5py-2.7.1-cp36-cp36m-win_amd64.whl
  44. Collecting Keras==2.1.2 (from -r requirements-gpu.txt (line 4))
  45.   Cache entry deserialization failed, entry ignored
  46.   Using cached Keras-2.1.2-py2.py3-none-any.whl
  47. Collecting opencv-python==3.3.0.10 (from -r requirements-gpu.txt (line 5))
  48.   Cache entry deserialization failed, entry ignored
  49.   Downloading opencv_python-3.3.0.10-cp36-cp36m-win_amd64.whl (39.7MB)
  50.     100% |████████████████████████████████| 39.7MB 41kB/s
  51. Collecting tensorflow-gpu==1.4.0 (from -r requirements-gpu.txt (line 6))
  52.   Cache entry deserialization failed, entry ignored
  53.   Using cached tensorflow_gpu-1.4.0-cp36-cp36m-win_amd64.whl
  54. Collecting scikit-image (from -r requirements-gpu.txt (line 7))
  55. Collecting dlib (from -r requirements-gpu.txt (line 8))
  56.   Cache entry deserialization failed, entry ignored
  57.   Downloading dlib-19.9.0.tar.gz (3.1MB)
  58.     100% |████████████████████████████████| 3.1MB 505kB/s
  59. Collecting face_recognition (from -r requirements-gpu.txt (line 9))
  60.   Cache entry deserialization failed, entry ignored
  61.   Downloading face_recognition-1.2.1-py2.py3-none-any.whl
  62. Collecting tqdm (from -r requirements-gpu.txt (line 10))
  63.   Cache entry deserialization failed, entry ignored
  64.   Using cached tqdm-4.19.5-py2.py3-none-any.whl
  65. Collecting six (from h5py==2.7.1->-r requirements-gpu.txt (line 3))
  66.   Downloading six-1.11.0-py2.py3-none-any.whl
  67. Collecting numpy>=1.7 (from h5py==2.7.1->-r requirements-gpu.txt (line 3))
  68.   Downloading numpy-1.14.0-cp36-none-win_amd64.whl (13.4MB)
  69.     100% |████████████████████████████████| 13.4MB 126kB/s
  70. Collecting scipy>=0.14 (from Keras==2.1.2->-r requirements-gpu.txt (line 4))
  71.   Downloading scipy-1.0.0-cp36-none-win_amd64.whl (30.8MB)
  72.     100% |████████████████████████████████| 30.8MB 53kB/s
  73. Collecting pyyaml (from Keras==2.1.2->-r requirements-gpu.txt (line 4))
  74.   Downloading PyYAML-3.12.tar.gz (253kB)
  75.     100% |████████████████████████████████| 256kB 4.3MB/s
  76. Collecting tensorflow-tensorboard<0.5.0,>=0.4.0rc1 (from tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  77.   Cache entry deserialization failed, entry ignored
  78.   Downloading tensorflow_tensorboard-0.4.0-py3-none-any.whl (1.7MB)
  79.     100% |████████████████████████████████| 1.7MB 914kB/s
  80. Collecting protobuf>=3.3.0 (from tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  81.   Cache entry deserialization failed, entry ignored
  82.   Using cached protobuf-3.5.1-py2.py3-none-any.whl
  83. Requirement already satisfied: wheel>=0.26 in c:\users\zerocool22\envs\faceswap\lib\site-packages (from tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  84. Collecting enum34>=1.1.6 (from tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  85.   Cache entry deserialization failed, entry ignored
  86.   Using cached enum34-1.1.6-py3-none-any.whl
  87. Collecting pillow>=2.1.0 (from scikit-image->-r requirements-gpu.txt (line 7))
  88.   Using cached Pillow-5.0.0-cp36-cp36m-win_amd64.whl
  89. Collecting networkx>=1.8 (from scikit-image->-r requirements-gpu.txt (line 7))
  90.   Cache entry deserialization failed, entry ignored
  91.   Downloading networkx-2.1.zip (1.6MB)
  92.     100% |████████████████████████████████| 1.6MB 945kB/s
  93. Collecting PyWavelets>=0.4.0 (from scikit-image->-r requirements-gpu.txt (line 7))
  94.   Using cached PyWavelets-0.5.2-cp36-none-win_amd64.whl
  95. Collecting Click>=6.0 (from face_recognition->-r requirements-gpu.txt (line 9))
  96.   Downloading click-6.7-py2.py3-none-any.whl (71kB)
  97.     100% |████████████████████████████████| 71kB 2.2MB/s
  98. Collecting face-recognition-models>=0.3.0 (from face_recognition->-r requirements-gpu.txt (line 9))
  99.   Cache entry deserialization failed, entry ignored
  100. Collecting bleach==1.5.0 (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  101.   Cache entry deserialization failed, entry ignored
  102.   Using cached bleach-1.5.0-py2.py3-none-any.whl
  103. Collecting html5lib==0.9999999 (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  104.   Cache entry deserialization failed, entry ignored
  105. Collecting markdown>=2.6.8 (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  106.   Cache entry deserialization failed, entry ignored
  107.   Cache entry deserialization failed, entry ignored
  108.   Downloading Markdown-2.6.11-py2.py3-none-any.whl (78kB)
  109.     100% |████████████████████████████████| 81kB 5.0MB/s
  110. Collecting werkzeug>=0.11.10 (from tensorflow-tensorboard<0.5.0,>=0.4.0rc1->tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  111.   Using cached Werkzeug-0.14.1-py2.py3-none-any.whl
  112. Requirement already satisfied: setuptools in c:\users\zerocool22\envs\faceswap\lib\site-packages (from protobuf>=3.3.0->tensorflow-gpu==1.4.0->-r requirements-gpu.txt (line 6))
  113. Collecting decorator>=4.1.0 (from networkx>=1.8->scikit-image->-r requirements-gpu.txt (line 7))
  114.   Cache entry deserialization failed, entry ignored
  115.   Downloading decorator-4.2.1-py2.py3-none-any.whl
  116. Building wheels for collected packages: pathlib, dlib, pyyaml, networkx
  117.   Running setup.py bdist_wheel for pathlib ... done
  118.   Stored in directory: C:\Users\ZeroCool22\AppData\Local\pip\Cache\wheels\2a\23\a5\d8803db5d631e9f391fe6defe982a238bf5483062eeb34e841
  119.   Running setup.py bdist_wheel for dlib ... error
  120.   Failed building wheel for dlib
  121.   Running setup.py clean for dlib
  122.   Failed cleaning build dir for dlib
  123.   Running setup.py bdist_wheel for pyyaml ... done
  124.   Stored in directory: C:\Users\ZeroCool22\AppData\Local\pip\Cache\wheels\2c\f7\79\13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc
  125.   Running setup.py bdist_wheel for networkx ... done
  126.   Stored in directory: C:\Users\ZeroCool22\AppData\Local\pip\Cache\wheels\a0\33\4e\7c9228ea77f8090e895d8d2b76f3b5a76997a5b3edeb4e2c6f
  127. Successfully built pathlib pyyaml networkx
  128. Failed to build dlib
  129. Installing collected packages: pathlib, scandir, six, numpy, h5py, scipy, pyyaml, Keras, opencv-python, protobuf, html5lib, bleach, markdown, werkzeug, tensorflow-tensorboard, enum34, tensorflow-gpu, pillow, decorator, networkx, PyWavelets, scikit-image, dlib, Click, face-recognition-models, face-recognition, tqdm
  130.   Running setup.py install for dlib ... error
  131.     Complete output from command c:\users\zerocool22\envs\faceswap\scripts\python.exe -u -c "import setuptools, tokenize;__file__='D:\\TEMP\\pip-build-09p2e4iy\\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-x2gmhj05-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\zerocool22\envs\faceswap\include\site\python3.6\dlib:
  132.     running install
  133.     running build
  134.     running build_py
  135.     package init file 'dlib\__init__.py' not found (or not a regular file)
  136.     running build_ext
  137.     Invoking CMake setup: 'cmake D:\TEMP\pip-build-09p2e4iy\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\TEMP\pip-build-09p2e4iy\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-09p2e4iy\dlib\build\lib.win-amd64-3.6 -A x64'
  138.     CMake Error: Error: generator platform: x64
  139.     Does not match the platform used previously:
  140.     Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
  141.     Traceback (most recent call last):
  142.       File "<string>", line 1, in <module>
  143.       File "D:\TEMP\pip-build-09p2e4iy\dlib\setup.py", line 238, in <module>
  144.         'Topic :: Software Development',
  145.       File "c:\users\zerocool22\envs\faceswap\lib\site-packages\setuptools\__init__.py", line 129, in setup
  146.         return distutils.core.setup(**attrs)
  147.       File "c:\intelpython3\Lib\distutils\core.py", line 148, in setup
  148.         dist.run_commands()
  149.       File "c:\intelpython3\Lib\distutils\dist.py", line 955, in run_commands
  150.         self.run_command(cmd)
  151.       File "c:\intelpython3\Lib\distutils\dist.py", line 974, in run_command
  152.         cmd_obj.run()
  153.       File "c:\users\zerocool22\envs\faceswap\lib\site-packages\setuptools\command\install.py", line 61, in run
  154.         return orig.install.run(self)
  155.       File "c:\intelpython3\Lib\distutils\command\install.py", line 545, in run
  156.         self.run_command('build')
  157.       File "c:\intelpython3\Lib\distutils\cmd.py", line 313, in run_command
  158.         self.distribution.run_command(command)
  159.       File "c:\intelpython3\Lib\distutils\dist.py", line 974, in run_command
  160.         cmd_obj.run()
  161.       File "c:\intelpython3\Lib\distutils\command\build.py", line 135, in run
  162.         self.run_command(cmd_name)
  163.       File "c:\intelpython3\Lib\distutils\cmd.py", line 313, in run_command
  164.         self.distribution.run_command(command)
  165.       File "c:\intelpython3\Lib\distutils\dist.py", line 974, in run_command
  166.         cmd_obj.run()
  167.       File "D:\TEMP\pip-build-09p2e4iy\dlib\setup.py", line 119, in run
  168.         self.build_extension(ext)
  169.       File "D:\TEMP\pip-build-09p2e4iy\dlib\setup.py", line 153, in build_extension
  170.         subprocess.check_call(cmake_setup, cwd=build_folder)
  171.       File "c:\intelpython3\Lib\subprocess.py", line 291, in check_call
  172.         raise CalledProcessError(retcode, cmd)
  173.     subprocess.CalledProcessError: Command '['cmake', 'D:\\TEMP\\pip-build-09p2e4iy\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\\TEMP\\pip-build-09p2e4iy\\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-09p2e4iy\\dlib\\build\\lib.win-amd64-3.6', '-A', 'x64']' returned non-zero exit status 1.
  174.  
  175.     ----------------------------------------
  176. Exception:
  177. Traceback (most recent call last):
  178.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\commands\install.py", line 342, in run
  179.     prefix=options.prefix_path,
  180.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_set.py", line 784, in install
  181.     **kwargs
  182.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_install.py", line 878, in install
  183.     spinner=spinner,
  184.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 707, in call_subprocess
  185.     % (command_desc, proc.returncode, cwd))
  186. pip.exceptions.InstallationError: Command "c:\users\zerocool22\envs\faceswap\scripts\python.exe -u -c "import setuptools, tokenize;__file__='D:\\TEMP\\pip-build-09p2e4iy\\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-x2gmhj05-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-09p2e4iy\dlib\
  187.  
  188. During handling of the above exception, another exception occurred:
  189.  
  190. Traceback (most recent call last):
  191.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\commands\install.py", line 385, in run
  192.     requirement_set.cleanup_files()
  193.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_set.py", line 729, in cleanup_files
  194.     req.remove_temporary_source()
  195.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\req\req_install.py", line 977, in remove_temporary_source
  196.     rmtree(self.source_dir)
  197.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
  198.     return Retrying(*dargs, **dkw).call(f, *args, **kw)
  199.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
  200.     raise attempt.get()
  201.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
  202.     six.reraise(self.value[0], self.value[1], self.value[2])
  203.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
  204.     raise value
  205.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
  206.     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  207.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
  208.     onerror=rmtree_errorhandler)
  209.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 494, in rmtree
  210.     return _rmtree_unsafe(path, onerror)
  211.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  212.     _rmtree_unsafe(fullname, onerror)
  213.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  214.     _rmtree_unsafe(fullname, onerror)
  215.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  216.     _rmtree_unsafe(fullname, onerror)
  217.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 393, in _rmtree_unsafe
  218.     onerror(os.rmdir, path, sys.exc_info())
  219.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 114, in rmtree_errorhandler
  220.     func(path)
  221. PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'D:\\TEMP\\pip-build-09p2e4iy\\dlib\\build\\temp.win-amd64-3.6\\Release\\dlib_build'
  222.  
  223. During handling of the above exception, another exception occurred:
  224.  
  225. Traceback (most recent call last):
  226.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\basecommand.py", line 215, in main
  227.     status = self.run(options, args)
  228.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\commands\install.py", line 385, in run
  229.     requirement_set.cleanup_files()
  230.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\build.py", line 38, in __exit__
  231.     self.cleanup()
  232.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\build.py", line 42, in cleanup
  233.     rmtree(self.name)
  234.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
  235.     return Retrying(*dargs, **dkw).call(f, *args, **kw)
  236.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 212, in call
  237.     raise attempt.get()
  238.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 247, in get
  239.     six.reraise(self.value[0], self.value[1], self.value[2])
  240.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\six.py", line 686, in reraise
  241.     raise value
  242.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\_vendor\retrying.py", line 200, in call
  243.     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  244.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 102, in rmtree
  245.     onerror=rmtree_errorhandler)
  246.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 494, in rmtree
  247.     return _rmtree_unsafe(path, onerror)
  248.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  249.     _rmtree_unsafe(fullname, onerror)
  250.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  251.     _rmtree_unsafe(fullname, onerror)
  252.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 384, in _rmtree_unsafe
  253.     _rmtree_unsafe(fullname, onerror)
  254.   [Previous line repeated 1 more times]
  255.   File "c:\users\zerocool22\envs\faceswap\lib\shutil.py", line 393, in _rmtree_unsafe
  256.     onerror(os.rmdir, path, sys.exc_info())
  257.   File "c:\users\zerocool22\envs\faceswap\lib\site-packages\pip\utils\__init__.py", line 114, in rmtree_errorhandler
  258.     func(path)
  259. PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'D:\\TEMP\\pip-build-09p2e4iy\\dlib\\build\\temp.win-amd64-3.6\\Release\\dlib_build'
  260.  
  261. (faceswap) C:\faceswap-master>python faceswap.py -h
  262. Traceback (most recent call last):
  263.   File "faceswap.py", line 10, in <module>
  264.     from scripts.extract import ExtractTrainingData
  265.   File "C:\faceswap-master\scripts\extract.py", line 4, in <module>
  266.     from lib.cli import DirectoryProcessor
  267.   File "C:\faceswap-master\lib\cli.py", line 4, in <module>
  268.     from tqdm import tqdm
  269. ModuleNotFoundError: No module named 'tqdm'
  270.  
  271. (faceswap) C:\faceswap-master>python faceswap.py extract -i ~/faceswap/dataA -o ~/faceswap/data/cage
  272. Traceback (most recent call last):
  273.   File "faceswap.py", line 10, in <module>
  274.     from scripts.extract import ExtractTrainingData
  275.   File "C:\faceswap-master\scripts\extract.py", line 4, in <module>
  276.     from lib.cli import DirectoryProcessor
  277.   File "C:\faceswap-master\lib\cli.py", line 4, in <module>
  278.     from tqdm import tqdm
  279. ModuleNotFoundError: No module named 'tqdm'
  280.  
  281. (faceswap) C:\faceswap-master>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement