Answer the question
In order to leave comments, you need to log in
How to put a module for Python on windows?
I started to master python, installed it on Windows: python + paycharm.
I started writing a connection to mysql, but there is a code - library import. On centos - this is understandable - I installed it through the console.
How to solve it on Windows? (while I'm digging to the side - that somewhere I need to download the module and copy it somewhere to the settings)
Answer the question
In order to leave comments, you need to log in
I installed the pipe, installed the muscle library, rebooted.
I write the first line of code: import pymysql - I run it, writes to oshkubu:
Traceback (most recent call last):
File "C:\Users\User\PycharmProjects\pythonProject1\main.py", line 3, in <module>
con = pymysql.connect('localhost', 'user17',
TypeError: __init__() takes 1 positional argument but 5 were given
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question