0

I follow the tutorial installing mysql-connector
https://pynative.com/install-mysql-connector-python/

  • environment: linux redhat version: CentOS Linux 7 (Core), x86-64
    python 2.7.5

that I download "mysql-connector-python3-8.0.31-1.el7.x86_64.rpm" package to extract

but I used $ tar xzf mysql-connector-python-2.7.tar.gz wasn't work, what the problem


additional equiment info: if someone needed

[root@localhost bin]# hostnamectl
   Static hostname: localhost.localdomain
         Icon name: computer-desktop
           Chassis: desktop
        Machine ID: d09237002da04b0295253727d227eb9a
           Boot ID: b18995e3345343249830026bd06b92a0
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-957.el7.x86_64
      Architecture: x86-64
  • the website screenshot enter image description here

the main problem is from this, my classmate's discussion
(Pyscript) website showing No module named 'mysql'

but after pip3 installed, is not working

0 Answers0