{"action":"closed","issue":{"url":"https://api.github.com/repos/mperrin/poppy/issues/80","labels_url":"https://api.github.com/repos/mperrin/poppy/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/mperrin/poppy/issues/80/comments","events_url":"https://api.github.com/repos/mperrin/poppy/issues/80/events","html_url":"https://github.com/mperrin/poppy/issues/80","id":60526182,"number":80,"title":"poppy fails to install using pip3 in Python3 virtualenv","user":{"login":"kmdouglass","id":3697676,"avatar_url":"https://avatars.githubusercontent.com/u/3697676?v=3","gravatar_id":"","url":"https://api.github.com/users/kmdouglass","html_url":"https://github.com/kmdouglass","followers_url":"https://api.github.com/users/kmdouglass/followers","following_url":"https://api.github.com/users/kmdouglass/following{/other_user}","gists_url":"https://api.github.com/users/kmdouglass/gists{/gist_id}","starred_url":"https://api.github.com/users/kmdouglass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmdouglass/subscriptions","organizations_url":"https://api.github.com/users/kmdouglass/orgs","repos_url":"https://api.github.com/users/kmdouglass/repos","events_url":"https://api.github.com/users/kmdouglass/events{/privacy}","received_events_url":"https://api.github.com/users/kmdouglass/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-03-10T16:18:44Z","updated_at":"2015-04-13T04:13:24Z","closed_at":"2015-04-13T04:13:24Z","body":"Hi all,\r\nI've just setup a clean virtualenv named myEnv in which I attempted to install poppy from pip3. Here are the current versions of packages I setup in the virtualenv using the Python 3.4.1 interpreter. I'm using Debian Wheezy.\r\n\r\n```sh\r\n(myEnv)douglass:~$ pip freeze\r\nastropy==1.0.1\r\ncertifi==14.5.14\r\nd2to1==0.2.11\r\ndocutils==0.12\r\nipython==3.0.0\r\nJinja2==2.7.3\r\njsonschema==2.4.0\r\nMarkupSafe==0.23\r\nmatplotlib==1.4.3\r\nmistune==0.5.1\r\nnose==1.3.4\r\nnumpy==1.9.2\r\nnumpydoc==0.5\r\npsutil==2.2.1\r\nptyprocess==0.4\r\npyfits==3.3\r\nPygments==2.0.2\r\npyparsing==2.0.3\r\npysynphot==0.9.6\r\npython-dateutil==2.4.1\r\npytz==2014.10\r\npyzmq==14.5.0\r\nrequests==2.5.3\r\nscipy==0.15.1\r\nsix==1.9.0\r\nSphinx==1.2.3\r\nstsci.distutils==0.3.7\r\nterminado==0.5\r\ntornado==4.1\r\n```\r\n\r\nAnd the output from the install attempt:\r\n\r\n```sh\r\n(myEnv)douglass:~$ pip3 install poppy\r\nCollecting poppy\r\n  Using cached poppy-0.3.4.tar.gz\r\n    /home/douglass/.virtualenvs/myEnv/lib/python3.4/site-packages/pkg_resources/__init__.py:190: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behav\r\nior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you h\r\nave another use case requiring the tuple, please file a bug with the setuptools project describing that need.                                                                                                   \r\n      stacklevel=1,\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 20, in <module>\r\n      File \"/tmp/pip-build-8io8bu2m/poppy/setup.py\", line 71, in <module>\r\n        cmdclassd = register_commands(PACKAGENAME, VERSION, RELEASE)\r\n      File \"/tmp/pip-build-8io8bu2m/poppy/.eggs/astropy_helpers-0.4.8-py3.4.egg/astropy_helpers/setup_helpers.py\", line 409, in register_commands\r\n        'build_ext': generate_build_ext_command(package, release),\r\n      File \"/tmp/pip-build-8io8bu2m/poppy/.eggs/astropy_helpers-0.4.8-py3.4.egg/astropy_helpers/setup_helpers.py\", line 470, in generate_build_ext_command\r\n        uses_cython = should_build_with_cython(packagename, release)\r\n      File \"/tmp/pip-build-8io8bu2m/poppy/.eggs/astropy_helpers-0.4.8-py3.4.egg/astropy_helpers/setup_helpers.py\", line 1205, in should_build_with_cython\r\n        fromlist=['release', 'cython_version'])\r\n      File \"/tmp/pip-build-8io8bu2m/poppy/poppy/__init__.py\", line 78, in <module>\r\n        from . import poppy_core\r\n    Complete output from command python setup.py egg_info:\r\n    /home/douglass/.virtualenvs/myEnv/lib/python3.4/site-packages/pkg_resources/__init__.py:190: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behav\r\nior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you h\r\nave another use case requiring the tuple, please file a bug with the setuptools project describing that need.                                                                                                   \r\n    \r\n      stacklevel=1,\r\n    \r\n    Traceback (most recent call last):\r\n    \r\n      File \"<string>\", line 20, in <module>\r\n    \r\n      File \"/tmp/pip-build-8io8bu2m/poppy/setup.py\", line 71, in <module>\r\n    \r\n        cmdclassd = register_commands(PACKAGENAME, VERSION, RELEASE)\r\n    \r\n      File \"/tmp/pip-build-8io8bu2m/poppy/.eggs/astropy_helpers-0.4.8-py3.4.egg/astropy_helpers/setup_helpers.py\", line 409, in register_commands\r\n    \r\n        'build_ext': generate_build_ext_command(package, release),\r\n    \r\n      File \"/tmp/pip-build-8io8bu2m/poppy/.eggs/astropy_helpers-0.4.8-py3.4.egg/astropy_helpers/setup_helpers.py\", line 470, in generate_build_ext_command\r\n    \r\n        uses_cython = should_build_with_cython(packagename, release)\r\n    \r\n      File \"/tmp/pip-build-8io8bu2m/poppy/.eggs/astropy_helpers-0.4.8-py3.4.egg/astropy_helpers/setup_helpers.py\", line 1205, in should_build_with_cython\r\n    \r\n        fromlist=['release', 'cython_version'])\r\n    \r\n      File \"/tmp/pip-build-8io8bu2m/poppy/poppy/__init__.py\", line 78, in <module>\r\n    \r\n        from . import poppy_core\r\n    \r\n    ----------------------------------------\r\n    Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-8io8bu2m/poppy\r\n```\r\n\r\nAny idea how I can install poppy using Python3, or am I stuck with Python2? I also ran into a similar error when trying to install PyFFTW, but this is probably a secondary issue.\r\n\r\nThanks!\r\n"}}