Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install #263

Open
duartemolha opened this issue Mar 29, 2022 · 0 comments
Open

unable to install #263

duartemolha opened this issue Mar 29, 2022 · 0 comments

Comments

@duartemolha
Copy link

  • django-genome version:
  • Django version: 4.0.3
  • Python version: 3.9.5
  • Operating System: Ubuntu-Liuux

Description

django-genome does not install

What I Did

I tried to include django-genome into my djago project as a app

pip install django-genome

Collecting django-genome
  Using cached django_genome-1.1.1-py2.py3-none-any.whl (20 kB)
Collecting djangorestframework==3.10.3
  Using cached djangorestframework-3.10.3-py3-none-any.whl (909 kB)
Collecting tqdm==4.37.0
  Using cached tqdm-4.37.0-py2.py3-none-any.whl (53 kB)
Collecting mysqlclient==1.4.4
  Using cached mysqlclient-1.4.4.tar.gz (86 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      /bin/sh: 1: mysql_config: not found
      /bin/sh: 1: mariadb_config: not found
      /bin/sh: 1: mysql_config: not found
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-qqwd7wwn/mysqlclient_763d0d97ecd34c1982e48f2883496a24/setup.py", line 16, in <module>
          metadata, options = get_config()
        File "/tmp/pip-install-qqwd7wwn/mysqlclient_763d0d97ecd34c1982e48f2883496a24/setup_posix.py", line 61, in get_config
          libs = mysql_config("libs")
        File "/tmp/pip-install-qqwd7wwn/mysqlclient_763d0d97ecd34c1982e48f2883496a24/setup_posix.py", line 29, in mysql_config
          raise EnvironmentError("%s not found" % (_mysql_config_path,))
      OSError: mysql_config not found
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant