Package: pipenv
Version: 11.9.0-1
Severity: normal

Dear Maintainer,

I've been using pipenv with Python 3.4, which I installed from on my Debian Sid.

Today I tried to run it with Python 3.6, which is still available in the
debian archive[1].  But got the following error.

All you have to do is run

    $ pipenv --python 3.6

Does Debian supports multiple version of Python, anyway?  If so, is
there a chance that this bug(?) will be fixed?



-- Installed package for Python 3.6
ii  libpython3.6:amd64           3.6.8-1
ii  libpython3.6-dev:amd64       3.6.8-1
ii  libpython3.6-minimal:amd64   3.6.8-1
ii  libpython3.6-stdlib:amd64    3.6.8-1
ii  python3.6                    3.6.8-1
ii  python3.6-dev                3.6.8-1
ii  python3.6-minimal            3.6.8-1

-- Log
$ pipenv --python 3.6
Creating a virtualenv for this project…
Using /usr/bin/python3.6m (3.6.8) to create virtualenv…
⠋Running virtualenv with interpreter /usr/bin/python3.6m
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/", line 25, in <module>
    import distutils.sysconfig
ModuleNotFoundError: No module named 'distutils.sysconfig'

Virtualenv location: /tmp/pipenv-test/.venv
Creating a Pipfile for this project…
Traceback (most recent call last):
  File "/usr/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv==11.9.0', 'console_scripts', 'pipenv')()
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/",
line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/",
line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/",
line 1043, in invoke
    return Command.invoke(self, ctx)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/",
line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/",
line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/vendor/click/",
line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/pipenv/", line 235, in cli
    three=three, python=python, warn=True, site_packages=site_packages
  File "/usr/lib/python3/dist-packages/pipenv/", line 636, in
    ensure_pipfile(validate=validate, skip_requirements=skip_requirements)
  File "/usr/lib/python3/dist-packages/pipenv/", line 289, in
  File "/usr/lib/python3/dist-packages/pipenv/", line 518,
in create_pipfile
    'python_version': python_version(required_python)[: len('2.7')]
TypeError: 'NoneType' object is not subscriptable

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pipenv depends on:
ii  python3                   3.7.2-1
ii  python3-certifi           2018.8.24-1
ii  python3-pip               18.1-4
ii  python3-pkg-resources     40.7.1-1
ii  python3-virtualenv        15.1.0+ds-2
ii  python3-virtualenv-clone  0.3.0-1.2

pipenv recommends no packages.

pipenv suggests no packages.

-- no debconf information

Reply via email to