{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/280","labels_url":"https://api.github.com/repos/conda/conda-build/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/280/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/280/events","html_url":"https://github.com/conda/conda-build/issues/280","id":52450639,"number":280,"title":"Cannot install tweepy package from pip","user":{"login":"robertlayton","id":800543,"avatar_url":"https://avatars.githubusercontent.com/u/800543?v=3","gravatar_id":"","url":"https://api.github.com/users/robertlayton","html_url":"https://github.com/robertlayton","followers_url":"https://api.github.com/users/robertlayton/followers","following_url":"https://api.github.com/users/robertlayton/following{/other_user}","gists_url":"https://api.github.com/users/robertlayton/gists{/gist_id}","starred_url":"https://api.github.com/users/robertlayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertlayton/subscriptions","organizations_url":"https://api.github.com/users/robertlayton/orgs","repos_url":"https://api.github.com/users/robertlayton/repos","events_url":"https://api.github.com/users/robertlayton/events{/privacy}","received_events_url":"https://api.github.com/users/robertlayton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-19T05:58:43Z","updated_at":"2015-08-04T01:41:41Z","closed_at":null,"body":"Hi, I'm having a problem installing tweepy from conda-buildpip on osx.\r\n```\r\n$conda-pipbuild tweepy\r\nPassword:\r\nFetching package metadata: ..\r\nCreating standard recipe for tweepy-3.1.0\r\nb'Using url https://pypi.python.org/packages/source/t/tweepy/tweepy-3.1.0.tar.gz (23 KB) for tweepy.\\nDownloading tweepy (use --no-download to skip this step)\\nUsing cached download\\nUnpacking tweepy...\\ndone\\nworking in /tmp/tmpoh1t8redconda_skeleton_tweepy\\nFetching package metadata: ...\\nSolving package specifications: .patching file core.py\\nHunk #1 succeeded at 168 with fuzz 2 (offset 1 line).\\nTraceback (most recent call last):\\n  File \"setup.py\", line 5, in <module>\\n    from pip.req import parse_requirements\\nImportError: No module named \\'pip\\'\\n\\nApplying patch: \\'/tmp/tmpoh1t8redconda_skeleton_tweepy/pypi-distutils.patch\\'\\n$PYTHONPATH = /tmp/tmpoh1t8redconda_skeleton_tweepy/tweepy-3.1.0\\nError: command failed: /Users/bob/anaconda/envs/_build/bin/python setup.py install\\n'\r\nconda create -n _pipbuild_ --yes python pip\r\nError: prefix already exists: /Users/bob/anaconda/envs/_pipbuild_\r\n/Users/bob/anaconda/envs/_pipbuild_/bin/pip install tweepy==3.1.0\r\nRequirement already satisfied (use --upgrade to upgrade): tweepy==3.1.0 in ./anaconda/envs/_pipbuild_/lib/python3.4/site-packages\r\nCleaning up...\r\nGetting dependencies...\r\n  File \"__tmpfile__.py\", line 3\r\n    print [(req.key, req.specs) for req in reqs]\r\n                                  ^\r\nSyntaxError: invalid syntax\r\nAn unexpected error has occurred, please consider sending the\r\nfollowing traceback to the conda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda-build/issues\r\n\r\nInclude the output of the command 'conda info' in your report.\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 156, in build_recipe\r\n    result = subprocess.check_output(args, stderr=subprocess.STDOUT)\r\n  File \"/Users/bob/anaconda/lib/python3.4/subprocess.py\", line 620, in check_output\r\n    raise CalledProcessError(retcode, process.args, output=output)\r\nsubprocess.CalledProcessError: Command '['conda', 'skeleton', 'pypi', 'tweepy', '--version', '3.1.0', '--no-prompt']' returned non-zero exit status 1\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 300, in build_package\r\n    directory = build_recipe(package, version=version)\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 159, in build_recipe\r\n    raise RuntimeError((\" \".join(args)))\r\nRuntimeError: conda skeleton pypi tweepy --version 3.1.0 --no-prompt\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/bob/anaconda/bin/conda-pipbuild\", line 5, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 77, in main\r\n    args_func(args, p)\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_build.py\", line 308, in args_func\r\n    args.func(args, p)\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 350, in execute\r\n    build_package(package, version)\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 303, in build_package\r\n    directory, dependencies = make_recipe(package, version)\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 245, in make_recipe\r\n    depends = get_all_dependencies(package, version)\r\n  File \"/Users/bob/anaconda/lib/python3.4/site-packages/conda_build/main_pipbuild.py\", line 225, in get_all_dependencies\r\n    output = subprocess.check_output(cmd3args)\r\n  File \"/Users/bob/anaconda/lib/python3.4/subprocess.py\", line 620, in check_output\r\n    raise CalledProcessError(retcode, process.args, output=output)\r\nsubprocess.CalledProcessError: Command '['/Users/bob/anaconda/envs/_pipbuild_/bin/python', '__tmpfile__.py']' returned non-zero exit status 1\r\n```\r\n\r\nDespite this saying that tweepy is already installed, (I had previously tried with just pip3) it won't import. It also does the same error if I uninstall tweepy and try the same command.\r\nIt requests my conda info, so here is is:\r\n\r\n```\r\n$ conda info\r\nCurrent conda install:\r\n\r\n             platform : osx-64\r\n        conda version : 3.7.3\r\n  conda-build version : 1.8.2\r\n       python version : 3.4.2.final.0\r\n     requests version : 2.4.3\r\n     root environment : /Users/bob/anaconda  (writable)\r\n  default environment : /Users/bob/anaconda\r\n     envs directories : /Users/bob/anaconda/envs\r\n        package cache : /Users/bob/anaconda/pkgs\r\n         channel URLs : http://repo.continuum.io/pkgs/free/osx-64/\r\n                        http://repo.continuum.io/pkgs/pro/osx-64/\r\n          config file : None\r\n    is foreign system : False\r\n```"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/127451910","html_url":"https://github.com/conda/conda-build/issues/280#issuecomment-127451910","issue_url":"https://api.github.com/repos/conda/conda-build/issues/280","id":127451910,"user":{"login":"ericmjl","id":2631566,"avatar_url":"https://avatars.githubusercontent.com/u/2631566?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmjl","html_url":"https://github.com/ericmjl","followers_url":"https://api.github.com/users/ericmjl/followers","following_url":"https://api.github.com/users/ericmjl/following{/other_user}","gists_url":"https://api.github.com/users/ericmjl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmjl/subscriptions","organizations_url":"https://api.github.com/users/ericmjl/orgs","repos_url":"https://api.github.com/users/ericmjl/repos","events_url":"https://api.github.com/users/ericmjl/events{/privacy}","received_events_url":"https://api.github.com/users/ericmjl/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T01:41:41Z","updated_at":"2015-08-04T01:41:41Z","body":"Might it be a Python 3 syntax issue? I noticed that the `print` command does not have parentheses."}}