Advertisement
FiddleComputers

Untitled

Mar 24th, 2021
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. moviedirectory:3.8)[fiddleco@sv46 moviedirectory]$ pip install --global-option="-I/usr/include/mysql/" --global-option="-L/usr/include/mysql/" mysqlclient
  2. /home/fiddleco/virtualenv/moviedirectory/3.8/lib/python3.8/site-packages/pip/_internal/commands/install.py:230: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
  3. cmdoptions.check_install_build_global(options)
  4. Collecting mysqlclient
  5. Using cached mysqlclient-2.0.3.tar.gz (88 kB)
  6. Skipping wheel build for mysqlclient, due to binaries being disabled for it.
  7. Installing collected packages: mysqlclient
  8. Running setup.py install for mysqlclient ... error
  9. ERROR: Command errored out with exit status 1:
  10. command: /home/fiddleco/virtualenv/moviedirectory/3.8/bin/python3.8_bin -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e2hu0k82/mysqlclient_ddc97d82aea14f35a063f53a91e53f52/setup.py'"'"'; __file__='"'"'/tmp/pip-install-e2hu0k82/mysqlclient_ddc97d82aea14f35a063f53a91e53f52/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' -I/usr/include/mysql/ -L/usr/include/mysql/ install --record /tmp/pip-record-id0fo2l0/install-record.txt --single-version-externally-managed --compile --install-headers /home/fiddleco/virtualenv/moviedirectory/3.8/include/site/python3.8/mysqlclient
  11. cwd: /tmp/pip-install-e2hu0k82/mysqlclient_ddc97d82aea14f35a063f53a91e53f52/
  12. Complete output (25 lines):
  13. mysql_config --version
  14. /usr/bin/mysql_config: ligne8: rpm : commande introuvable
  15. []
  16. mysql_config --libs
  17. /usr/bin/mysql_config: ligne8: rpm : commande introuvable
  18. []
  19. mysql_config --cflags
  20. /usr/bin/mysql_config: ligne8: rpm : commande introuvable
  21. []
  22. ext_options:
  23. library_dirs: []
  24. libraries: []
  25. extra_compile_args: ['-std=c99']
  26. extra_link_args: []
  27. include_dirs: []
  28. extra_objects: []
  29. define_macros: [('version_info', "(2,0,3,'final',0)"), ('__version__', '2.0.3')]
  30. /opt/alt/python38/lib64/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  31. warnings.warn(msg)
  32. usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  33. or: setup.py --help [cmd1 cmd2 ...]
  34. or: setup.py --help-commands
  35. or: setup.py cmd --help
  36.  
  37. error: option -I not recognized
  38. ----------------------------------------
  39. ERROR: Command errored out with exit status 1: /home/fiddleco/virtualenv/moviedirectory/3.8/bin/python3.8_bin -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e2hu0k82/mysqlclient_ddc97d82aea14f35a063f53a91e53f52/setup.py'"'"'; __file__='"'"'/tmp/pip-install-e2hu0k82/mysqlclient_ddc97d82aea14f35a063f53a91e53f52/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' -I/usr/include/mysql/ -L/usr/include/mysql/ install --record /tmp/pip-record-id0fo2l0/install-record.txt --single-version-externally-managed --compile --install-headers /home/fiddleco/virtualenv/moviedirectory/3.8/include/site/python3.8/mysqlclient Check the logs for full command output.
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement