Rolf12
Rolf12

Reputation: 771

Beginner: Installing PyMySQL using Anaconda (syntax error)

I am a beginner in Python and have some issues installing packages. I am using the latest version of Anaconda and try to get the "PyMySQL" package to connect to a database.

My understanding is that I would need to enter:

conda install pymysql

in a comand window (not the console). I always get the error:

"the command conda" is not known

I also tried to use "pip list" but where would I enter it?

If anyone could help me which code to use to get packages and where to enter it, would be very grateful.

Upvotes: 2

Views: 968

Answers (1)

Rolf12
Rolf12

Reputation: 771

I needed to navigate in the cmd to the scripts folder in the Anaconda folder to solve my issue.

Upvotes: 1

Related Questions