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

pip install glim (mysql_config not found) #5

Closed
ghost opened this issue Sep 11, 2014 · 3 comments
Closed

pip install glim (mysql_config not found) #5

ghost opened this issue Sep 11, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 11, 2014

In a fresh venv, I get this. I guess mysql is a dependency of Glim, not SQLAlchemy... never had a problem installing SQLAlchemy before, and I don't plan to use MySQL in any case.

mbp in ~/labs/glim-hello
○ → pip install glim
Downloading/unpacking glim
  Downloading glim-0.8.4.tar.gz
  Running setup.py (path:/home/uri/.pyenv/versions/glim-hello/build/glim/setup.py) egg_info for package glim

Downloading/unpacking Werkzeug>=0.9 (from glim)
  Downloading Werkzeug-0.9.6.tar.gz (1.1MB): 1.1MB downloaded
  Running setup.py (path:/home/uri/.pyenv/versions/glim-hello/build/Werkzeug/setup.py) egg_info for package Werkzeug

    warning: no files found matching '*' under directory 'werkzeug/debug/templates'
    warning: no files found matching '*' under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
    warning: no previously-included files matching '*.pyc' found under directory 'examples'
    warning: no previously-included files matching '*.pyo' found under directory 'examples'
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking Jinja2>=2.7.3 (from glim)
  Downloading Jinja2-2.7.3.tar.gz (378kB): 378kB downloaded
  Running setup.py (path:/home/uri/.pyenv/versions/glim-hello/build/Jinja2/setup.py) egg_info for package Jinja2

    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking SQLAlchemy>=0.9.7 (from glim)
  Downloading SQLAlchemy-0.9.7.tar.gz (4.1MB): 4.1MB downloaded
  Running setup.py (path:/home/uri/.pyenv/versions/glim-hello/build/SQLAlchemy/setup.py) egg_info for package SQLAlchemy

    warning: no files found matching '*.jpg' under directory 'doc'
    warning: no files found matching 'distribute_setup.py'
    warning: no files found matching 'sa2to3.py'
    warning: no files found matching 'ez_setup.py'
    no previously-included directories found matching 'doc/build/output'
Downloading/unpacking MySQL-python>=1.2.5 (from glim)
  Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
  Running setup.py (path:/home/uri/.pyenv/versions/glim-hello/build/MySQL-python/setup.py) egg_info for package MySQL-python
    sh: mysql_config: command not found
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/uri/.pyenv/versions/glim-hello/build/MySQL-python/setup.py", line 17, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 25, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found
    Complete output from command python setup.py egg_info:
    sh: mysql_config: command not found

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/uri/.pyenv/versions/glim-hello/build/MySQL-python/setup.py", line 17, in <module>

    metadata, options = get_config()

  File "setup_posix.py", line 43, in get_config

    libs = mysql_config("libs_r")

  File "setup_posix.py", line 25, in mysql_config

    raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/uri/.pyenv/versions/glim-hello/build/MySQL-python
Storing debug log for failure in /home/uri/.pip/pip.log
@aacanakin
Copy link
Owner

I've fixed this issue. Today, I'm going to publish a new release to pypi. This problem is currently solved in the github repo. Currently, you can use git clone that is documented in Alternative Installation part of README

@aacanakin
Copy link
Owner

Btw, mysql won't be a dependency from now on.

@ghost
Copy link
Author

ghost commented Sep 11, 2014

Great!

@ghost ghost closed this as completed Sep 11, 2014
This issue was closed.
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