WebFaction
Community site: login faq

I installed pipenv and created a new virtual environment. Then I can install new packages with 'pipenv install'. However, when I run 'pip list', it shows packages installed in both my virtual environment and my home environment. Is this normal behavior?

As an example, I had installed numpy in my home environment and Flask in my virtual environment, but a 'pip list' shows both installed.

UPDATE: when I exit my virtual environment and run 'pip list', it does not show packages I installed in the virtual environment, as expected.

asked 15 Sep, 03:33

williamkelley
112
accept rate: 0%

edited 15 Sep, 03:35

I see now that 'pip list' shows everything, while 'pip list -l' shows just packages installed in the virtual environment.

(15 Sep, 04:14) williamkelley

Please raise a ticket so we can try and reproduce this issue as your user and environment.

permanent link

answered 15 Sep, 06:00

iliasr ♦♦
2.1k14
accept rate: 35%

Actually, after some more research, it seems to be correct behavior. I just didn't understand it properly.

(15 Sep, 06:23) williamkelley
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×54
×5
×2

question asked: 15 Sep, 03:33

question was seen: 518 times

last updated: 15 Sep, 06:23

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM