{"action":"created","issue":{"url":"https://api.github.com/repos/tarbell-project/tarbell/issues/395","labels_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/395/comments","events_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/395/events","html_url":"https://github.com/tarbell-project/tarbell/issues/395","id":127328164,"number":395,"title":"Error when installing Tarbell with pip on Mac OS","user":{"login":"ghing","id":110420,"avatar_url":"https://avatars.githubusercontent.com/u/110420?v=3","gravatar_id":"","url":"https://api.github.com/users/ghing","html_url":"https://github.com/ghing","followers_url":"https://api.github.com/users/ghing/followers","following_url":"https://api.github.com/users/ghing/following{/other_user}","gists_url":"https://api.github.com/users/ghing/gists{/gist_id}","starred_url":"https://api.github.com/users/ghing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghing/subscriptions","organizations_url":"https://api.github.com/users/ghing/orgs","repos_url":"https://api.github.com/users/ghing/repos","events_url":"https://api.github.com/users/ghing/events{/privacy}","received_events_url":"https://api.github.com/users/ghing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-01-18T23:05:30Z","updated_at":"2016-01-22T15:02:46Z","closed_at":"2016-01-22T15:02:46Z","body":"Originally [reported](https://github.com/tarbell-project/tarbell/issues/370#issuecomment-172630858) by @moxphere in #370:\r\n\r\n> a few months ago, I was trying to create my first tarbell and made the\r\ninstall process until the end. After a few months with no time to spare, I\r\ndecided to get back to it. However, when I tried to start a new project,\r\nI've received the following message:\r\n>\r\n>```\r\nWinterfell-2:~ MacBookPro$ tarbell newproject\r\n-bash: tarbell: command not found\r\n```\r\n>\r\nAll supporting software (Python, Pip, Virtualenv) are installed. So I tried\r\nto install it again:\r\n>\r\n>```\r\nWinterfell-2:~ MacBookPro$ pip install tarbell\r\n```\r\n>\r\nBut a long error message came out after an apparently successful start\r\n(hightlighting in red the part of the Terminal error message that had this\r\ncolor):\r\n>\r\n>```\r\nCollecting tarbell\r\n  Using cached tarbell-1.0.4.tar.gz\r\nRequirement already satisfied (use --upgrade to upgrade): Flask==0.10.1 in\r\n/Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): Jinja2==2.7.3 in\r\n/Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): Markdown==2.4.1\r\nin /Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): MarkupSafe==0.23\r\nin /Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade):\r\nFrozen-Flask==0.11 in /Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): PyYAML==3.11 in\r\n/Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): boto==2.38.0 in\r\n/Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): clint==0.4.1 in\r\n/Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade):\r\ngnureadline==6.3.3 in /Library/Python/2.7/site-packages (from tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade):\r\ngoogle-api-python-client==1.3.1 in /Library/Python/2.7/site-packages (from\r\ntarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): keyring==5.3 in\r\n/Library/Python/2.7/site-packages (from tarbell)\r\nCollecting python-dateutil>=2.2 (from tarbell)\r\n  Using cached python_dateutil-2.4.2-py2.py3-none-any.whl\r\nCollecting requests==2.3.0 (from tarbell)\r\n  Using cached requests-2.3.0-py2.py3-none-any.whl\r\nCollecting sh==1.09 (from tarbell)\r\n  Using cached sh-1.09.tar.gz\r\nRequirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in\r\n/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7\r\n(from tarbell)\r\nCollecting xlrd==0.9.3 (from tarbell)\r\n  Using cached xlrd-0.9.3.tar.gz\r\nRequirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in\r\n/Library/Python/2.7/site-packages (from Flask==0.10.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade):\r\nitsdangerous>=0.21 in /Library/Python/2.7/site-packages (from\r\nFlask==0.10.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): args in\r\n/Library/Python/2.7/site-packages (from clint==0.4.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): httplib2>=0.8 in\r\n/Library/Python/2.7/site-packages (from\r\ngoogle-api-python-client==1.3.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): oauth2client>=1.3\r\nin /Library/Python/2.7/site-packages (from\r\ngoogle-api-python-client==1.3.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): uritemplate>=0.6\r\nin /Library/Python/2.7/site-packages (from\r\ngoogle-api-python-client==1.3.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): six>=1.5 in\r\n/Library/Python/2.7/site-packages (from python-dateutil>=2.2->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in\r\n/Library/Python/2.7/site-packages (from\r\noauth2client>=1.3->google-api-python-client==1.3.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade):\r\npyasn1-modules>=0.0.5 in /Library/Python/2.7/site-packages (from\r\noauth2client>=1.3->google-api-python-client==1.3.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): rsa>=3.1.4 in\r\n/Library/Python/2.7/site-packages (from\r\noauth2client>=1.3->google-api-python-client==1.3.1->tarbell)\r\nRequirement already satisfied (use --upgrade to upgrade): simplejson>=2.5.0\r\nin /Library/Python/2.7/site-packages (from\r\nuritemplate>=0.6->google-api-python-client==1.3.1->tarbell)\r\nInstalling collected packages: python-dateutil, requests, sh, xlrd, tarbell\r\n  Found existing installation: python-dateutil 1.5\r\n    Uninstalling python-dateutil-1.5:\r\nException:\r\nTraceback (most recent call last):\r\n  File\r\n\"/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py\",\r\nline 211, in main\r\n    status = self.run(options, args)\r\n  File\r\n\"/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py\",\r\nline 311, in run\r\n    root=options.root_path,\r\n  File\r\n\"/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py\",\r\nline 640, in install\r\n    requirement.uninstall(auto_confirm=True)\r\n  File\r\n\"/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py\",\r\nline 716, in uninstall\r\n    paths_to_remove.remove(auto_confirm)\r\n  File\r\n\"/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_uninstall.py\",\r\nline 125, in remove\r\n    renames(path, new_path)\r\n  File\r\n\"/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/utils/__init__.py\",\r\nline 315, in renames\r\n    shutil.move(old, new)\r\n  File\r\n\"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py\",\r\nline 299, in move\r\n    copytree(src, real_dst, symlinks=True)\r\n  File\r\n\"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py\",\r\nline 208, in copytree\r\n    raise Error, errors\r\nError:\r\n[('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/__init__.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/easter.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/parser.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/relativedelta.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/rrule.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tz.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/tzwin.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.py',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.py',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.py'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.pyc',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.pyc',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/__init__.pyc'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/zoneinfo-2010g.tar.gz',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/zoneinfo-2010g.tar.gz',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo/zoneinfo-2010g.tar.gz'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil/zoneinfo'\"),\r\n('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil',\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil',\r\n\"[Errno 1] Operation not permitted:\r\n'/var/folders/3z/kd_ybxm91fdgtnm85782x2v00000gn/T/pip-S0uXRS-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/dateutil'\")]\r\n```\r\n\r\nI suggested that this might be an error with permissions and that they run:\r\n\r\n```\r\nsudo pip install tarbell\r\n```\r\n\r\nThis didn't work, as pip gave the following error:\r\n\r\n```\r\nThe directory '/Users/MacBookPro/Library/Caches/pip/http' or its parent\r\ndirectory is not owned by the current user and the cache has been disabled.\r\nPlease check the permissions and owner of that directory. If executing pip\r\nwith sudo, you may want sudo's -H flag.\r\nThe directory '/Users/MacBookPro/Library/Caches/pip' or its parent\r\ndirectory is not owned by the current user and caching wheels has been\r\ndisabled. check the permissions and owner of that directory. If executing\r\npip with sudo, you may want sudo's -H flag.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tarbell-project/tarbell/issues/comments/173943296","html_url":"https://github.com/tarbell-project/tarbell/issues/395#issuecomment-173943296","issue_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/395","id":173943296,"user":{"login":"ghing","id":110420,"avatar_url":"https://avatars.githubusercontent.com/u/110420?v=3","gravatar_id":"","url":"https://api.github.com/users/ghing","html_url":"https://github.com/ghing","followers_url":"https://api.github.com/users/ghing/followers","following_url":"https://api.github.com/users/ghing/following{/other_user}","gists_url":"https://api.github.com/users/ghing/gists{/gist_id}","starred_url":"https://api.github.com/users/ghing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghing/subscriptions","organizations_url":"https://api.github.com/users/ghing/orgs","repos_url":"https://api.github.com/users/ghing/repos","events_url":"https://api.github.com/users/ghing/events{/privacy}","received_events_url":"https://api.github.com/users/ghing/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T15:02:46Z","updated_at":"2016-01-22T15:02:46Z","body":"Thanks for breaking it down, @moxphere.  Your life working with Python will probably be a lot better now that you've installed it with Homebrew.  I'm closing this issue."}}