Lukas
Lukas

Reputation: 29

Python not recognising libraries on Windows machine

I have been having a lot of trouble on my work Windows machine. I cannot get any libraries to work on my python. I use Thonny application for my python scripting.

I have tried setting environmental path to my current directory of python. On my PC its : C:\Users\petrikas.lu\AppData\Local\Programs\Python\Python38-32\Scripts

Most tutorials say that it should be on C:\Python34\Scripts however thats not the case for my PC.

enter image description here

Python directory: enter image description here

Can someone suggest me what shall I do next? I have tried many things that I have found online but my script wont compile. I am trying to import pandas library

After running a command:

python -m pip install pandas

It does not return any result. Most certainly did not generate a pandas library in my libs python folder

Upvotes: 0

Views: 143

Answers (1)

Minh Nguyen
Minh Nguyen

Reputation: 865

I would recommend setting up a Conda environment (using Anaconda or Miniconda) for your Windows machine. It's much easier to manage different environments which contain different sets of libraries.

Upvotes: 1

Related Questions