Title: Doesn't compile on Windows · Issue #2 · mapcode-foundation/mapcode-python · GitHub
Open Graph Title: Doesn't compile on Windows · Issue #2 · mapcode-foundation/mapcode-python
X Title: Doesn't compile on Windows · Issue #2 · mapcode-foundation/mapcode-python
Description: When I try installing: C:\Python27>python -m pip install mapcode --target C:\Users\neels\Documents\FME\Plugins\Python Collecting mapcode Downloading mapcode-2.0.1.1.tar.gz (303kB) 100% |################################| 307kB 364kB/s Bui...
Open Graph Description: When I try installing: C:\Python27>python -m pip install mapcode --target C:\Users\neels\Documents\FME\Plugins\Python Collecting mapcode Downloading mapcode-2.0.1.1.tar.gz (303kB) 100% |###########...
X Description: When I try installing: C:\Python27>python -m pip install mapcode --target C:\Users\neels\Documents\FME\Plugins\Python Collecting mapcode Downloading mapcode-2.0.1.1.tar.gz (303kB) 100% |########...
Opengraph URL: https://github.com/mapcode-foundation/mapcode-python/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Doesn't compile on Windows","articleBody":"When I try installing:\nC:\\Python27\u003epython -m pip install mapcode --target C:\\Users\\neels\\Documents\\FME\\Plugins\\Python\nCollecting mapcode\n Downloading mapcode-2.0.1.1.tar.gz (303kB)\n 100% |################################| 307kB 364kB/s\nBuilding wheels for collected packages: mapcode\n Running setup.py bdist_wheel for mapcode ... error\n Complete output from command C:\\Python27\\python.exe -u -c \"import setuptools, tokenize;**file**='c:\\users\\neels\\appdata\\local\\temp\\pip-build-rayf8a\\mapcode\\setup.py';exec(compile(getattr(tokenize, 'open', open)(**file**).read().replace('\\r\\n', '\\n'), **file**, 'exec'))\" bdist_wheel -d c:\\users\\neels\\appdata\\local\\temp\\tmp9o982opip-wheel- --python-tag cp27:\n running bdist_wheel\n running build\n running build_ext\n building 'mapcode' extension\n creating build\n creating build\\temp.win32-2.7\n creating build\\temp.win32-2.7\\Release\n creating build\\temp.win32-2.7\\Release\\mapcodelib\n C:\\Users\\neels\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imapcodelib -IC:\\Python27\\include -IC:\\Python27\\PC /Tcmapcodemodule.c /Fobuild\\temp.win32-2.7\\Release\\mapcodemodule.obj\n mapcodemodule.c\n mapcodemodule.c(74) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(75) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(83) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(84) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(120) : error C2143: syntax error : missing ';' before 'type'\n mapcodemodule.c(121) : error C2143: syntax error : missing ';' before 'type'\n mapcodemodule.c(122) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(123) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(124) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(126) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(127) : error C2065: 'mapcode_results' : undeclared identifier\n mapcodemodule.c(127) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(127) : error C2109: subscript requires array or pointer type\n mapcodemodule.c(127) : error C2065: 'mapcode_results' : undeclared identifier\n mapcodemodule.c(127) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(127) : error C2109: subscript requires array or pointer type\n error: command 'C:\\Users\\neels\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2\n \n ----------------------------------------\n Failed building wheel for mapcode\n Running setup.py clean for mapcode\nFailed to build mapcode\nInstalling collected packages: mapcode\n Running setup.py install for mapcode ... error\n Complete output from command C:\\Python27\\python.exe -u -c \"import setuptools, tokenize;**file**='c:\\users\\neels\\appdata\\local\\temp\\pip-build-rayf8a\\mapcode\\setup.py';exec(compile(getattr(tokenize, 'open', open)(**file**).read().replace('\\r\\n', '\\n'), **file**, 'exec'))\" install --record c:\\users\\neels\\appdata\\local\\temp\\pip-bm_vlm-record\\install-record.txt --single-version-externally-managed --compile --home=c:\\users\\neels\\appdata\\local\\temp\\tmpo9lpsz:\n running install\n running build\n running build_ext\n building 'mapcode' extension\n creating build\n creating build\\temp.win32-2.7\n creating build\\temp.win32-2.7\\Release\n creating build\\temp.win32-2.7\\Release\\mapcodelib\n C:\\Users\\neels\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imapcodelib -IC:\\Python27\\include -IC:\\Python27\\PC /Tcmapcodemodule.c /Fobuild\\temp.win32-2.7\\Release\\mapcodemodule.obj\n mapcodemodule.c\n mapcodemodule.c(74) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(75) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(83) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(84) : error C2065: 'NAN' : undeclared identifier\n mapcodemodule.c(120) : error C2143: syntax error : missing ';' before 'type'\n mapcodemodule.c(121) : error C2143: syntax error : missing ';' before 'type'\n mapcodemodule.c(122) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(123) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(124) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(126) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(127) : error C2065: 'mapcode_results' : undeclared identifier\n mapcodemodule.c(127) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(127) : error C2109: subscript requires array or pointer type\n mapcodemodule.c(127) : error C2065: 'mapcode_results' : undeclared identifier\n mapcodemodule.c(127) : error C2065: 'n' : undeclared identifier\n mapcodemodule.c(127) : error C2109: subscript requires array or pointer type\n error: command 'C:\\Users\\neels\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2\n \n ----------------------------------------\nCommand \"C:\\Python27\\python.exe -u -c \"import setuptools, tokenize;**file**='c:\\users\\neels\\appdata\\local\\temp\\pip-build-rayf8a\\mapcode\\setup.py';exec(compile(getattr(tokenize, 'open', open)(**file**).read().replace('\\r\\n', '\\n'), **file**, 'exec'))\" install --record c:\\users\\neels\\appdata\\local\\temp\\pip-bm_vlm-record\\install-record.txt --single-version-externally-managed --compile --home=c:\\users\\neels\\appdata\\local\\temp\\tmpo9lpsz\" failed with error code 1 in c:\\users\\neels\\appdata\\local\\temp\\pip-build-rayf8a\\mapcode\\\n \nI also struggle to compile due to absence of a wheels module for the package:\nC:\\Python27\\mapcode-python\u003ec:\\Python27\\python.exe setup.py build_ext --inplace\nrunning build_ext\nbuilding 'mapcode' extension\nerror: Unable to find vcvarsall.bat\n \nAny help would be appreciated.\n","author":{"url":"https://github.com/rijnb","@type":"Person","name":"rijnb"},"datePublished":"2016-09-27T07:59:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/mapcode-python/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b362d617-4747-5407-49f4-931d5db21546 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97E4:3DD152:48D3F9C:5ED63FD:697536EC |
| html-safe-nonce | afcdb00b8b5681118bce8c8a717328f478821f35bd8999cb93feaeeb8fe3b296 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0U0OjNERDE1Mjo0OEQzRjlDOjVFRDYzRkQ6Njk3NTM2RUMiLCJ2aXNpdG9yX2lkIjoiMzc4NzM4OTg0OTQzNDQwNDU4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0de9854c6b7f3b6881460fb9039a869395e2622df3001e90bec83919e25e1be4 |
| hovercard-subject-tag | issue:179422174 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mapcode-foundation/mapcode-python/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b3126e80e4fc1a1088bf5eb04428a7b1fc187738b53edcb6ebc7e3507028121/mapcode-foundation/mapcode-python/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b3126e80e4fc1a1088bf5eb04428a7b1fc187738b53edcb6ebc7e3507028121/mapcode-foundation/mapcode-python/issues/2 |
| og:image:alt | When I try installing: C:\Python27>python -m pip install mapcode --target C:\Users\neels\Documents\FME\Plugins\Python Collecting mapcode Downloading mapcode-2.0.1.1.tar.gz (303kB) 100% |###########... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rijnb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/mapcode-foundation/mapcode-python git https://github.com/mapcode-foundation/mapcode-python.git |
| octolytics-dimension-user_id | 8832474 |
| octolytics-dimension-user_login | mapcode-foundation |
| octolytics-dimension-repository_id | 36062283 |
| octolytics-dimension-repository_nwo | mapcode-foundation/mapcode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36062283 |
| octolytics-dimension-repository_network_root_nwo | mapcode-foundation/mapcode-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width