{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1298","repository_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1298/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1298/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1298/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1298","id":195784087,"number":1298,"title":"MSVS 2015+ build of Python for Windows for nanoserver support","user":{"login":"ijstokes","id":293525,"avatar_url":"https://avatars.githubusercontent.com/u/293525?v=3","gravatar_id":"","url":"https://api.github.com/users/ijstokes","html_url":"https://github.com/ijstokes","followers_url":"https://api.github.com/users/ijstokes/followers","following_url":"https://api.github.com/users/ijstokes/following{/other_user}","gists_url":"https://api.github.com/users/ijstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/ijstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijstokes/subscriptions","organizations_url":"https://api.github.com/users/ijstokes/orgs","repos_url":"https://api.github.com/users/ijstokes/repos","events_url":"https://api.github.com/users/ijstokes/events{/privacy}","received_events_url":"https://api.github.com/users/ijstokes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-15T11:38:52Z","updated_at":"2016-12-16T09:08:21Z","closed_at":null,"body":"I don't really follow the details but for future reference this ML thread seemed to have some valuable information in it (related to #1219 it seems)\r\n\r\n> A separate issue is that Microsoft have dropped support for older MSVCRT versions in Nano server (I'm not sure what versions still work), we have a large codebase still using Python 2.7 and since this is built with MSVC 7 it won't run on Nanoserver. Miniconda2 would have to be rebuilt with an up-to-date compiler/IDE like VS2015. Someone has already done this successfully, http://p-nand-q.com/python/building-python-27-with-visual_studio.html\r\n\r\nOn Monday, 12 December 2016 12:38:06 UTC, Mark Snelling wrote:\r\n\r\n>  Agreed, a simple .zip file would be fine. Perhaps also with a PowerShell script to set up the environment etc?\r\n\r\nOn Sunday, 11 December 2016 03:11:48 UTC, Dave Hirschfeld wrote:\r\n\r\n> I just created the image manually so there's no dockerfile yet - I think it requires that Continuum provide an installer which works on nanoserver. My suggestion in the linked issue of providing a simple zip file would probably be sufficient...\r\n        \r\nOn Thursday, 8 December 2016 21:45:32 UTC+10, Mark Snelling wrote:\r\n\r\n> I don't suppose you could post your Dockerfile/scripts for this could you?\r\n\r\nOn Tuesday, 6 December 2016 23:15:03 UTC, Dave Hirschfeld wrote:\r\n\r\n> Yeah, I wasn't able to get it to work either:\r\n> https://github.com/ContinuumIO/anaconda-issues/issues/1219\r\n> ...however with some xcopy hackery I created an image which you can pull from DockerHub:\r\n> https://hub.docker.com/r/dhirschfeld/nano-miniconda/\r\n> I was just playing around but hopefully it works for you...\r\n> Note: msi's don't work on nanoserver - that was one of the subsystems removed.\r\n\r\nOn Wednesday, 7 December 2016 00:17:39 UTC+10, Mark Snelling wrote:\r\n\r\n> Has anyone tried installing Miniconda (or Anaconda) into a Windows container? I have just tried this using microsoft/nanoserver as a base image and the installer just exits. I know that Microsoft removed 32bit support in nanoserver and it looks like the installer is a 32bit process which could be why it doesn't work.\r\n\r\n> Are there plans to either move the installer to an .msi package, or produce a native x86_64 installer? And if not is there another, more manual, way of installing Miniconda?\r\n\r\nCC @dhirschfeld"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/267549273","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/1298#issuecomment-267549273","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/1298","id":267549273,"user":{"login":"msnelling","id":1067587,"avatar_url":"https://avatars.githubusercontent.com/u/1067587?v=3","gravatar_id":"","url":"https://api.github.com/users/msnelling","html_url":"https://github.com/msnelling","followers_url":"https://api.github.com/users/msnelling/followers","following_url":"https://api.github.com/users/msnelling/following{/other_user}","gists_url":"https://api.github.com/users/msnelling/gists{/gist_id}","starred_url":"https://api.github.com/users/msnelling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msnelling/subscriptions","organizations_url":"https://api.github.com/users/msnelling/orgs","repos_url":"https://api.github.com/users/msnelling/repos","events_url":"https://api.github.com/users/msnelling/events{/privacy}","received_events_url":"https://api.github.com/users/msnelling/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T09:08:21Z","updated_at":"2016-12-16T09:08:21Z","body":"I wrote an installation script in Powershell (https://gist.github.com/msnelling/49f222f5d608c55b1537639e86599645) that takes the following parameters.\r\n* **-Exe7z** path to the 7z.exe binary used to extract the package .bz2 and .tar files\r\n* **-PackageDir** path to the extracted contents of the Miniconda installer .exe\r\n* **-InstallDir** path to install Miniconda to, usually `\"$Env:ProgramFiles\\Miniconda3\"`\r\n\r\nI would have had the script also download the .exe and extract it but 7z chokes on the file."}}
{"actor":{"display_login":"msnelling"}}