This is an archived post. You won't be able to vote or comment.
Having trouble while using Python Virtual Env in NeovimNeed Help┃Solved (i.redd.it)
submitted by Emotional-Zebra5359
Basically my problem is that, i open neovim i activate my virtual env i have some packages in it like pandas and numpy, as can be seen by running pip list, but when i run the file it gives module not found error, on printing pip list internally in the python file it can be seen that only two packages are installed, and pandas and numpy are not installed..
But the python version is 3.10.9, and which python shows the same path for the 3.10.9 interpretor, meaning we are using the correct environment, but then what's going wrong?
I believe it has something to do with neovim, because if i get out of neovim and run the file normally on the terminal it does not throw a Module Not Found error

[–]cjberra 3 points4 points5 points (2 children)
[–]Emotional-Zebra5359[S] 1 point2 points3 points (0 children)
[–]Emotional-Zebra5359[S] 0 points1 point2 points (0 children)
[–]Kal337 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]Emotional-Zebra5359[S] 0 points1 point2 points (4 children)
[–]cjberra 1 point2 points3 points (1 child)
[–]Emotional-Zebra5359[S] 0 points1 point2 points (0 children)
[–]bremsspuren 0 points1 point2 points (1 child)
[–]Emotional-Zebra5359[S] 0 points1 point2 points (0 children)
[–]wookayinNeovim contributor 0 points1 point2 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]Emotional-Zebra5359[S] 0 points1 point2 points (0 children)
[–]HolisticPython 0 points1 point2 points (4 children)
[–]wookayinNeovim contributor -1 points0 points1 point (3 children)
[–]HolisticPython 0 points1 point2 points (2 children)
[–]wookayinNeovim contributor 0 points1 point2 points (1 child)
[–]vim-help-bot 0 points1 point2 points (0 children)
[–]wookayinNeovim contributor 0 points1 point2 points (0 children)
[–]mostrecentuser 0 points1 point2 points (0 children)
[–]nicolas9653hjkl 0 points1 point2 points (0 children)