'using pipenv - cannot import packages (numpy, pandas etc) from pipfile from active environment
this is a weird problem for me and now I have no clue what's wrong. I have my pipenv working but when I try to activate the environment using pipenv shell:
- first it does not show the environment name in (brackets) followed by the file path.
- but when I try pipenv shell again it says "Shell for C:\Users\bupadhy.virtualenvs\trry-bbxJiZoF already activated"
- Okay maybe the environment is active? then I install a package - say numpy, it gets installed and pipfile and pipfile.lock are created.
- But when I try to import numpy in a file in the directory, it says package not found.
I tried reinstalling everything but did not work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
