Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Ombi>python ombi_sqlite2mysql.py -c C:\Ombi --only_db_json --host 192.168.0.15 --db Ombi --user ombi --passwd (removed)
- Migration tool from SQLite to MySql/MariaDB for ombi (3.0.8) By VSC55
- Error load MySQLdb, check if MySQLdb is installed!
- C:\Ombi>pip install MySQL-python
- Collecting MySQL-python
- Using cached MySQL-python-1.2.5.zip (108 kB)
- Preparing metadata (setup.py) ... done
- Building wheels for collected packages: MySQL-python
- Building wheel for MySQL-python (setup.py) ... error
- error: subprocess-exited-with-error
- × python setup.py bdist_wheel did not run successfully.
- │ exit code: 1
- ╰─> [59 lines of output]
- c:\program files (x86)\python37-32\lib\site-packages\setuptools\dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
- !!
- ********************************************************************************
- Usage of dash-separated 'distribution-name' will not be supported in future
- versions. Please use the underscore name 'distribution_name' instead.
- This deprecation is overdue, please update your project and remove deprecated
- calls to avoid build errors in the future.
- See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
- ********************************************************************************
- !!
- opt = self.warn_dash_deprecation(opt, section)
- c:\program files (x86)\python37-32\lib\site-packages\setuptools\dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
- !!
- ********************************************************************************
- Usage of dash-separated 'build-requires' will not be supported in future
- versions. Please use the underscore name 'build_requires' instead.
- This deprecation is overdue, please update your project and remove deprecated
- calls to avoid build errors in the future.
- See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
- ********************************************************************************
- !!
- opt = self.warn_dash_deprecation(opt, section)
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build\lib.win32-cpython-37
- copying _mysql_exceptions.py -> build\lib.win32-cpython-37
- creating build\lib.win32-cpython-37\MySQLdb
- copying MySQLdb\__init__.py -> build\lib.win32-cpython-37\MySQLdb
- copying MySQLdb\converters.py -> build\lib.win32-cpython-37\MySQLdb
- copying MySQLdb\connections.py -> build\lib.win32-cpython-37\MySQLdb
- copying MySQLdb\cursors.py -> build\lib.win32-cpython-37\MySQLdb
- copying MySQLdb\release.py -> build\lib.win32-cpython-37\MySQLdb
- copying MySQLdb\times.py -> build\lib.win32-cpython-37\MySQLdb
- creating build\lib.win32-cpython-37\MySQLdb\constants
- copying MySQLdb\constants\__init__.py -> build\lib.win32-cpython-37\MySQLdb\constants
- copying MySQLdb\constants\CR.py -> build\lib.win32-cpython-37\MySQLdb\constants
- copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-cpython-37\MySQLdb\constants
- copying MySQLdb\constants\ER.py -> build\lib.win32-cpython-37\MySQLdb\constants
- copying MySQLdb\constants\FLAG.py -> build\lib.win32-cpython-37\MySQLdb\constants
- copying MySQLdb\constants\REFRESH.py -> build\lib.win32-cpython-37\MySQLdb\constants
- copying MySQLdb\constants\CLIENT.py -> build\lib.win32-cpython-37\MySQLdb\constants
- running build_ext
- building '_mysql' extension
- creating build\temp.win32-cpython-37
- creating build\temp.win32-cpython-37\Release
- "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
- _mysql.c
- _mysql.c(42): fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- 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
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- ERROR: Failed building wheel for MySQL-python
- Running setup.py clean for MySQL-python
- Failed to build MySQL-python
- ERROR: Could not build wheels for MySQL-python, which is required to install pyproject.toml-based projects
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement