Advertisement
ShaggyZE1

Untitled

Nov 7th, 2023
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.53 KB | None | 0 0
  1. C:\Ombi>python ombi_sqlite2mysql.py -c C:\Ombi --only_db_json --host 192.168.0.15 --db Ombi --user ombi --passwd (removed)
  2. Migration tool from SQLite to MySql/MariaDB for ombi (3.0.8) By VSC55
  3.  
  4. Error load MySQLdb, check if MySQLdb is installed!
  5.  
  6. C:\Ombi>pip install MySQL-python
  7. Collecting MySQL-python
  8. Using cached MySQL-python-1.2.5.zip (108 kB)
  9. Preparing metadata (setup.py) ... done
  10. Building wheels for collected packages: MySQL-python
  11. Building wheel for MySQL-python (setup.py) ... error
  12. error: subprocess-exited-with-error
  13.  
  14. × python setup.py bdist_wheel did not run successfully.
  15. │ exit code: 1
  16. ╰─> [59 lines of output]
  17. c:\program files (x86)\python37-32\lib\site-packages\setuptools\dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
  18. !!
  19.  
  20. ********************************************************************************
  21. Usage of dash-separated 'distribution-name' will not be supported in future
  22. versions. Please use the underscore name 'distribution_name' instead.
  23.  
  24. This deprecation is overdue, please update your project and remove deprecated
  25. calls to avoid build errors in the future.
  26.  
  27. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
  28. ********************************************************************************
  29.  
  30. !!
  31. opt = self.warn_dash_deprecation(opt, section)
  32. c:\program files (x86)\python37-32\lib\site-packages\setuptools\dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
  33. !!
  34.  
  35. ********************************************************************************
  36. Usage of dash-separated 'build-requires' will not be supported in future
  37. versions. Please use the underscore name 'build_requires' instead.
  38.  
  39. This deprecation is overdue, please update your project and remove deprecated
  40. calls to avoid build errors in the future.
  41.  
  42. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
  43. ********************************************************************************
  44.  
  45. !!
  46. opt = self.warn_dash_deprecation(opt, section)
  47. running bdist_wheel
  48. running build
  49. running build_py
  50. creating build
  51. creating build\lib.win32-cpython-37
  52. copying _mysql_exceptions.py -> build\lib.win32-cpython-37
  53. creating build\lib.win32-cpython-37\MySQLdb
  54. copying MySQLdb\__init__.py -> build\lib.win32-cpython-37\MySQLdb
  55. copying MySQLdb\converters.py -> build\lib.win32-cpython-37\MySQLdb
  56. copying MySQLdb\connections.py -> build\lib.win32-cpython-37\MySQLdb
  57. copying MySQLdb\cursors.py -> build\lib.win32-cpython-37\MySQLdb
  58. copying MySQLdb\release.py -> build\lib.win32-cpython-37\MySQLdb
  59. copying MySQLdb\times.py -> build\lib.win32-cpython-37\MySQLdb
  60. creating build\lib.win32-cpython-37\MySQLdb\constants
  61. copying MySQLdb\constants\__init__.py -> build\lib.win32-cpython-37\MySQLdb\constants
  62. copying MySQLdb\constants\CR.py -> build\lib.win32-cpython-37\MySQLdb\constants
  63. copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-cpython-37\MySQLdb\constants
  64. copying MySQLdb\constants\ER.py -> build\lib.win32-cpython-37\MySQLdb\constants
  65. copying MySQLdb\constants\FLAG.py -> build\lib.win32-cpython-37\MySQLdb\constants
  66. copying MySQLdb\constants\REFRESH.py -> build\lib.win32-cpython-37\MySQLdb\constants
  67. copying MySQLdb\constants\CLIENT.py -> build\lib.win32-cpython-37\MySQLdb\constants
  68. running build_ext
  69. building '_mysql' extension
  70. creating build\temp.win32-cpython-37
  71. creating build\temp.win32-cpython-37\Release
  72. "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x86\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" "-Ic:\program files (x86)\python37-32\include" "-Ic:\program files (x86)\python37-32\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tc_mysql.c /Fobuild\temp.win32-cpython-37\Release\_mysql.obj /Zl
  73. _mysql.c
  74. _mysql.c(42): fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
  75. error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x86\\cl.exe' failed with exit code 2
  76. [end of output]
  77.  
  78. note: This error originates from a subprocess, and is likely not a problem with pip.
  79. ERROR: Failed building wheel for MySQL-python
  80. Running setup.py clean for MySQL-python
  81. Failed to build MySQL-python
  82. ERROR: Could not build wheels for MySQL-python, which is required to install pyproject.toml-based projects
  83.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement