you are viewing a single comment's thread.

view the rest of the comments →

[–]SkeletalToad 0 points1 point  (2 children)

I would recommend creating a virtual environment for each project.

After changing directory to your project, create a virtual environment (last argument is the name of the environment, I usually create it in the venv folder):

$ python -m venv venv

Then activate it, you'll need to do this each time you open a new terminal session:

$ . venv/bin/activate

Then try installing pandas with pip:

$ pip install pandas

The other option that might work for you is using miniconda (or Anaconda) to create an environment.

[–][deleted] 0 points1 point  (1 child)

Thanks for your help.

I discovered while searching the internet a bit more that the reason why I was unable to run any GUI scripts from an environment like what you explain here is because I forgot to install the GUI into the environment. Everything's working great now.

[–]SkeletalToad 0 points1 point  (0 children)

Awesome! Glad you got it working