{"action":"created","issue":{"url":"https://api.github.com/repos/annoviko/pyclustering/issues/312","repository_url":"https://api.github.com/repos/annoviko/pyclustering","labels_url":"https://api.github.com/repos/annoviko/pyclustering/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/annoviko/pyclustering/issues/312/comments","events_url":"https://api.github.com/repos/annoviko/pyclustering/issues/312/events","html_url":"https://github.com/annoviko/pyclustering/issues/312","id":181965696,"number":312,"title":"ccore.dll is not run by python","user":{"login":"aivanni","id":4340981,"avatar_url":"https://avatars.githubusercontent.com/u/4340981?v=3","gravatar_id":"","url":"https://api.github.com/users/aivanni","html_url":"https://github.com/aivanni","followers_url":"https://api.github.com/users/aivanni/followers","following_url":"https://api.github.com/users/aivanni/following{/other_user}","gists_url":"https://api.github.com/users/aivanni/gists{/gist_id}","starred_url":"https://api.github.com/users/aivanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aivanni/subscriptions","organizations_url":"https://api.github.com/users/aivanni/orgs","repos_url":"https://api.github.com/users/aivanni/repos","events_url":"https://api.github.com/users/aivanni/events{/privacy}","received_events_url":"https://api.github.com/users/aivanni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/annoviko/pyclustering/labels/misc","name":"misc","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"annoviko","id":6785869,"avatar_url":"https://avatars.githubusercontent.com/u/6785869?v=3","gravatar_id":"","url":"https://api.github.com/users/annoviko","html_url":"https://github.com/annoviko","followers_url":"https://api.github.com/users/annoviko/followers","following_url":"https://api.github.com/users/annoviko/following{/other_user}","gists_url":"https://api.github.com/users/annoviko/gists{/gist_id}","starred_url":"https://api.github.com/users/annoviko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annoviko/subscriptions","organizations_url":"https://api.github.com/users/annoviko/orgs","repos_url":"https://api.github.com/users/annoviko/repos","events_url":"https://api.github.com/users/annoviko/events{/privacy}","received_events_url":"https://api.github.com/users/annoviko/received_events","type":"User","site_admin":false},"assignees":[{"login":"annoviko","id":6785869,"avatar_url":"https://avatars.githubusercontent.com/u/6785869?v=3","gravatar_id":"","url":"https://api.github.com/users/annoviko","html_url":"https://github.com/annoviko","followers_url":"https://api.github.com/users/annoviko/followers","following_url":"https://api.github.com/users/annoviko/following{/other_user}","gists_url":"https://api.github.com/users/annoviko/gists{/gist_id}","starred_url":"https://api.github.com/users/annoviko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annoviko/subscriptions","organizations_url":"https://api.github.com/users/annoviko/orgs","repos_url":"https://api.github.com/users/annoviko/repos","events_url":"https://api.github.com/users/annoviko/events{/privacy}","received_events_url":"https://api.github.com/users/annoviko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-10T09:00:56Z","updated_at":"2016-10-11T19:12:08Z","closed_at":null,"body":"Hello, \r\n\r\nwhen running clustering with flag ccore=True. I get the following error:\r\n\r\n`\r\n\r\n    Traceback (most recent call last):\r\n      File \"cure_test.py\", line 15, in <module>\r\n        cure_instance.process();\r\n      File \"c:\\Python34\\lib\\site-packages\\pyclustering\\cluster\\cure.py\", line 138, in process\r\n        cure_data_pointer = wrapper.cure_algorithm(self.__pointer_data, self.__number_cluster,   self.__number_represent_points, self.__compression);\r\n      File \"c:\\Python34\\lib\\site-packages\\pyclustering\\core\\cure_wrapper.py\", line 34, in cure_algorithm\r\n        ccore = cdll.LoadLibrary(PATH_DLL_CCORE_64);\r\n      File \"c:\\Python34\\lib\\ctypes\\__init__.py\", line 429, in LoadLibrary\r\n        return self._dlltype(name)\r\n      File \"c:\\Python34\\lib\\ctypes\\__init__.py\", line 351, in init\r\n        self._handle = _dlopen(self._name, mode)\r\n    OSError: [WinError 193] %1 is not a valid Win32 application\r\n\r\n`\r\n\r\n\r\nI am using the following version of python:\r\n\r\nPython 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32\r\n\r\nCan it be a compiler incompatibility? What compiler do you use do build ccore.dll? Thank you!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/annoviko/pyclustering/issues/comments/253015294","html_url":"https://github.com/annoviko/pyclustering/issues/312#issuecomment-253015294","issue_url":"https://api.github.com/repos/annoviko/pyclustering/issues/312","id":253015294,"user":{"login":"annoviko","id":6785869,"avatar_url":"https://avatars.githubusercontent.com/u/6785869?v=3","gravatar_id":"","url":"https://api.github.com/users/annoviko","html_url":"https://github.com/annoviko","followers_url":"https://api.github.com/users/annoviko/followers","following_url":"https://api.github.com/users/annoviko/following{/other_user}","gists_url":"https://api.github.com/users/annoviko/gists{/gist_id}","starred_url":"https://api.github.com/users/annoviko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annoviko/subscriptions","organizations_url":"https://api.github.com/users/annoviko/orgs","repos_url":"https://api.github.com/users/annoviko/repos","events_url":"https://api.github.com/users/annoviko/events{/privacy}","received_events_url":"https://api.github.com/users/annoviko/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T19:12:08Z","updated_at":"2016-10-11T19:12:08Z","body":"@aivanni, so you are using 64-bit version of Python on 64-bit version of operation system? I have checked the issue for Windows 7 (64-bit) and it works without 'ccore.dll' rebuilding (by default it is compiled for 64-bit version). But anyway I will check again what can be wrong and ask @Polladin to check the issue also."}}
{"actor":{"display_login":"annoviko"}}