{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platformio/issues/279","labels_url":"https://api.github.com/repos/platformio/platformio/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio/issues/279/comments","events_url":"https://api.github.com/repos/platformio/platformio/issues/279/events","html_url":"https://github.com/platformio/platformio/issues/279","id":103778093,"number":279,"title":"error: option --single-version-externally-managed not recognized","user":{"login":"brakmic","id":56779,"avatar_url":"https://avatars.githubusercontent.com/u/56779?v=3","gravatar_id":"","url":"https://api.github.com/users/brakmic","html_url":"https://github.com/brakmic","followers_url":"https://api.github.com/users/brakmic/followers","following_url":"https://api.github.com/users/brakmic/following{/other_user}","gists_url":"https://api.github.com/users/brakmic/gists{/gist_id}","starred_url":"https://api.github.com/users/brakmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brakmic/subscriptions","organizations_url":"https://api.github.com/users/brakmic/orgs","repos_url":"https://api.github.com/users/brakmic/repos","events_url":"https://api.github.com/users/brakmic/events{/privacy}","received_events_url":"https://api.github.com/users/brakmic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/platformio/platformio/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/platformio/platformio/milestones/19","html_url":"https://github.com/platformio/platformio/milestones/2.3.2","labels_url":"https://api.github.com/repos/platformio/platformio/milestones/19/labels","id":1292558,"number":19,"title":"2.3.2","description":"","creator":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-09-06T15:20:09Z","updated_at":"2015-09-11T08:18:21Z","due_on":null,"closed_at":null},"comments":40,"created_at":"2015-08-28T19:09:34Z","updated_at":"2015-09-14T13:46:37Z","closed_at":"2015-09-10T14:47:23Z","body":"# Solution\r\n\r\n## Using PlatformIO installer script\r\n\r\nTry to install PlatformIO using [installer script](http://docs.platformio.org/en/latest/installation.html#installer-script).\r\n\r\n## Using temporary hook with ``virtualenv``\r\nSee https://github.com/platformio/platformio/issues/279#issuecomment-138599194. Please paste these commands into Terminal:\r\n```bash\r\n[sudo] pip install -U pip setuptools virtualenv\r\n\r\n# hook\r\ncd /tmp\r\nvirtualenv piotest\r\nsource piotest/bin/activate\r\npip install scons\r\ndeactivate\r\nrm -r piotest\r\n\r\n# now, install PlatformIO\r\n[sudo] pip install platformio\r\n```\r\n\r\nIf this doesn't work for you, please describe your problems in the comments below. Thanks!\r\n\r\n-----------------\r\nHi,\r\n\r\nI get an installation error when trying to install \"scons\" under **Windows 10 x64**. :sob: \r\nOther packages seem to be installed properly.\r\n\r\n```shell\r\nD:\\src\\plarformio>pip install -U pip setuptools scons\r\nRequirement already up-to-date: pip in c:\\bin\\python27\\lib\\site-packages\r\nRequirement already up-to-date: setuptools in c:\\bin\\python27\\lib\\site-packages\r\nCollecting scons\r\n  Using cached scons-2.3.6.tar.gz\r\nInstalling collected packages: scons\r\n  Running setup.py install for scons\r\n    Complete output from command C:\\bin\\Python27\\python.exe -c \"import setuptools, tokenize;__file__='c:\\\\users\\\\harris\\\\appdata\\\\local\\\\\r\ntemp\\\\pip-build-dil9zr\\\\scons\\\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, '\r\nexec'))\" install --record c:\\users\\harris\\appdata\\local\\temp\\pip-35frnt-record\\install-record.txt --single-version-externally-managed --c\r\nompile:\r\n    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\r\n       or: -c --help [cmd1 cmd2 ...]\r\n       or: -c --help-commands\r\n       or: -c cmd --help\r\n\r\n    error: option --single-version-externally-managed not recognized\r\n\r\n    ----------------------------------------\r\nCommand \"C:\\bin\\Python27\\python.exe -c \"import setuptools, tokenize;__file__='c:\\\\users\\\\harris\\\\appdata\\\\local\\\\temp\\\\pip-build-dil9zr\\\\\r\nscons\\\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --recor\r\nd c:\\users\\harris\\appdata\\local\\temp\\pip-35frnt-record\\install-record.txt --single-version-externally-managed --compile\" failed with erro\r\nr code 1 in c:\\users\\harris\\appdata\\local\\temp\\pip-build-dil9zr\\scons\r\n```\r\n\r\nAccording to <a href=\"http://stackoverflow.com/questions/14296531/what-does-error-option-single-version-externally-managed-not-recognized-ind\" target=\"_blank\">this SO thread</a> the problem disappears by using the flag \"--egg\". \r\n\r\nHowever, I know only very little about python and its environment and wouldn't say that this is a \"proper\" solution to this problem but at least it worked for me. Maybe there are some of you with similar problems. Just in the case of a more general problem it would be nice to put it somewhere in the docs.\r\n\r\nHere's the command I used to install \"scons\".\r\n\r\n```code\r\npip install -U pip setuptools --egg scons\r\n```\r\n\r\nAnd here's the proof :smile: \r\n\r\n```shell\r\n\r\nD:\\src\\plarformio>pip install -U pip setuptools --egg scons\r\nRequirement already up-to-date: pip in c:\\bin\\python27\\lib\\site-packages\r\nRequirement already up-to-date: setuptools in c:\\bin\\python27\\lib\\site-packages\r\nCollecting scons\r\n  Using cached scons-2.3.6.tar.gz\r\nInstalling collected packages: scons\r\n  Running setup.py install for scons\r\nSuccessfully installed scons\r\n```\r\n\r\nBest regards,\r\nHarris"},"comment":{"url":"https://api.github.com/repos/platformio/platformio/issues/comments/140080449","html_url":"https://github.com/platformio/platformio/issues/279#issuecomment-140080449","issue_url":"https://api.github.com/repos/platformio/platformio/issues/279","id":140080449,"user":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T13:46:37Z","updated_at":"2015-09-14T13:46:37Z","body":"@robotdad thank for the report! Have you used PlatformIO before 2.3 release?"}}