{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/5675","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/5675/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/5675/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/5675/events","html_url":"https://github.com/BVLC/caffe/issues/5675","id":234627227,"node_id":"MDU6SXNzdWUyMzQ2MjcyMjc=","number":5675,"title":"Cmake could not find url for MSVC version","user":{"login":"rezaalikhani","id":8143115,"node_id":"MDQ6VXNlcjgxNDMxMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/8143115?v=4","gravatar_id":"","url":"https://api.github.com/users/rezaalikhani","html_url":"https://github.com/rezaalikhani","followers_url":"https://api.github.com/users/rezaalikhani/followers","following_url":"https://api.github.com/users/rezaalikhani/following{/other_user}","gists_url":"https://api.github.com/users/rezaalikhani/gists{/gist_id}","starred_url":"https://api.github.com/users/rezaalikhani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezaalikhani/subscriptions","organizations_url":"https://api.github.com/users/rezaalikhani/orgs","repos_url":"https://api.github.com/users/rezaalikhani/repos","events_url":"https://api.github.com/users/rezaalikhani/events{/privacy}","received_events_url":"https://api.github.com/users/rezaalikhani/received_events","type":"User","site_admin":false},"labels":[{"id":331492585,"node_id":"MDU6TGFiZWwzMzE0OTI1ODU=","url":"https://api.github.com/repos/BVLC/caffe/labels/windows","name":"windows","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-06-08T19:10:19Z","updated_at":"2018-07-27T14:13:04Z","closed_at":"2017-06-08T19:12:56Z","author_association":"NONE","body":"Hello,\r\nI am a new user of Caffe and I got this error when I wanted to build Caffe on windows: \r\n\r\n   ```\r\n INFO: Summary:\r\n    INFO: ============================================================\r\n    INFO: MSVC_VERSION               = 12\r\n    INFO: WITH_NINJA                 = 0\r\n    INFO: CMAKE_GENERATOR            = \"Visual Studio 12 2013 Win64\"\r\n    INFO: CPU_ONLY                   = 0\r\n    INFO: CUDA_ARCH_NAME             = Auto\r\n    INFO: CMAKE_CONFIG               = Release\r\n    INFO: USE_NCCL                   = 0\r\n    INFO: CMAKE_BUILD_SHARED_LIBS    = 0\r\n    INFO: PYTHON_VERSION             = 2\r\n    INFO: BUILD_PYTHON               = 1\r\n    INFO: BUILD_PYTHON_LAYER         = 1\r\n    INFO: BUILD_MATLAB               = 1\r\n    INFO: PYTHON_EXE                 = \"python\"\r\n    INFO: RUN_TESTS                  = 0\r\n    INFO: RUN_LINT                   = 0\r\n    INFO: RUN_INSTALL                = 0\r\n    INFO: ============================================================\r\n    -- The C compiler identification is MSVC 18.0.40629.0\r\n    -- The CXX compiler identification is MSVC 18.0.40629.0\r\n    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe\r\n    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works\r\n    -- Detecting C compiler ABI info\r\n    -- Detecting C compiler ABI info - done\r\n    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe\r\n    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works\r\n    -- Detecting CXX compiler ABI info\r\n    -- Detecting CXX compiler ABI info - done\r\n    -- Detecting CXX compile features\r\n    -- Detecting CXX compile features - done\r\n    -- Found PythonInterp: C:/Users/Reza Alikhani/AppData/Local/Programs/Python/Python35/python.exe (found suitable version \"3.5.2\", minimum required is \"2.7\")\r\n    CMake Error at cmake/WindowsDownloadPrebuiltDependencies.cmake:40 (message):\r\n      Could not find url for MSVC version = 1800 and Python version = 3.5.\r\n    Call Stack (most recent call first):\r\n      CMakeLists.txt:77 (include)\r\n    \r\n```\r\nIs there anybody here who can help me?"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/408430930","html_url":"https://github.com/BVLC/caffe/issues/5675#issuecomment-408430930","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/5675","id":408430930,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODQzMDkzMA==","user":{"login":"gfursin","id":7384805,"node_id":"MDQ6VXNlcjczODQ4MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/7384805?v=4","gravatar_id":"","url":"https://api.github.com/users/gfursin","html_url":"https://github.com/gfursin","followers_url":"https://api.github.com/users/gfursin/followers","following_url":"https://api.github.com/users/gfursin/following{/other_user}","gists_url":"https://api.github.com/users/gfursin/gists{/gist_id}","starred_url":"https://api.github.com/users/gfursin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfursin/subscriptions","organizations_url":"https://api.github.com/users/gfursin/orgs","repos_url":"https://api.github.com/users/gfursin/repos","events_url":"https://api.github.com/users/gfursin/events{/privacy}","received_events_url":"https://api.github.com/users/gfursin/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T14:13:04Z","updated_at":"2018-07-27T14:13:04Z","author_association":"NONE","body":"Hi @suleymanov. Yes, you can import caffe in your python scripts after installing it via CK. CK just automates detection of already installed software on different platforms, installation of missing dependencies, and then feeding environment variables to caffe cmake. After that you can use *caffe* as usual. \r\n\r\nAfter building Caffe via CK, you can test it as follows (if you installed Caffe with python3):\r\n```\r\n$ ck virtual env --tags=lib,caffe\r\n> python3 \r\nimport caffe\r\n```\r\n\r\nCK also creates env.sh with all PATHs, LD_LIBRARY_PATH, PYTHONPATH, etc for any installation via CK. You can see it for caffe as follows:\r\n```\r\n$ ck cat env --tags=lib,caffe\r\n```\r\nYou can read a bit more about all that here: \r\n* https://tinyurl.com/y8ont6pw\r\n* https://github.com/ctuning/ck/wiki/First-Steps\r\n"}}
{"actor":{"display_login":"gfursin"}}