
Debian 11 Bullseye | Python 3.9.x | pip install mysql-connector-python-rf problems
I just installed a fresh Debian 11 Bullseye w/ Python 3.9.x
Installing my previous Python modules I only ran into 1 problem; mysql-connector-python-rf (which is what I need to properly continue my Python Journey).
The following is the error I receive in (root):
The following is the error I receive with my username (brandon):
Best Regards,
Brandon Kastning
I just installed a fresh Debian 11 Bullseye w/ Python 3.9.x
Installing my previous Python modules I only ran into 1 problem; mysql-connector-python-rf (which is what I need to properly continue my Python Journey).
The following is the error I receive in (root):
Error:root@FireDragon:~# pip3 install mysql-connector-python-rf
Collecting mysql-connector-python-rf
Downloading mysql-connector-python-rf-2.2.2.tar.gz (11.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.9/11.9 MB 2.9 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for mysql-connector-python-rf, since package 'wheel' is not installed.
Installing collected packages: mysql-connector-python-rf
Running setup.py install for mysql-connector-python-rf ... error
error: subprocess-exited-with-error
× Running setup.py install for mysql-connector-python-rf did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --single-version-externally-managed not recognized
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> mysql-connector-python-rf
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
root@FireDragon:~#
The following is the error I receive with my username (brandon):
Error:brandon@FireDragon:~$ pip3 install mysql-connector-python-rf
Defaulting to user installation because normal site-packages is not writeable
Collecting mysql-connector-python-rf
Downloading mysql-connector-python-rf-2.2.2.tar.gz (11.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.9/11.9 MB 3.0 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for mysql-connector-python-rf, since package 'wheel' is not installed.
Installing collected packages: mysql-connector-python-rf
Running setup.py install for mysql-connector-python-rf ... error
error: subprocess-exited-with-error
× Running setup.py install for mysql-connector-python-rf did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --single-version-externally-managed not recognized
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> mysql-connector-python-rf
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
brandon@FireDragon:~$
Thank you everyone for this forum!Best Regards,
Brandon Kastning
“And one of the elders saith unto me, Weep not: behold, the Lion of the tribe of Juda, the Root of David, hath prevailed to open the book,...” - Revelation 5:5 (KJV)
“And oppress not the widow, nor the fatherless, the stranger, nor the poor; and ...” - Zechariah 7:10 (KJV)
#LetHISPeopleGo
“And oppress not the widow, nor the fatherless, the stranger, nor the poor; and ...” - Zechariah 7:10 (KJV)
#LetHISPeopleGo