'I can't do anything with pipenv

ERROR:: --system is intended to be used for pre-existing Pipfile installation, not installation of specific packages. Aborting.

I can't use pipenv in Ubuntu18.04. How can I fix it?



Solution 1:[1]

You can use the python virtual environment,

  1. python -m venv venv # Creates virtual environment
  2. To activate virtual environment do source venv/bin/activate
  3. Then you can install your packages using pip install lib

To deactivate virtual environment type deactivate

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nanthakumar J J