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

Installation error with 2.1.0 #214

Closed
heckfi opened this issue Jan 20, 2019 · 5 comments
Closed

Installation error with 2.1.0 #214

heckfi opened this issue Jan 20, 2019 · 5 comments
Assignees
Labels

Comments

@heckfi
Copy link

heckfi commented Jan 20, 2019

      File "<string>", line 1, in <module>
      File "/tmp/pip-install-hpcqy0cc/pymemcache/setup.py", line 5, in <module>
        from pymemcache import __version__
      File "/tmp/pip-install-hpcqy0cc/pymemcache/pymemcache/__init__.py", line 3, in <module>
        from pymemcache.client.base import Client  # noqa
      File "/tmp/pip-install-hpcqy0cc/pymemcache/pymemcache/client/__init__.py", line 3, in <module>
        from pymemcache.client.base import Client  # noqa
      File "/tmp/pip-install-hpcqy0cc/pymemcache/pymemcache/client/base.py", line 16, in <module>
        import six
    ModuleNotFoundError: No module named 'six'`
@jparise
Copy link
Collaborator

jparise commented Jan 21, 2019

That's strange. We include install_requires=['six'] in the setup.py definition.

Can you share more of the installation log in case there's an earlier error we're missing?

@heckfi
Copy link
Author

heckfi commented Jan 27, 2019

That's strange. We include install_requires=['six'] in the setup.py definition.

Can you share more of the installation log in case there's an earlier error we're missing?

yes, but from pymemcache import __version__ import module, where use six .

Downloading https://files.pythonhosted.org/packages/47/be/277821fae9a50c66f2246617be211d0696d6cbbb74495d00d28d9014f316/pymemcache-2.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-y7yfiuyz/pymemcache/setup.py", line 5, in <module>
        from pymemcache import __version__
      File "/tmp/pip-install-y7yfiuyz/pymemcache/pymemcache/__init__.py", line 3, in <module>
        from pymemcache.client.base import Client  # noqa
      File "/tmp/pip-install-y7yfiuyz/pymemcache/pymemcache/client/__init__.py", line 3, in <module>
        from pymemcache.client.base import Client  # noqa
      File "/tmp/pip-install-y7yfiuyz/pymemcache/pymemcache/client/base.py", line 16, in <module>
        import six
    ModuleNotFoundError: No module named 'six'

@methane
Copy link
Contributor

methane commented Jan 28, 2019

FYI, https://packaging.python.org/guides/single-sourcing-package-version/

@jparise jparise self-assigned this Jan 28, 2019
@jparise
Copy link
Collaborator

jparise commented Jan 28, 2019

Ah, I see now. This was an unintended consequence of #197.

I'll address this in the next few days and get a point release out with the fix.

@jparise
Copy link
Collaborator

jparise commented Jan 28, 2019

I just released version 2.1.1 with a fix for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants