{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pipenv/issues/2944","repository_url":"https://api.github.com/repos/pypa/pipenv","labels_url":"https://api.github.com/repos/pypa/pipenv/issues/2944/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pipenv/issues/2944/comments","events_url":"https://api.github.com/repos/pypa/pipenv/issues/2944/events","html_url":"https://github.com/pypa/pipenv/issues/2944","id":367929801,"node_id":"MDU6SXNzdWUzNjc5Mjk4MDE=","number":2944,"title":"I can't install Django (or any other package) using pipenv","user":{"login":"kalasni","id":9201072,"node_id":"MDQ6VXNlcjkyMDEwNzI=","avatar_url":"https://avatars1.githubusercontent.com/u/9201072?v=4","gravatar_id":"","url":"https://api.github.com/users/kalasni","html_url":"https://github.com/kalasni","followers_url":"https://api.github.com/users/kalasni/followers","following_url":"https://api.github.com/users/kalasni/following{/other_user}","gists_url":"https://api.github.com/users/kalasni/gists{/gist_id}","starred_url":"https://api.github.com/users/kalasni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalasni/subscriptions","organizations_url":"https://api.github.com/users/kalasni/orgs","repos_url":"https://api.github.com/users/kalasni/repos","events_url":"https://api.github.com/users/kalasni/events{/privacy}","received_events_url":"https://api.github.com/users/kalasni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-08T19:51:59Z","updated_at":"2018-10-09T00:59:54Z","closed_at":null,"author_association":"NONE","body":"I can't install Django (or any other package) using pipenv. I \"think\" I have a conflict with the Python versions installed on my system (Ubuntu 18.04), or when installing pipenv with pip. \r\n\r\nHow could I solve this problem? Thanks in advance\r\n\r\npipenv installed by:\r\n\r\n$ pip install --user pipenv\r\n\r\n$ python --version  \r\nPython 2.7.15rc1\r\n(by default, even though I use an alias to run python3 by default.\r\nalias python='/usr/bin/python3.6'  )\r\n\r\n$ pipenv --python 3\r\nCreating a virtualenv for this project...\r\nPipfile: /home/ro/workspace/pyt/django-jwt/Pipfile\r\nUsing /usr/bin/python3 (3.6.6) to create virtualenv...\r\n⠋Running virtualenv with interpreter /usr/bin/python3\r\nUsing base prefix '/usr'\r\nNew python executable in /home/ro/.local/share/virtualenvs/django-jwt-l8_cwxbw/bin/python3\r\nAlso creating executable in /home/ro/.local/share/virtualenvs/django-jwt-l8_cwxbw/bin/python\r\nInstalling setuptools, pip, wheel...done.\r\nSetting project for django-jwt-l8_cwxbw to /home/ro/workspace/pyt/django-jwt\r\n\r\nVirtualenv location: /home/ro/.local/share/virtualenvs/django-jwt-l8_cwxbw\r\nCreating a Pipfile for this project...\r\n\r\n\r\n$ pipenv install django\r\nInstalling django...\r\nTraceback (most recent call last):\r\n  File \"/home/ro/.local/bin/pipenv\", line 11, in <module>\r\n    sys.exit(cli())\r\n  File \"/home/ro/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/ro/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n...\r\n..\r\nFile \"/home/ro/.local/lib/python2.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py\", line 704, in from_line\r\n    line, extras = _strip_extras(line)\r\nTypeError: 'module' object is not callable\r\n/home/ro/.local/lib/python2.7/site-packages/pipenv/_compat.py:113: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/pipenv-Bpi57Z-requirements'>\r\n  warnings.warn(warn_message, ResourceWarning)\r\n\r\n<details><summary>$ pipenv --support</summary>\r\npipenv --support\r\nPipenv version: `'2018.7.1'`\r\n\r\nPipenv location: `'/home/ro/.local/lib/python2.7/site-packages/pipenv'`\r\n\r\nPython location: `'/usr/bin/python'`\r\n\r\nOther Python installations in `PATH`:\r\n\r\n  - `2.7`: `/usr/bin/python2.7`\r\n  - `2.7`: `/usr/bin/python2.7`\r\n  - `3.6`: `/usr/bin/python3.6m`\r\n  - `3.6`: `/usr/bin/python3.6`\r\n\r\n  - `2.7.15`: `/usr/bin/python`\r\n  - `2.7.15`: `/usr/bin/python2`\r\n  - `3.6.6`: `/usr/bin/python3`\r\n\r\nPEP 508 Information:\r\n\r\n```\r\n{'implementation_name': 'cpython',\r\n 'implementation_version': '0',\r\n 'os_name': 'posix',\r\n 'platform_machine': 'x86_64',\r\n 'platform_python_implementation': 'CPython',\r\n 'platform_release': '4.15.0-36-generic',\r\n 'platform_system': 'Linux',\r\n 'platform_version': '#39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018',\r\n 'python_full_version': '2.7.15rc1',\r\n 'python_version': '2.7',\r\n 'sys_platform': 'linux2'}\r\n```\r\n\r\nSystem environment variables:\r\n\r\n  - `KDE_SESSION_VERSION`\r\n  - `XCURSOR_SIZE`\r\n  - `XDG_CURRENT_DESKTOP`\r\n  - `XDG_SESSION_TYPE`\r\n  - `LOGNAME`\r\n  - `USER`\r\n  - `PATH`\r\n  - `XDG_VTNR`\r\n  - `HOME`\r\n  - `PAM_KWALLET_LOGIN`\r\n  - `DISPLAY`\r\n  - `KDE_FULL_SESSION`\r\n  - `LANG`\r\n  - `PROFILEHOME`\r\n  - `TERM`\r\n  - `SHELL`\r\n  - `COLORFGBG`\r\n  - `XAUTHORITY`\r\n  - `LANGUAGE`\r\n  - `SESSION_MANAGER`\r\n  - `XDG_DATA_DIRS`\r\n  - `GS_LIB`\r\n  - `MANDATORY_PATH`\r\n  - `KONSOLE_PROFILE_NAME`\r\n  - `XCURSOR_THEME`\r\n  - `KONSOLE_DBUS_WINDOW`\r\n  - `RBENV_SHELL`\r\n  - `QT_ACCESSIBILITY`\r\n  - `WINDOWID`\r\n  - `XDG_RUNTIME_DIR`\r\n  - `SSH_AGENT_PID`\r\n  - `__GIT_PROMPT_IGNORE_SUBMODULES`\r\n  - `KONSOLE_DBUS_SESSION`\r\n  - `XDG_SESSION_CLASS`\r\n  - `XDG_SESSION_DESKTOP`\r\n  - `KDE_SESSION_UID`\r\n  - `__GIT_PROMPT_SHOW_CHANGED_FILES_COUNT`\r\n  - `SSH_AUTH_SOCK`\r\n  - `KONSOLE_DBUS_SERVICE`\r\n  - `PAM_KWALLET5_LOGIN`\r\n  - `PIP_PYTHON_PATH`\r\n  - `GTK2_RC_FILES`\r\n  - `XDG_SEAT_PATH`\r\n  - `XDG_SESSION_PATH`\r\n  - `GIT_BRANCH`\r\n  - `LESSOPEN`\r\n  - `XDG_SESSION_ID`\r\n  - `SHELL_SESSION_ID`\r\n  - `_`\r\n  - `DBUS_SESSION_BUS_ADDRESS`\r\n  - `GTK_RC_FILES`\r\n  - `DESKTOP_SESSION`\r\n  - `GPG_AGENT_INFO`\r\n  - `LESSCLOSE`\r\n  - `DEFAULTS_PATH`\r\n  - `XDG_SEAT`\r\n  - `OLDPWD`\r\n  - `__GIT_PROMPT_IGNORE_STASH`\r\n  - `PYTHONDONTWRITEBYTECODE`\r\n  - `__GIT_PROMPT_SHOW_UNTRACKED_FILES`\r\n  - `SHLVL`\r\n  - `PWD`\r\n  - `QT_AUTO_SCREEN_SCALE_FACTOR`\r\n  - `COLORTERM`\r\n  - `XDG_CONFIG_DIRS`\r\n  - `LS_COLORS`\r\n  - `__GIT_PROMPT_SHOW_UPSTREAM`\r\n\r\nPipenv–specific environment variables:\r\n\r\n\r\nDebug–specific environment variables:\r\n\r\n  - `PATH`: `/usr/local/heroku/bin:/home/ro/.rbenv/plugins/ruby-build/bin:/home/ro/.rbenv/shims:/home/ro/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ro/.local/bin`\r\n  - `SHELL`: `/bin/bash`\r\n  - `LANG`: `es_ES.UTF-8`\r\n  - `PWD`: `/home/ro/workspace/pyt/django-jwt`\r\n\r\n\r\n---------------------------\r\n\r\nContents of `Pipfile` ('/home/ro/workspace/pyt/django-jwt/Pipfile'):\r\n\r\n```toml\r\n[[source]]\r\nurl = \"https://pypi.org/simple\"\r\nverify_ssl = true\r\nname = \"pypi\"\r\n\r\n[dev-packages]\r\n\r\n[packages]\r\n\r\n[requires]\r\npython_version = \"3.6\"\r\n\r\n```\r\n\r\n</details>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pypa/pipenv/issues/comments/428025224","html_url":"https://github.com/pypa/pipenv/issues/2944#issuecomment-428025224","issue_url":"https://api.github.com/repos/pypa/pipenv/issues/2944","id":428025224,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODAyNTIyNA==","user":{"login":"ManniCS","id":5167358,"node_id":"MDQ6VXNlcjUxNjczNTg=","avatar_url":"https://avatars3.githubusercontent.com/u/5167358?v=4","gravatar_id":"","url":"https://api.github.com/users/ManniCS","html_url":"https://github.com/ManniCS","followers_url":"https://api.github.com/users/ManniCS/followers","following_url":"https://api.github.com/users/ManniCS/following{/other_user}","gists_url":"https://api.github.com/users/ManniCS/gists{/gist_id}","starred_url":"https://api.github.com/users/ManniCS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManniCS/subscriptions","organizations_url":"https://api.github.com/users/ManniCS/orgs","repos_url":"https://api.github.com/users/ManniCS/repos","events_url":"https://api.github.com/users/ManniCS/events{/privacy}","received_events_url":"https://api.github.com/users/ManniCS/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T00:59:54Z","updated_at":"2018-10-09T00:59:54Z","author_association":"NONE","body":"I have the same problem. Downgrading to pip 18.0, as suggested on https://github.com/pypa/pipenv/pull/2935 did not solve for me"}}
{"actor":{"display_login":"ManniCS"}}