Closed charliesneath closed 4 years ago
This was an old bug introduced in 2018.11.26
and was already fixed in the latest release, closing it now.
Thanks for taking a look. I've already tried updating through sudo apt install --upgrade pipenv
and I'm on the latest version of Pipenv. Anything else I should be trying?
But when I'm trying to update pipenv through pip, I see the following. Is this caused by competing installs/uninstalls of pip
?
$ sudo apt install --upgrade pipenv
Reading package lists... Done
Building dependency tree
Reading state information... Done
pipenv is already the newest version (11.9.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo pip install --upgrade pipenv
sudo: pip: command not found
$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (18.1-5+rpt1).
python3-pip set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Issue description
Seeing an
AssertionError
when running a command usingsudo pipenv run
within asystemd
service unit on a Raspberry Pi Zero W. I have the same setup with a few other RPi devices and don't see the error, so I think it is possibly caused by trying to install Pip separately for some unrelated scripts I was testing.This isn't blocking as I can flash the SD card, but if possible, I would like to understand the cause of the issue to avoid in the future.
Let me know what other debugging information would be helpful in debugging this. Thank you1
Expected result
No error output.
Actual result
Running my command within the service unit:
sudo pipenv run python3.7 /opt/project/main.py
I see the following error output in
journalctl
but the script still executes as expected:Steps to replicate
Pipfile:
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.I get
Error: no such option: --support
when running this command.