focal pipenv is broken

Bug #1885609 reported by anatoly techtonik
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pipenv (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Running pipenv 11.9.0-1 installed from https://packages.ubuntu.com/focal/pipenv gives this when installing any package:

$ pipenv install wget
Installing wget…

Error: An error occurred while installing wget!
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f693d915740 (most recent call first):
Aborted (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: pipenv 11.9.0-1
ProcVersionSignature: Ubuntu 5.4.0-39.43-generic 5.4.41
Uname: Linux 5.4.0-39-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: i3
Date: Mon Jun 29 20:16:34 2020
InstallationDate: Installed on 2018-11-01 (605 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
PackageArchitecture: all
SourcePackage: pipenv
UpgradeStatus: Upgraded to focal on 2020-05-06 (54 days ago)

Revision history for this message
anatoly techtonik (techtonik) wrote :
description: updated
Revision history for this message
anatoly techtonik (techtonik) wrote :

The problem was in dangling virtualenv from previous versions. This is the fix:

$ rm -rf ~/.local/share/virtualenvs

Changed in pipenv (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.