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

problem python -m pip install django-counter-field #8

Open
ManPython opened this issue Jan 4, 2020 · 2 comments
Open

problem python -m pip install django-counter-field #8

ManPython opened this issue Jan 4, 2020 · 2 comments

Comments

@ManPython
Copy link

  Downloading https://files.pythonhosted.org/packages/d9/9e/7466aadc059a4bcc27131e23b71b66530923f8217d19907ee681127dfbfb/django-counter-field-0.3.1.tar.gz
    ERROR: Command errored out with exit status 1:
     command: 'E:\Python36\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-52pp0uoi\\django-counter-field\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-52pp0uoi\\django-counter-field\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\User\AppData\Local\Temp\pip-install-52pp0uoi\django-counter-field\pip-egg-info'
         cwd: C:\Users\User\AppData\Local\Temp\pip-install-52pp0uoi\django-counter-field\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\User\AppData\Local\Temp\pip-install-52pp0uoi\django-counter-field\setup.py", line 3, in <module>
        from pip.req import parse_requirements
    ModuleNotFoundError: No module named 'pip.req'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
@goromachine
Copy link

Same problem here when trying to upgrade the package:
I used the command:
pip install --upgrade django-counter-field
and the result was this:

Collecting django-counter-field
  Downloading django-counter-field-0.3.1.tar.gz (13 kB)
    ERROR: Command errored out with exit status 1:
     command: /Volumes/Archivos/work/i4b/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/lm/7tkj9gss5d561qzqm7dsvnjc0000gp/T/pip-install-9ez7z04a/django-counter-field/setup.py'"'"'; __file__='"'"'/private/var/folders/lm/7tkj9gss5d561qzqm7dsvnjc0000gp/T/pip-install-9ez7z04a/django-counter-field/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/lm/7tkj9gss5d561qzqm7dsvnjc0000gp/T/pip-pip-egg-info-ohk1w8lu
         cwd: /private/var/folders/lm/7tkj9gss5d561qzqm7dsvnjc0000gp/T/pip-install-9ez7z04a/django-counter-field/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/lm/7tkj9gss5d561qzqm7dsvnjc0000gp/T/pip-install-9ez7z04a/django-counter-field/setup.py", line 3, in <module>
        from pip.req import parse_requirements
    ModuleNotFoundError: No module named 'pip.req'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@kajic
Copy link
Owner

kajic commented Jan 15, 2021

@goromachine, @ManPython This library hasn't been maintained in a long while. Feel free to submit a pull request if you fix it.

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

3 participants