[Python] VIM setup - Homebrew

Discussão em 'Python' iniciado por Stack, Março 4, 2025.

  1. Stack

    Stack Membro Participativo

    I am new to VIM and i have some problems.

    My system is MAC so it has vim preinstalled. However I also installed it with Brew.

    the biggest problem I have is that when i am inside VIM

    :py3 import sys; print(sys.executable)

    gives me output of /opt/homebrew/bin/vim

    **Shouldnt it say python3 in the end? When I run VIM and run the command :py3 import pandas as pd; print(pd.version) says no module named pandas. (although i have installed pandas on a virtual environment that was suggested by homebrew - I am also running the command from the vim inside that environment)

    Please I could use some assistance I have fallen in love with VIM!

    Continue reading...

Compartilhe esta Página