ошибка при импорте dlib в windows 10 (anaconda)
Я попытался установить dlib из их официального документа, но выдал эту ошибку. Я установил cmake, но ошибка не исчезла. также пробовали большинство методов установки dlib, но ни один из них не работал. Я использую окна. Также он показывает установленную версию dlib 19.17, но когда я импортирую ее в ноутбук jupyter, он говорит об ошибке modulenotfound
код и ошибка: (база)
C:\Users\joyje>pip install dlib --verbose
Non-user install because site-packages writeable
Created temporary directory: C:\Users\joyje\AppData\Local\Temp\pip-ephem-wheel-cache-e3cxi0i8
Created temporary directory: C:\Users\joyje\AppData\Local\Temp\pip-req-tracker-_z47an64
Initialized build tracking at C:\Users\joyje\AppData\Local\Temp\pip-req-tracker-_z47an64
Created build tracker: C:\Users\joyje\AppData\Local\Temp\pip-req-tracker-_z47an64
Entered build tracker: C
:\Users\joyje\AppData\Local\Temp\pip-req-tracker-_z47an64
Created temporary directory: C:\Users\joyje\AppData\Local\Temp\pip-install-9xbpuox9
1 location(s) to search for versions of dlib:
* https://pypi.org/simple/dlib/
Fetching project page and analyzing links: https://pypi.org/simple/dlib/
Getting page https://pypi.org/simple/dlib/
Found index url https://pypi.org/simple
Getting credentials from keyring for https://pypi.org/simple
Getting credentials from keyring for pypi.org
Looking up "https://pypi.org/simple/dlib/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/dlib/ HTTP/1.1" 304 0
Skipping link: none of the wheel's tags match: cp27-none-win32: https://files.pythonhosted.org/packages/76/44/d5ea0c2cfbbce3c12841de8e29ba97e305c585b98c70f8e8f1cb69855f1f/dlib-18.17.100-cp27-none-win32.whl#sha256=23523a686049ff8b9a17f1e932e70c8c563ea77a2aecdc686db7632dd5742d35 (from https://pypi.org/simple/dlib/)
Skipping link: none of the wheel's tags match: cp27-none-win_amd64: https://files.pythonhosted.org/packages/8b/b5/0a1f8e3cc709b845b2fb5592e0576c6194bd735519c779e6a98bf3b0f5c4/dlib-18.17.100-cp27-none-win_amd64.whl#sha256=ca70fc1eaf74176e50fa0fc90565dd7be14b7552a3d616c026099a8b2574155c (from https://pypi.org/simple/dlib/)
Skipping link: none of the wheel's tags match: cp34-none-win32: https://files.pythonhosted.org/packages/9e/b7/5c53db22828707d629e1a94326e14e1bb703b975352e4de427695e9c5d00/dlib-18.17.100-cp34-none-win32.whl#sha256=118039c043b1efc2d9e8e1c4b055b972358951d7770f9b61af59c8690053303f (from https://pypi.org/simple/dlib/)
Skipping link: none of the wheel's tags match: cp34-none-win_amd64: https://files.pythonhosted.org/packages/66/1f/e1259d07929742e9df98e33bf315f48618809185a8a56a69cc2fd75031a2/dlib-18.17.100-cp34-none-win_amd64.whl#sha256=951b58000285d9ca41b1110af26cb96148d5059dc215fed8ce1df14c978809a2 (from https://pypi.org/simple/dlib/)
Skipping link: none of the wheel's tags match: cp35-none-win32: https://files.pythonhosted.org/packages/e5/41/0818d66f938601f000f28b97967ae6d9f33b43b8b96e092f1873f4a6860b/dlib-18.17.100-cp35-none-win32.whl#sha256=1acf5e51ef4e5af67cb2f2eda4df3eee772c7e476611803a96330886160e34a4 (from https://pypi.org/simple/dlib/)
Skipping link: none of the wheel's tags match: cp35-none-win_amd64: https://files.pythonhosted.org/packages/30/91/ffef19ef1dcbe36fa1fd3d1e01e7cf8177a9edd1a13f51877f8f4623c132/dlib-18.17.100-cp35-none-win_amd64.whl#sha256=31d06be6c398a85edfaf496ce43beadd0270193cf76855f4a23cba2e6691e7f7 (from https://pypi.org/simple/dlib/)
Found link https://files.pythonhosted.org/packages/2e/63/801499a0aa588ac29b3400477848caa43e6cbb76af3c1568fcd4b0c21cfd/dlib-18.17.100.zip#sha256=cf73a059caee158f1b1cb18c1a21020bea19311afc6dbacb2417b05ff4bf89d5 (from https://pypi.org/simple/dlib/), version: 18.17.100
Found link https://files.pythonhosted.org/packages/98/04/a42d2b901f2c456f86f3c8ace36e3df64d21d7f368b1cac468489205e850/dlib-19.0.0.tar.gz#sha256=f12433b9202c0a6aa2e730fe9784f984082d439a0eee4cb57074b9c02cf596f4 (from https://pypi.org/simple/dlib/), version: 19.0.0
Skipping link: none of the wheel's tags match: cp35-cp35m-win_amd64: https://files.pythonhosted.org/packages/19/e8/737eae439647f953aa1afe2f25ee88ff3399eb3c936e809f63e197e14036/dlib-19.1.0-cp35-cp35m-win_amd64.whl#sha256=a59fcc5e87ff01365e6d0711c5e3ae7676d12b8777c7a3c367e869dc9f921013 (from https://pypi.org/simple/dlib/)
Found link https://files.pythonhosted.org/packages/24/e5/af6b0a964ff4b726146128ab4f9cd67293426357c7399effab8240d2b8be/dlib-19.1.0.tar.gz#sha256=4e7a38d823daf42675082d0341f039510562aba09ac7689aa56ceb53d7d9e7cb (from https://pypi.org/simple/dlib/), version: 19.1.0
Skipping link: none of the wheel's tags match: cp35-cp35m-win_amd64: https://files.pythonhosted.org/packages/33/e9/a93e58de8dc08c117c37be7598a850e9142dae3c6e385186956a35a621a5/dlib-19.3.1-cp35-cp35m-win_amd64.whl#sha256=e3b402628eca04575b69295c225180d703354ff468712e3252f1708bcc737499 (from https://pypi.org/simple/dlib/)
Found link https://files.pythonhosted.org/packages/f7/3b/0969f13461e6ad84db58a6885c00725a6d97ed8c16b78470d11cc5f1f5de/dlib-19.3.1.tar.gz#sha256=0f35259d9da0ed24e3aefb4ad475045d469ffbf6a256dfa26edf59bbd4ac8670 (from https://pypi.org/simple/dlib/), version: 19.3.1
Skipping link: none of the wheel's tags match: cp35-cp35m-win_amd64: https://files.pythonhosted.org/packages/38/18/92fc25855307bcf582a30034ae657fda205de4f29773323bb388e592f17c/dlib-19.4.0-cp35-cp35m-win_amd64.whl#sha256=67e7d86eedaef650788b058d9e086198ead583f5bb3041fd9a431ae50658e9f4 (from https://pypi.org/simple/dlib/)
Found link https://files.pythonhosted.org/packages/1d/76/0f91fde37a83a40cf27e6cabd900b975c2667c522a07ae38e31cda2fa486/dlib-19.4.0.tar.gz#sha256=c23c172dd42d7bf703392e2ba6414e986e8ff5e3be1f848f0f1d1733fc0895b8 (from https://pypi.org/simple/dlib/), version: 19.4.0
Found link https://files.pythonhosted.org/packages/82/68/3c471ddd73afb1378eee507d765bf186e724e8bc81eb44501a99345d89c7/dlib-19.5.0.tar.gz#sha256=b5896c7a51992441eac605395e07f2b31548376cadc1f392d93f69c821e6552e (from https://pypi.org/simple/dlib/), version: 19.5.0
Found link https://files.pythonhosted.org/packages/24/ea/81e4fc5b978277899b1c1a63ff358f1f645f9369e59d9b5d9cc1d57c007c/dlib-19.5.1-cp36-cp36m-win_amd64.whl#sha256=7739535b76eb40cbcf49ba98d894894d06ee0b6e8f18a25fef2ab302fd5401c7 (from https://pypi.org/simple/dlib/), version: 19.5.1
Found link https://files.pythonhosted.org/packages/47/0c/4cef6abe23eb20ebbc9d7be66a15da21f3997f49a48b415d30a14e5586f0/dlib-19.5.1.tar.gz#sha256=d2920ec5ad68a621da9da37a50664bb8bebb19510a83630d5d7c4808419c9c88 (from https://pypi.org/simple/dlib/), version: 19.5.1
Found link https://files.pythonhosted.org/packages/5b/fa/65bad0783fe624f463ec3c46c0bc062d281ee33c032b3047d99ffcefc9f5/dlib-19.6.0-cp36-cp36m-win_amd64.whl#sha256=cf352921cf8ec79f3ff85868f70e6397bcbd41a265acbb410f00bf9342e28d19 (from https://pypi.org/simple/dlib/), version: 19.6.0
Found link https://files.pythonhosted.org/packages/3f/2f/2f433c62b56842fc1c3b7855269ca95a6d9757caaa47d6b20f93f13f45c3/dlib-19.6.0.tar.gz#sha256=97c0804a2a86bf8343729b74eea0b6f4985e048353c71eda6b62cb9e8cc5e1fe (from https://pypi.org/simple/dlib/), version: 19.6.0
Found link https://files.pythonhosted.org/packages/3c/97/e8e15bb7288c77085c130f9495f4a884a80a5c9f4634392cdae0aa8f53fe/dlib-19.6.1-cp36-cp36m-win_amd64.whl#sha256=aaa195c7820c3b301f74e5a7322d45101b2667ca8ccd5fc3085fd340e7cd3b68 (from https://pypi.org/simple/dlib/), version: 19.6.1
Found link https://files.pythonhosted.org/packages/e2/b3/8f689f96b6f2b1f66b6d8d0f91d5b1eb69a7f6a202869e64b0ff6ef74a06/dlib-19.6.1.tar.gz#sha256=43c30681eed2bbccb17a33558f84075150dfe2483aa3bbd9e3b9472b9eb4e212 (from https://pypi.org/simple/dlib/), version: 19.6.1
Found link https://files.pythonhosted.org/packages/da/06/bd3e241c4eb0a662914b3b4875fc52dd176a9db0d4a2c915ac2ad8800e9e/dlib-19.7.0-cp36-cp36m-win_amd64.whl#sha256=d71c78dce0f7614e05b92518cf4ad654af9e8bfc9e15dea6af3c4dbb306bcd09 (from https://pypi.org/simple/dlib/), version: 19.7.0
Found link https://files.pythonhosted.org/packages/e2/79/6aba1d2b3f9fbcf34d583188d8ff6818952ea875dceedf7c34a869637573/dlib-19.7.0.tar.gz#sha256=8728d820094f8df4a7c66fa5d8b4c944921ae79c56a094e33f2684122133fe6d (from https://pypi.org/simple/dlib/), version: 19.7.0
Found link https://files.pythonhosted.org/packages/9b/f4/8d13ff6d9c8520f96760780375af135ae0832325607690d84a367706f1e7/dlib-19.8.0.tar.gz#sha256=f541e1c33f1f74c2b84f348f4e18fb890540cb3ca3916fc9a4f7034e77ed2376 (from https://pypi.org/simple/dlib/), version: 19.8.0
Found link https://files.pythonhosted.org/packages/0e/ce/f8a3cff33ac03a8219768f0694c5d703c8e037e6aba2e865f9bae22ed63c/dlib-19.8.1-cp36-cp36m-win_amd64.whl#sha256=794994fa2c54e7776659fddb148363a5556468a6d5d46be8dad311722d54bfcf (from https://pypi.org/simple/dlib/), version: 19.8.1
Found link https://files.pythonhosted.org/packages/eb/99/6e2334b09bf48493b243a0fcb60a60659c847f86cecc1c2a7839609f88eb/dlib-19.8.1.tar.gz#sha256=a0dd66c4027bdcd5b1b385d51ae04d549f937c8939b546a4b937642e658715a1 (from https://pypi.org/simple/dlib/), version: 19.8.1
Found link https://files.pythonhosted.org/packages/92/7f/7711bf4bb25c7e8ff1c450bf397302d4b75e55abe6de54c75cc05a7b17db/dlib-19.8.2.tar.gz#sha256=3027573c53a4c797c829e38a9a161f224e1d600b7969290795cfedd28f8976dc (from https://pypi.org/simple/dlib/), version: 19.8.2
Found link https://files.pythonhosted.org/packages/23/7a/891d4c46cdf755fb69eec0f06a53033d3754bf68ace5342ad56aeb540aa1/dlib-19.9.0.tar.gz#sha256=33a9ec8b6e9fcf0538003d019d97968dc7601f2aaa60304a6146cf0f834259da (from https://pypi.org/simple/dlib/), version: 19.9.0
Found link https://files.pythonhosted.org/packages/54/ff/5781a11bdc0d1c90a813f3f66d460abf628e5114856a842d18d43f709a7a/dlib-19.10.0.tar.gz#sha256=d253701b7c17bf87e77055ca1fca551bda9e700fe90d61d27c72c5848237637e (from https://pypi.org/simple/dlib/), version: 19.10.0
Found link https://files.pythonhosted.org/packages/f2/02/dbffb7023494e1e39981ca65010b27501e844a0c8e79e1a3034ad8bf3734/dlib-19.12.0.tar.gz#sha256=3cd3a9cf0d8eae5f6bd7f4e87cf70eee1593e65a516f08a4712340a89f69d23e (from https://pypi.org/simple/dlib/), version: 19.12.0
Found link https://files.pythonhosted.org/packages/79/26/8ef2835606b4b37f704862b2db55edb89675daca0b82718244fca718cddd/dlib-19.13.0.tar.gz#sha256=8a6199a8903e625afa6b67be66b511b79bf2099981e0e0daae15c59c6a3e6c5e (from https://pypi.org/simple/dlib/), version: 19.13.0
Found link https://files.pythonhosted.org/packages/d5/5c/aa64510aa354d562ecba7edecd500b020280741140e5d91ff5ec1c6f8289/dlib-19.13.1.tar.gz#sha256=1d53739f4fa892874e61bb9602850d8d0afe8fbfb9262ff21981f594719384ed (from https://pypi.org/simple/dlib/), version: 19.13.1
Found link https://files.pythonhosted.org/packages/97/08/0d2b53b3845d562d01108e482ae45596a0d13bf58c63172df954ff0b53ef/dlib-19.14.0.tar.gz#sha256=88470836cb649b380f6f9eca054f08a94b115ee2845b1eccbf8a410efb2e3dc1 (from https://pypi.org/simple/dlib/), version: 19.14.0
Found link https://files.pythonhosted.org/packages/df/aa/6a9bb2a763107bb2606d6ee1aa65fcd3b51375a9ef6436e9c9280b0dd63c/dlib-19.15.0.tar.gz#sha256=ad5e9e6276d1486b8ef7383229379d759f155f7d2c703e67e3d84682fb2a93c5 (from https://pypi.org/simple/dlib/), version: 19.15.0
Found link https://files.pythonhosted.org/packages/35/8d/e4ddf60452e2fb1ce3164f774e68968b3f110f1cb4cd353235d56875799e/dlib-19.16.0.tar.gz#sha256=d1f167054cec10987094861468df9c2c63b07cd97693809bd22e634d62215b26 (from https://pypi.org/simple/dlib/), version: 19.16.0
Found link https://files.pythonhosted.org/packages/05/57/e8a8caa3c89a27f80bc78da39c423e2553f482a3705adc619176a3a24b36/dlib-19.17.0.tar.gz#sha256=92587c81b0165e933593f505fdf099dface0d0f8ec874b1d8655fc774598911f (from https://pypi.org/simple/dlib/), version: 19.17.0
Found link https://files.pythonhosted.org/packages/1e/62/aacb236d21fbd08148b1d517d58a9d80ea31bdcd386d26f21f8b23b1eb28/dlib-19.18.0.tar.gz#sha256=8ca127253a0ca82a3d847148515f82ff2c504ed77a6385ec4f38c7f8e5360860 (from https://pypi.org/simple/dlib/), version: 19.18.0
Found link https://files.pythonhosted.org/packages/63/92/05c3b98636661cb80d190a5a777dd94effcc14c0f6893222e5ca81e74fbc/dlib-19.19.0.tar.gz#sha256=d0eeaca07bc4c75973ad0f739a541d8fa4003af778f0dc1c2c595d470823819a (from https://pypi.org/simple/dlib/), version: 19.19.0
Found link https://files.pythonhosted.org/packages/f1/40/e407366816646bb452578997e6ca2140f004eec8f611e8512ee429ded2be/dlib-19.20.0.tar.gz#sha256=a3f5070df590c3f510dde2f4c84b1b20e3ef64a02932ed657da490834ecac7e4 (from https://pypi.org/simple/dlib/), version: 19.20.0
Given no hashes to check 30 links for project 'dlib': discarding no candidates
Using version 19.20.0 (newest of versions: 18.17.100, 19.0.0, 19.1.0, 19.3.1, 19.4.0, 19.5.0, 19.5.1, 19.6.0, 19.6.1, 19.7.0, 19.8.0, 19.8.1, 19.8.2, 19.9.0, 19.10.0, 19.12.0, 19.13.0, 19.13.1, 19.14.0, 19.15.0, 19.16.0, 19.17.0, 19.18.0, 19.19.0, 19.20.0)
Collecting dlib
Created temporary directory: C:\Users\joyje\AppData\Local\Temp\pip-unpack-f6mywhs6
Getting credentials from keyring for files.pythonhosted.org
Looking up "https://files.pythonhosted.org/packages/f1/40/e407366816646bb452578997e6ca2140f004eec8f611e8512ee429ded2be/dlib-19.20.0.tar.gz" in the cache
Current age based on date: 13887
Ignoring unknown cache-control directive: immutable
Freshness lifetime from max-age: 365000000
The response is "fresh", returning cached response
365000000 > 13887
Using cached dlib-19.20.0.tar.gz (3.2 MB)
Added dlib from https://files.pythonhosted.org/packages/f1/40/e407366816646bb452578997e6ca2140f004eec8f611e8512ee429ded2be/dlib-19.20.0.tar.gz#sha256=a3f5070df590c3f510dde2f4c84b1b20e3ef64a02932ed657da490834ecac7e4 to build tracker 'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-req-tracker-_z47an64'
Running setup.py (path:C:\Users\joyje\AppData\Local\Temp\pip-install-9xbpuox9\dlib\setup.py) egg_info for package dlib
Created temporary directory: C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8
Running command python setup.py egg_info
running egg_info
creating C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8\dlib.egg-info
writing C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8\dlib.egg-info\PKG-INFO
writing dependency_links to C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8\dlib.egg-info\dependency_links.txt
writing top-level names to C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8\dlib.egg-info\top_level.txt
writing manifest file 'C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8\dlib.egg-info\SOURCES.txt'
package init file 'dlib\__init__.py' not found (or not a regular file)
reading manifest file 'C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8\dlib.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'tools\python\build*'
no previously-included directories found matching 'dlib\test'
writing manifest file 'C:\Users\joyje\AppData\Local\Temp\pip-pip-egg-info-v97uvlf8\dlib.egg-info\SOURCES.txt'
Source in c:\users\joyje\appdata\local\temp\pip-install-9xbpuox9\dlib has version 19.20.0, which satisfies requirement dlib from https://files.pythonhosted.org/packages/f1/40/e407366816646bb452578997e6ca2140f004eec8f611e8512ee429ded2be/dlib-19.20.0.tar.gz#sha256=a3f5070df590c3f510dde2f4c84b1b20e3ef64a02932ed657da490834ecac7e4
Removed dlib from https://files.pythonhosted.org/packages/f1/40/e407366816646bb452578997e6ca2140f004eec8f611e8512ee429ded2be/dlib-19.20.0.tar.gz#sha256=a3f5070df590c3f510dde2f4c84b1b20e3ef64a02932ed657da490834ecac7e4 from build tracker 'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-req-tracker-_z47an64'
Building wheels for collected packages: dlib
Created temporary directory: C:\Users\joyje\AppData\Local\Temp\pip-wheel-q8c4e8ee
Building wheel for dlib (setup.py) ... Destination directory: C:\Users\joyje\AppData\Local\Temp\pip-wheel-q8c4e8ee
Running command 'C:\Users\joyje\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-install-9xbpuox9\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-install-9xbpuox9\\dlib\\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\joyje\AppData\Local\Temp\pip-wheel-q8c4e8ee'
running bdist_wheel
running build
running build_py
package init file 'dlib\__init__.py' not found (or not a regular file)
running build_ext
Traceback (most recent call last):
File "C:\Users\joyje\AppData\Local\Temp\pip-install-9xbpuox9\dlib\setup.py", line 120, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "C:\Users\joyje\anaconda3\lib\subprocess.py", line 356, in check_output
**kwargs).stdout
File "C:\Users\joyje\anaconda3\lib\subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\joyje\anaconda3\lib\subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "C:\Users\joyje\anaconda3\lib\subprocess.py", line 1017, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\joyje\AppData\Local\Temp\pip-install-9xbpuox9\dlib\setup.py", line 261, in <module>
'Topic :: Software Development',
File "C:\Users\joyje\anaconda3\lib\site-packages\setuptools\__init__.py", line 161, in setup
return distutils.core.setup(**attrs)
File "C:\Users\joyje\anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\joyje\anaconda3\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\joyje\anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\joyje\anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\joyje\AppData\Local\Temp\pip-install-9xbpuox9\dlib\setup.py", line 129, in run
cmake_version = self.get_cmake_version()
File "C:\Users\joyje\AppData\Local\Temp\pip-install-9xbpuox9\dlib\setup.py", line 125, in get_cmake_version
"\n*******************************************************************\n")
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
error
ERROR: Failed building wheel for dlib
Running setup.py clean for dlib
Running command 'C:\Users\joyje\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-install-9xbpuox9\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-install-9xbpuox9\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
running clean
'build\lib.win-amd64-3.6' does not exist -- can't clean it
'build\bdist.win-amd64' does not exist -- can't clean it
'build\scripts-3.6' does not exist -- can't clean it
Failed to build dlib
Installing collected packages: dlib
Created temporary directory: C:\Users\joyje\AppData\Local\Temp\pip-record-qtmve_em
Running command 'C:\Users\joyje\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-install-9xbpuox9\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\joyje\\AppData\\Local\\Temp\\pip-install-9xbpuox9\\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 'C:\Users\joyje\AppData\Local\Temp\pip-record-qtmve_em\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\joyje\anaconda3\Include\dlib'
running install
running build
running build_py
package init file 'dlib\__init__.py' not found (or not a regular file)
joyje\AppData\Local\Temp\pip-install-9xbpuox9\dlib\setup.py", line 129, in run
cmake_version = self.get_cmake_version()
File "C:\Users\joyje\AppData\Local\Temp\pip-install-9xbpuox9\dlib\setup.py", line 125, in get_cmake_version
"\n*******************************************************************\n")
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
Running setup.py install for dlib ... error
`enter code here`(base) C:\Users\joyje>
Я попытался установить ссылку на dlib со своего официального сайта.