{"action":"created","issue":{"url":"https://api.github.com/repos/paradoxxxzero/butterfly/issues/63","labels_url":"https://api.github.com/repos/paradoxxxzero/butterfly/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/paradoxxxzero/butterfly/issues/63/comments","events_url":"https://api.github.com/repos/paradoxxxzero/butterfly/issues/63/events","html_url":"https://github.com/paradoxxxzero/butterfly/issues/63","id":56356979,"number":63,"title":"AttributeError: 'module' object has no attribute 'getuid' (Win7-x64)","user":{"login":"fibric","id":623932,"avatar_url":"https://avatars.githubusercontent.com/u/623932?v=3","gravatar_id":"","url":"https://api.github.com/users/fibric","html_url":"https://github.com/fibric","followers_url":"https://api.github.com/users/fibric/followers","following_url":"https://api.github.com/users/fibric/following{/other_user}","gists_url":"https://api.github.com/users/fibric/gists{/gist_id}","starred_url":"https://api.github.com/users/fibric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fibric/subscriptions","organizations_url":"https://api.github.com/users/fibric/orgs","repos_url":"https://api.github.com/users/fibric/repos","events_url":"https://api.github.com/users/fibric/events{/privacy}","received_events_url":"https://api.github.com/users/fibric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T10:06:04Z","updated_at":"2015-02-03T10:53:49Z","closed_at":"2015-02-03T10:53:49Z","body":"I tried to install butterfly on company windows pc.\r\nbecause all windows terminals are crap...\r\n\r\nbut instead of downloading python, i uses Chocolatey https://chocolatey.org/\r\n\r\ninstalling pip\r\n\r\n```\r\nC:\\Windows\\system32> cinst pip\r\nChocolatey (v0.9.8.31) is installing 'pip' and dependencies. By installing you accept the license for 'pip' and each dependency you are installing.\r\n\r\npip v1.2.0\r\nSearching for pip\r\nBest match: pip 1.5.6\r\nAdding pip 1.5.6 to easy-install.pth file\r\nInstalling pip-script.py script to C:\\tools\\python\\Scripts\r\nInstalling pip.exe script to C:\\tools\\python\\Scripts\r\nInstalling pip3.4-script.py script to C:\\tools\\python\\Scripts\r\nInstalling pip3.4.exe script to C:\\tools\\python\\Scripts\r\nInstalling pip3-script.py script to C:\\tools\\python\\Scripts\r\nInstalling pip3.exe script to C:\\tools\\python\\Scripts\r\n\r\nUsing c:\\tools\\python\\lib\\site-packages\r\nProcessing dependencies for pip\r\nFinished processing dependencies for pip\r\npip has finished successfully! The chocolatey gods have answered your request!\r\nFinished installing 'pip' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.\r\n```\r\n\r\ninstalling butterfly\r\n\r\n```\r\nC:\\Windows\\system32> pip install butterfly\r\nDownloading/unpacking butterfly\r\n  Running setup.py (path:C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\butterfly\\setup.py) egg_info for package butterfly\r\n\r\nDownloading/unpacking tornado>=3.2 (from butterfly)\r\n  Running setup.py (path:C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\tornado\\setup.py) egg_info forpackage tornado\r\n\r\nDownloading/unpacking pyOpenSSL (from butterfly)\r\n  Running setup.py (path:C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\pyOpenSSL\\setup.py) egg_info for package pyOpenSSL\r\n\r\n    warning: no previously-included files matching '*.pyc' found anywhere in distribution\r\n    no previously-included directories found matching 'doc\\_build'\r\nDownloading/unpacking tornado-systemd (from butterfly)\r\n  Downloading tornado_systemd-1.0.1.tar.gz\r\n  Running setup.py (path:C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\tornado-systemd\\setup.py) egg_info for package tornado-systemd\r\n\r\nDownloading/unpacking certifi (from tornado>=3.2->butterfly)\r\n  Running setup.py (path:C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\certifi\\setup.py) egg_info forpackage certifi\r\n\r\nDownloading/unpacking cryptography>=0.2.1 (from pyOpenSSL->butterfly)\r\nDownloading/unpacking six>=1.5.2 (from pyOpenSSL->butterfly)\r\n  Downloading six-1.9.0-py2.py3-none-any.whl\r\nDownloading/unpacking pyasn1 (from cryptography>=0.2.1->pyOpenSSL->butterfly)\r\n  Running setup.py (path:C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\pyasn1\\setup.py) egg_info for package pyasn1\r\n\r\nDownloading/unpacking cffi>=0.8 (from cryptography>=0.2.1->pyOpenSSL->butterfly)\r\nRequirement already satisfied (use --upgrade to upgrade): setuptools in c:\\tools\\python\\lib\\site-packages (from cryptography>=0.2.1->pyOpenSSL->butterfly)\r\nDownloading/unpacking pycparser (from cffi>=0.8->cryptography>=0.2.1->pyOpenSSL->butterfly)\r\n  Running setup.py (path:C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\pycparser\\setup.py) egg_info for package pycparser\r\n\r\nInstalling collected packages: butterfly, tornado, pyOpenSSL, tornado-systemd, certifi, cryptography, six, pyasn1, cffi, pycparser\r\n  Running setup.py install for butterfly\r\n\r\n  Running setup.py install for tornado\r\n    building 'tornado.speedups' extension\r\n    Unable to find vcvarsall.bat\r\n    C:\\Users\\DENNY~1.TRE\\AppData\\Local\\Temp\\pip_build_denny.trebbin\\tornado\\setup.py:93: UserWarning:\r\n    ********************************************************************\r\n    WARNING: The tornado.speedups extension module could not\r\n    be compiled. No C extensions are essential for Tornado to run,\r\n    although they do result in significant speed improvements for\r\n    websockets.\r\n    The output above this warning shows how the compilation failed.\r\n\r\n    Here are some hints for popular operating systems:\r\n\r\n    If you are seeing this message on Linux you probably need to\r\n    install GCC and/or the Python development package for your\r\n    version of Python.\r\n\r\n    Debian and Ubuntu users should issue the following command:\r\n\r\n        $ sudo apt-get install build-essential python-dev\r\n\r\n    RedHat, CentOS, and Fedora users should issue the following command:\r\n\r\n        $ sudo yum install gcc python-devel\r\n\r\n    If you are seeing this message on OSX please read the documentation\r\n    here:\r\n\r\n    http://api.mongodb.org/python/current/installation.html#osx\r\n    ********************************************************************\r\n\r\n      \"The output above \"\r\n\r\n  Running setup.py install for pyOpenSSL\r\n\r\n    warning: no previously-included files matching '*.pyc' found anywhere in distribution\r\n    no previously-included directories found matching 'doc\\_build'\r\n  Running setup.py install for tornado-systemd\r\n\r\n  Running setup.py install for certifi\r\n\r\n  Running setup.py install for pyasn1\r\n\r\n  Running setup.py install for pycparser\r\n\r\nSuccessfully installed butterfly tornado pyOpenSSL tornado-systemd certifi cryptography six pyasn1 cffi pycparser\r\nCleaning up...\r\n```\r\n\r\nrunning butterfly\r\n\r\n```\r\nPS C:\\Windows\\system32> butterfly.server.py\r\nTraceback (most recent call last):\r\n  File \"C:\\tools\\python\\Scripts\\butterfly.server.py\", line 73, in <module>\r\n    if os.getuid() == 0:\r\nAttributeError: 'module' object has no attribute 'getuid'\r\nPS C:\\Windows\\system32>\r\n```"},"comment":{"url":"https://api.github.com/repos/paradoxxxzero/butterfly/issues/comments/72630975","html_url":"https://github.com/paradoxxxzero/butterfly/issues/63#issuecomment-72630975","issue_url":"https://api.github.com/repos/paradoxxxzero/butterfly/issues/63","id":72630975,"user":{"login":"paradoxxxzero","id":271144,"avatar_url":"https://avatars.githubusercontent.com/u/271144?v=3","gravatar_id":"","url":"https://api.github.com/users/paradoxxxzero","html_url":"https://github.com/paradoxxxzero","followers_url":"https://api.github.com/users/paradoxxxzero/followers","following_url":"https://api.github.com/users/paradoxxxzero/following{/other_user}","gists_url":"https://api.github.com/users/paradoxxxzero/gists{/gist_id}","starred_url":"https://api.github.com/users/paradoxxxzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paradoxxxzero/subscriptions","organizations_url":"https://api.github.com/users/paradoxxxzero/orgs","repos_url":"https://api.github.com/users/paradoxxxzero/repos","events_url":"https://api.github.com/users/paradoxxxzero/events{/privacy}","received_events_url":"https://api.github.com/users/paradoxxxzero/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T10:53:49Z","updated_at":"2015-02-03T10:53:49Z","body":"Butterfly does not work with windows as is. Nobody has tried to make it work with cmd.exe yet.\r\nYou can use it under cygwin though."}}