{"action":"created","issue":{"url":"https://api.github.com/repos/hoburg/gpkit/issues/959","repository_url":"https://api.github.com/repos/hoburg/gpkit","labels_url":"https://api.github.com/repos/hoburg/gpkit/issues/959/labels{/name}","comments_url":"https://api.github.com/repos/hoburg/gpkit/issues/959/comments","events_url":"https://api.github.com/repos/hoburg/gpkit/issues/959/events","html_url":"https://github.com/hoburg/gpkit/issues/959","id":192325200,"number":959,"title":"Windows 10 (64bit) installation error, \"no solver was given\"","user":{"login":"norheim","id":3459530,"avatar_url":"https://avatars.githubusercontent.com/u/3459530?v=3","gravatar_id":"","url":"https://api.github.com/users/norheim","html_url":"https://github.com/norheim","followers_url":"https://api.github.com/users/norheim/followers","following_url":"https://api.github.com/users/norheim/following{/other_user}","gists_url":"https://api.github.com/users/norheim/gists{/gist_id}","starred_url":"https://api.github.com/users/norheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norheim/subscriptions","organizations_url":"https://api.github.com/users/norheim/orgs","repos_url":"https://api.github.com/users/norheim/repos","events_url":"https://api.github.com/users/norheim/events{/privacy}","received_events_url":"https://api.github.com/users/norheim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-29T16:10:54Z","updated_at":"2016-11-29T19:28:35Z","closed_at":null,"body":"Perhaps there is an already resolved issue for this, but couldn't find anything either here or in the readthedocs documentation. Did a fresh install of Anaconda (64 bit), created a virtual environment(should not have any effects), and installed all dependencies (see below for pip freeze). Mosek is properly installed as running mosek -f works fine, and the licence is properly working as running msktestlic proves. Gcc is also available in the command line through installation of mingw (64bit). Most gpkit tests pass, except a couple that seem to complain: \r\n\r\n`ValueError: No solver was given; perhaps gpkit was not properly installed, or found no solvers during the installation process`\r\n\r\nGoing into gpkit\\env\\settings confirms the lack of solver as installed_solvers is blank. Any idea of what could be wrong? \r\n\r\npip freeze\r\nbackports-abc==0.5\r\nbackports.shutil-get-terminal-size==1.0.0\r\ncertifi==2016.9.26\r\ncolorama==0.3.7\r\nconfigparser==3.5.0\r\n**ctypesgen==0.post125**\r\ndecorator==4.0.10\r\nentrypoints==0.2.2\r\nenum34==1.1.6\r\nfunctools32==3.2.3.post2\r\n**gpkit==0.4.2.1**\r\nipykernel==4.5.1\r\n**ipython==5.1.0**\r\nipython-genutils==0.1.0\r\nipywidgets==5.2.2\r\nJinja2==2.8\r\njsonschema==2.5.1\r\njupyter-client==4.4.0\r\njupyter-core==4.2.0\r\nMarkupSafe==0.23\r\nmistune==0.7.3\r\nnbconvert==4.2.0\r\nnbformat==4.1.0\r\nnotebook==4.2.3\r\n**numpy==1.11.2**\r\npathlib2==2.1.0\r\npickleshare==0.7.4\r\nPint==0.7.2\r\nprompt-toolkit==1.0.9\r\nPygments==2.1.3\r\npyzmq==16.0.2\r\n**scipy==0.18.1**\r\nsimplegeneric==0.8.1\r\nsingledispatch==3.4.0.3\r\nsix==1.10.0\r\ntornado==4.4.2\r\ntraitlets==4.3.1\r\nwcwidth==0.1.7\r\nwidgetsnbextension==1.2.6\r\nwin-unicode-console==0.5\r\n"},"comment":{"url":"https://api.github.com/repos/hoburg/gpkit/issues/comments/263672520","html_url":"https://github.com/hoburg/gpkit/issues/959#issuecomment-263672520","issue_url":"https://api.github.com/repos/hoburg/gpkit/issues/959","id":263672520,"user":{"login":"norheim","id":3459530,"avatar_url":"https://avatars.githubusercontent.com/u/3459530?v=3","gravatar_id":"","url":"https://api.github.com/users/norheim","html_url":"https://github.com/norheim","followers_url":"https://api.github.com/users/norheim/followers","following_url":"https://api.github.com/users/norheim/following{/other_user}","gists_url":"https://api.github.com/users/norheim/gists{/gist_id}","starred_url":"https://api.github.com/users/norheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norheim/subscriptions","organizations_url":"https://api.github.com/users/norheim/orgs","repos_url":"https://api.github.com/users/norheim/repos","events_url":"https://api.github.com/users/norheim/events{/privacy}","received_events_url":"https://api.github.com/users/norheim/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T19:28:35Z","updated_at":"2016-11-29T19:28:35Z","body":"Thanks for getting back this quickly @bqpd . Here is the output from the console:\r\n\r\n```\r\nfrom gpkit.build import build_gpkit\r\nbuild_gpkit()\r\n#     Could not find __init__.py\r\nStarted building gpkit...\r\nAttempting to find and build solvers:\r\n# Looking for cvxopt\r\n#   Trying to import cvxopt...\r\n# Did not find cvxopt\r\n# Looking for mosek\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\platform\\win64x86\\h\\mosek.h\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\platform\\win64x86\\bin\\mosek64_8_0.dll\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\scopt-ext.c\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\expopt.c\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\dgopt.c\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\scopt-ext.h\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\expopt.h\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\dgopt.h\r\n#     Found C:\\Program Files\\Mosek\\8\\tools\\platform\\win64x86\\h\\mosek.h\r\n# Found mosek version 8, installed to C:\\Program Files\\Mosek\r\n#\r\n# Building mosek...\r\n#     Replacing directory gpkit\\_mosek\\lib\r\n#     Replacing directory C:\\Users\\johan\\.gpkit\r\n#     Replacing directory gpkit\\_mosek\\build\r\n#\r\n#   Copying expopt library files to gpkit\\_mosek\\build\r\n#     Copying C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\scopt-ext.c\r\n#     Copying C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\expopt.c\r\n#     Copying C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\dgopt.c\r\n#     Copying C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\scopt-ext.h\r\n#     Copying C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\expopt.h\r\n#     Copying C:\\Program Files\\Mosek\\8\\tools\\examples\\c\\dgopt.h\r\n#     Copying C:\\Program Files\\Mosek\\8\\tools\\platform\\win64x86\\h\\mosek.h\r\n#\r\n#   Applying expopt patches...\r\n#\r\n#     Change in gpkit\\_mosek\\build\\expopt.con line 1115\r\n#     --     printf (\"solsta = %d, prosta = %d\\n\", (int)*solsta,(int)*prosta);\r\n#     ++     MSK_echotask(expopttask,MSK_STREAM_MSG, \"solsta = %d, prosta = %d\\\r\n#\r\n#   Building expopt library...\r\n#     Calling 'gcc -fpic -shared -Wl,--export-all-symbols,-R \"C:\\Program Files\\Mosek\\8\\tools\\platform\\win64x86\\bin\"    gpkit\\_mosek\\build\\scopt-ext.c gpkit\\_mosek\\build\\expopt.c gpkit\\_mosek\\build\\dgopt.c   \"C:\\Program Files\\Mosek\\8\\tools\\platform\\win64x86\\bin\\mosek64_8_0.dll\" -o C:\\Users\\johan\\.gpkit\\expopt.so'\r\n##\r\n### CALL BEGINS\r\n### CALL ENDS\r\n##\r\n#\r\n#   Building Python bindings for expopt and Mosek...\r\n#     Calling 'python gpkit/modified_ctypesgen.py -a -l C:/Users/johan/.gpkit/expopt.so -l \"C:/Program Files/Mosek/8/tools/platform/win64x86/bin/mosek64_8_0.dll\" -o gpkit\\_mosek\\lib\\expopt_h.py    gpkit\\_mosek\\build\\expopt.h'\r\n##\r\n### CALL BEGINS\r\npython: can't open file 'gpkit/modified_ctypesgen.py': [Errno 2] No such file or directory\r\n### CALL ENDS\r\n##\r\n# Failed building mosek\r\n# Looking for mosek_cli\r\n# Build script does not support mosek_cli your architecture (64bit)\r\n# Did not find mosek_cli\r\nCan't find any solvers!\r\nfinished building gpkit.\r\nFound the following solvers: \r\n#     Replacing directory gpkit\\env\r\nReplaced the directory gpkit/env\r\n```\r\n\r\nAlso, I see it is looking for mosek_cli, would installing that instead of having mosek command line installed work?"}}
{"actor":{"display_login":"norheim"}}