Skip to content

pip 18.1 causes "TypeError: 'module' object is not callable" #2924

Closed
macports/macports-ports
#2806

Description

@rafaelcaricio

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.

Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.

Make sure to mention your debugging experience if the documented solution failed.

Issue description

New version of pip breaks pipenv, exactly on this line

_strip_extras = pip_import("_strip_extras", "req.req_install._strip_extras", "7", "9999")

Expected result

The _strip_extras not be a module.

Actual result
...
 File "/opt/myproj/.tox/py36/lib/python3.6/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 704, in from_line

    line, extras = _strip_extras(line)

TypeError: 'module' object is not callable
Steps to replicate

Provide the steps to replicate (which usually at least includes the commands and the Pipfile).


Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.

If you're on macOS, run the following:

$ pipenv --support | pbcopy

If you're on Windows, run the following:

> pipenv --support | clip

If you're on Linux, run the following:

$ pipenv --support | xclip

Activity

  1. uranusjr commented on Oct 5, 2018

    @uranusjr
    Member

    Tracked in upstream repo (referenced above).

  2. uranusjr commented on Oct 5, 2018

    @uranusjr
    Member

    On second thought, I’m going to keep this open so people don’t open duplicates.

  3. changed the title [-]New version of pip (18.1) breaks pipenv[/-] [+]pip 18.1 causes "TypeError: 'module' object is not callable"[/+] on Oct 5, 2018
  4. nikovitto commented on Oct 5, 2018

    @nikovitto

    Same problem here. See attach log.
    pipenverror.log

  5. mbarneyjr commented on Oct 5, 2018

    @mbarneyjr

    Same problem here

    $ pipenv --support

    Pipenv version: '2018.7.1'

    Pipenv location: '/Users/mbarney/.pyenv/versions/3.6.6/lib/python3.6/site-packages/pipenv'

    Python location: '/Users/mbarney/.pyenv/versions/3.6.6/bin/python3.6'

    Other Python installations in PATH:

    • 2.7: /usr/bin/python2.7

    • 2.7: /Users/mbarney/.pyenv/shims/python2.7

    • 2.7: /Users/mbarney/.pyenv/shims/python2.7

    • 2.7: /usr/bin/python2.7

    • 2.7: /Users/mbarney/.pyenv/shims/python2.7

    • 3.6: /Users/mbarney/.pyenv/versions/3.6.6/bin/python3.6m

    • 3.6: /Users/mbarney/.pyenv/versions/3.6.6/bin/python3.6

    • 3.6: /Users/mbarney/.pyenv/shims/python3.6

    • 3.6: /Users/mbarney/.pyenv/shims/python3.6

    • 3.6: /Users/mbarney/.pyenv/shims/python3.6

    • 3.6.6: /Users/mbarney/.pyenv/versions/3.6.6/bin/python

    • 3.6.6: /Users/mbarney/.pyenv/shims/python

    • 3.6.6: /Users/mbarney/.pyenv/shims/python

    • 2.7.10: /usr/bin/python

    • 3.6.6: /Users/mbarney/.pyenv/shims/python

    • None: /Users/mbarney/.pyenv/shims/python2

    • None: /Users/mbarney/.pyenv/shims/python2

    • None: /Users/mbarney/.pyenv/shims/python2

    • 3.6.6: /Users/mbarney/.pyenv/versions/3.6.6/bin/python3

    • 3.6.6: /Users/mbarney/.pyenv/shims/python3

    • 3.6.6: /Users/mbarney/.pyenv/shims/python3

    • 3.6.6: /Users/mbarney/.pyenv/shims/python3

    PEP 508 Information:

    {'implementation_name': 'cpython',
     'implementation_version': '3.6.6',
     'os_name': 'posix',
     'platform_machine': 'x86_64',
     'platform_python_implementation': 'CPython',
     'platform_release': '17.7.0',
     'platform_system': 'Darwin',
     'platform_version': 'Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT '
                         '2018; root:xnu-4570.71.2~1/RELEASE_X86_64',
     'python_full_version': '3.6.6',
     'python_version': '3.6',
     'sys_platform': 'darwin'}
    

    System environment variables:

    • TERM_PROGRAM
    • PYENV_ROOT
    • NVM_CD_FLAGS
    • TERM
    • SHELL
    • TMPDIR
    • Apple_PubSub_Socket_Render
    • TERM_PROGRAM_VERSION
    • TERM_SESSION_ID
    • PYENV_VERSION
    • USER
    • NVM_DIR
    • SSH_AUTH_SOCK
    • PYENV_DIR
    • __CF_USER_TEXT_ENCODING
    • PATH
    • PWD
    • LANG
    • PYENV_HOOK_PATH
    • XPC_FLAGS
    • XPC_SERVICE_NAME
    • HOME
    • SHLVL
    • PYENV_SHELL
    • LOGNAME
    • NVM_BIN
    • PYTHONDONTWRITEBYTECODE
    • PIP_PYTHON_PATH

    Pipenv–specific environment variables:

    Debug–specific environment variables:

    • PATH: /Users/mbarney/.pyenv/versions/3.6.6/bin:/usr/local/Cellar/pyenv/1.2.7/libexec:/Users/mbarney/.pyenv/shims:/Users/mbarney/.pyenv/shims:/Users/mbarney/.pyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/mbarney/.pyenv/shims:/Users/mbarney/.pyenv/bin:/Users/mbarney/.nvm/versions/node/v8.11.4/bin
    • SHELL: /bin/bash
    • LANG: en_US.UTF-8
    • PWD: /Users/mbarney/dev/trek10/github/awsume/source

    Contents of Pipfile ('/Users/mbarney/dev/trek10/github/awsume/source/Pipfile'):

    [[source]]
    url = "https://pypi.python.org/simple"
    verify_ssl = true
    name = "pypi"
    
    [dev-packages]
    
    [packages]
    pytest = "*"
    pytest-cov = "*"
    mock = "*"
    python-dateutil = "*"
    "boto3" = "*"
    psutil = "*"
    yapsy = "*"
    future = "*"
    pylint = "*"
    colorama = "*"
    
  6. Froskekongen commented on Oct 5, 2018

    @Froskekongen

    This is extremely aggravating. Can you please try to coordinate releases of pip and pipenv?

  7. nealedj commented on Oct 5, 2018

    @nealedj

    Workaround for typical virtualenv setup:

    pip install pipenv
    pipenv run pip install pip==18.0
    pipenv install
    
  8. techalchemy commented on Oct 5, 2018

    @techalchemy
    Member

    Hmm is this actually moved?

  9. uranusjr commented on Oct 5, 2018

    @uranusjr
    Member

    @Froskekongen Please try to avoid non-constructive messages. We understand this is frustrating, but interrogation doesn’t help. If you feel we need to improve, consider offering help instead of shouting at the sideline. “We” (whoever you are referring to) are always short of resources, and would gladly use your help.

  10. pfwnicks commented on Oct 5, 2018

    @pfwnicks

    same issue here but only for new pipenv environments, installs still work on the old ones as I have not updated to the newest pip in there.

    @nealedj suggestion worked

    #2924 (comment)

  11. allen-fisher-spok commented on Oct 5, 2018

    @allen-fisher-spok

    I'm seeing this issue as well. @nealedj 's suggestion worked correctly, although if you're working around this in a build environment that already has pipenv installed, you don't need to re-install pipenv. Only lines 2 and 3 of his workaround are needed.

  12. 66 remaining items

  13. added a commit that references this issue on Oct 9, 2018
  14. BeyondEvil commented on Oct 9, 2018

    @BeyondEvil

    Workaround doesn't work for me.

    I'm using pipenv in a docker image.

    Here's what the RUN target looks like with the workaround:

        && pipenv run pip install --upgrade pip==18.0 \
        && pipenv --site-packages install --skip-lock```
    
    And here's the relevant output:
    
    ```Collecting PyYAML<=3.13,>=3.10 (from awscli===1.16.21)
      Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
    Collecting certifi (from pipenv===2018.7.1)
      Downloading https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147kB)
    Collecting virtualenv (from pipenv===2018.7.1)
      Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)
    Collecting virtualenv-clone>=0.2.5 (from pipenv===2018.7.1)
      Downloading https://files.pythonhosted.org/packages/6d/c2/dccb5ccf599e0c5d1eea6acbd058af7a71384f9740179db67a9182a24798/virtualenv_clone-0.3.0-py2.py3-none-any.whl
    Requirement already satisfied, skipping upgrade: setuptools>=36.2.1 in /usr/local/lib/python3.7/site-packages (from pipenv===2018.7.1) (40.4.3)
    Collecting python-dateutil<3.0.0,>=2.1; python_version >= "2.7" (from botocore==1.12.11->awscli===1.16.21)
      Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB)
    Collecting urllib3<1.24,>=1.20 (from botocore==1.12.11->awscli===1.16.21)
      Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)
    Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.12.11->awscli===1.16.21)
      Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
    Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli===1.16.21)
      Downloading https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl (72kB)
    Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1; python_version >= "2.7"->botocore==1.12.11->awscli===1.16.21)
      Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
    Building wheels for collected packages: PyYAML
      Running setup.py bdist_wheel for PyYAML: started
      Running setup.py bdist_wheel for PyYAML: finished with status 'done'
      Stored in directory: /root/.cache/pip/wheels/ad/da/0c/74eb680767247273e2cf2723482cb9c924fe70af57c334513f
    Successfully built PyYAML
    Installing collected packages: six, python-dateutil, urllib3, docutils, jmespath, botocore, s3transfer, pyasn1, rsa, colorama, PyYAML, awscli, certifi, virtualenv, virtualenv-clone, pipenv
    Successfully installed PyYAML-3.13 awscli-1.16.21 botocore-1.12.11 certifi-2018.8.24 colorama-0.3.9 docutils-0.14 jmespath-0.9.3 pipenv-2018.7.1 pyasn1-0.4.4 python-dateutil-2.7.3 rsa-3.4.2 s3transfer-0.1.13 six-1.11.0 urllib3-1.23 virtualenv-16.0.0 virtualenv-clone-0.3.0
    Removing intermediate container 3510df0aee94
     ---> d679fad77207
    Step 3/10 : ARG APP_DIR=/app/dpo-automation/
     ---> Running in 9e7d6ed45d46
    Removing intermediate container 9e7d6ed45d46
     ---> b12adce64976
    Step 4/10 : COPY ./Pipfile ${APP_DIR}
     ---> 32f53411f8f7
    Step 5/10 : ENV PATH="/root/.local/bin:${PATH}"
     ---> Running in 244eecc7ab46
    Removing intermediate container 244eecc7ab46
     ---> c1852122736a
    Step 6/10 : RUN cd ${APP_DIR}     && pipenv run pip install --upgrade pip==18.0     && pipenv --site-packages install --skip-lock
     ---> Running in 0a9fb979bfa5
    Creating a virtualenv for this project...
    Pipfile: /app/dpo-automation/Pipfile
    Using /usr/local/bin/python (3.7.0) to create virtualenv...
    Already using interpreter /usr/local/bin/python
    Using base prefix '/usr/local'
    /usr/local/lib/python3.7/site-packages/virtualenv.py:1041: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
      import imp
    New python executable in /root/.local/share/virtualenvs/dpo-automation-b0iFxfPY/bin/python
    Installing setuptools, pip, wheel...done.
    Setting project for dpo-automation-b0iFxfPY to /app/dpo-automation
    Virtualenv location: /root/.local/share/virtualenvs/dpo-automation-b0iFxfPY
    Collecting pip==18.0
      Downloading https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl (1.3MB)
    Installing collected packages: pip
      Found existing installation: pip 18.1
        Uninstalling pip-18.1:
          Successfully uninstalled pip-18.1
    Successfully installed pip-18.0
    Virtualenv already exists!
    Removing existing virtualenv...
    Creating a virtualenv for this project...
    Pipfile: /app/dpo-automation/Pipfile
    Using /usr/local/bin/python (3.7.0) to create virtualenv...
    Already using interpreter /usr/local/bin/python
    Using base prefix '/usr/local'
    /usr/local/lib/python3.7/site-packages/virtualenv.py:1041: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
      import imp
    New python executable in /root/.local/share/virtualenvs/dpo-automation-b0iFxfPY/bin/python
    Installing setuptools, pip, wheel...done.
    Setting project for dpo-automation-b0iFxfPY to /app/dpo-automation
    Making site-packages available...
    Virtualenv location: /root/.local/share/virtualenvs/dpo-automation-b0iFxfPY
    Installing dependencies from Pipfile...
    Traceback (most recent call last):
      File "/usr/local/bin/pipenv", line 11, in <module>
        sys.exit(cli())
      File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
        return self.main(*args, **kwargs)
      File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
        rv = self.invoke(ctx)
      File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
        return callback(*args, **kwargs)
      File "/usr/local/lib/python3.7/site-packages/pipenv/cli.py", line 435, in install
        selective_upgrade=selective_upgrade,
      File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1943, in do_install
        pypi_mirror=pypi_mirror,
      File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1322, in do_init
        pypi_mirror=pypi_mirror,
      File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 807, in do_install_dependencies
        pypi_mirror=pypi_mirror,
      File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1375, in pip_install
        package_name.split('--hash')[0].split('--trusted-host')[0]
      File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 704, in from_line
        line, extras = _strip_extras(line)
    TypeError: 'module' object is not callable
    The command '/bin/sh -c cd ${APP_DIR}     && pipenv run pip install --upgrade pip==18.0     && pipenv --site-packages install --skip-lock' returned a non-zero code: 1
    

    What I believe to be the problem are these lines:

    Virtualenv already exists!
    Removing existing virtualenv...
    Creating a virtualenv for this project...
    
  15. andrii-rubtsov commented on Oct 10, 2018

    @andrii-rubtsov

    @BeyondEvil Try RUN pip install pip==18.0 before RUN pip install.

  16. jayprakashdutta commented on Oct 10, 2018

    @jayprakashdutta

    File "/usr/local/lib/python3.6/dist-packages/pipenv/vendor/requirementslib/_compat.py", line 33, in do_import
    _tmp = importlib.import_module(internal)
    File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "", line 994, in _gcd_import
    File "", line 971, in _find_and_load
    File "", line 953, in _find_and_load_unlocked
    ModuleNotFoundError: No module named 'pip._internal.basecommand'

    During handling of the above exception, another exception occurred

  17. whg517 commented on Oct 11, 2018

    @whg517

    https://pipenv.readthedocs.io/en/latest/advanced/#tox-automation-project

    I also ran into this problem when I used pipenv on tox as a reference. I just installed dependent packages and haven't started doing anything else yet

    tox.ini

    [tox]
    envlist = pipenv_test
    
    [testenv:pipenv_test]
    deps =
        pipenv
    commands =
        pipenv install --dev
    
    $ tox --recreate
    GLOB sdist-make: D:\workspace\development\python\pytest\mysite\setup.py
    pipenv_test create: D:\workspace\development\python\pytest\mysite\.tox\pipenv_test
    pipenv_test installdeps: pipenv
    pipenv_test inst: D:\workspace\development\python\pytest\mysite\.tox\dist\mysite-0.1.zip
    pipenv_test installed: certifi==2018.8.24,mysite==0.1,pipenv==2018.7.1,virtualenv==16.0.0,virtualenv-clone==0.3.0
    pipenv_test run-test-pre: PYTHONHASHSEED='272'
    pipenv_test runtests: commands[0] | pipenv install --dev
    Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
    Pipfile.lock (e7cb29) out of date, updating to (75f29b)...
    Locking [dev-packages] dependencies...
    ython\pytest\mysite\.tox\pipenv_test\lib\site-packages\pipenv\utils.py", line 402, in resolve_deps
        req_dir=req_dir
      File "d:\workspace\development\python\pytest\mysite\.tox\pipenv_test\lib\site-packages\pipenv\utils.py", line 250, in actually_resolve_deps
        req = Requirement.from_line(dep)
      File "d:\workspace\development\python\pytest\mysite\.tox\pipenv_test\lib\site-packages\pipenv\vendor\requirementslib\models\requirements.py", line 704, in from_line
        line, extras = _strip_extras(line)
    TypeError: 'module' object is not callable
    
    ERROR: InvocationError for command 'D:\\workspace\\development\\python\\pytest\\mysite\\.tox\\pipenv_test\\Scripts\\pipenv.EXE install --dev' (exited with code 1)
    ___________________________________ summary ___________________________________
    ERROR:   pipenv_test: commands failed
    

    Is there any way to just solve it?
    thanks

  18. added a commit that references this issue on Oct 11, 2018
  19. Ativerc commented on Oct 13, 2018

    @Ativerc

    I'm getting the same errors on python3.5 and pip v18.0.0. Any ideas what i can do now?

     pipenv install requests
    Installing requests...
    Requirement already satisfied: requests in /home/avc/.local/share/virtualenvs/pipenv-test2-IuNGx9gy/lib/python3.5/site-packages (2.19.1)
    Requirement already satisfied: urllib3<1.24,>=1.21.1 in /home/avc/.local/share/virtualenvs/pipenv-test2-IuNGx9gy/lib/python3.5/site-packages (from requests) (1.23)
    Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/avc/.local/share/virtualenvs/pipenv-test2-IuNGx9gy/lib/python3.5/site-packages (from requests) (3.0.4)
    Requirement already satisfied: idna<2.8,>=2.5 in /home/avc/.local/share/virtualenvs/pipenv-test2-IuNGx9gy/lib/python3.5/site-packages (from requests) (2.7)
    Requirement already satisfied: certifi>=2017.4.17 in /home/avc/.local/share/virtualenvs/pipenv-test2-IuNGx9gy/lib/python3.5/site-packages (from requests) (2018.8.24)
    
    Adding requests to Pipfile's [packages]...
    Pipfile.lock not found, creating...
    Locking [dev-packages] dependencies...
    Locking [packages] dependencies...
    es/pipenv/utils.py", line 402, in resolve_deps
        req_dir=req_dir
      File "/home/avc/.local/lib/python3.5/site-packages/pipenv/utils.py", line 250, in actually_resolve_deps
        req = Requirement.from_line(dep)
      File "/home/avc/.local/lib/python3.5/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 704, in from_line
        line, extras = _strip_extras(line)
    TypeError: 'module' object is not callable
    
  20. uranusjr commented on Oct 13, 2018

    @uranusjr
    Member

    I suggest actually reading the thread. The workaround is posted quite early in the discussion, and is confirmed to work by multiple people.

  21. Ativerc commented on Oct 13, 2018

    @Ativerc

    I just installed pipenv around 5 hours ago. I fixed a lot of errors both hardware and software , in the past 24 hours to get my laptop working to get there. After skimming this thread for the I found the first workaround #2924 (comment) but it had a dozen 😆 emojis so I thought maybe this guy is having a joke. Just incase he wasn't lying I needed to corroborate his claims. I could have asked for help then as well. But no, I googled. And I found this, https://stackoverflow.com/a/52706841 where the author states You need to downgrade pip — both inside and outside the pipenv environment — to version 18.0 in order for pipenv to work. with 9 upvotes.

    So I downgraded to pip v18.0.0 and when I still had the same errors I posted here. And once I had posted I found others with pip/pipenv errors with pip v18.0 (18 instances of 18.0 on this page excluding this comment.)

    All I wanted was some help. Yes, I could have read through every one of the 100+ comments/references here before asking for help and I guess that is a mistake.

    Over the years, I have learnt that I shouldn't use/apply any unknown command without knowing what it does. What if a command(s) given in this thread broke my python setup the odd way? Should I use the dirty workaround and not recommended workaround given somewhere in the thread? What if my python installation resembled this https://xkcd.com/1987/ due to the usage of unknown commands?

    Looking at the first comment I see it has sections Issue description, Expected result, Actual result, Steps to replicate and also a part which asks for others' help with pipenv --support | xclip, which are all, I assume to be a part of a template for reporting new issues. Could it be so difficult to have a stickied comment saying Current Workarounds (which could only be edited by mods here), which listed pip versions against the current known workarounds for that issue?

    I suggest actually reading the thread. The workaround is posted quiet early in the discussion, and is confirmed to work by multiple people.

    Instead of taking that two-sentence potshot at me, you could have just given me a link and tagged me. You assumed I was lazy, not working on my problem and worse yet, you knew exactly which comment would have helped me and instead of linking me to it, you actively chose to make me look for it. What is the reason for this animosity?

    That's coming from a guy who wrote here: #2924 (comment)

    Please try to avoid non-constructive messages. We understand this is frustrating, but interrogation doesn't help. If you feel we need to improve, consider offering help instead of shouting at the sideline. "We" (whoever you are referring to) are always short of resources, and would gladly use your help.

    So many programmers say "Never be afraid to ask a question..... after you have researched or worked on it a bit" but what can a person do when the admins of a project are so fervent in their hatred for just someone asking a question. Anyone asking questions should just curl up and die, right?

    I tried and I am just tired and I haven't felt this low in weeks. I will avoid participating in this thread any further.

  22. stefan-it commented on Oct 13, 2018

    @stefan-it

    @Ativerc If 18.0 does not work for you, please try the following:

    #2924 (comment)

    It then worked for me :)

  23. techalchemy commented on Oct 13, 2018

    @techalchemy
    Member

    Also you can upgrade pipenv to the latest version. If you have further problems please open a new issue. I’m going to lock this thread for now to prevent continued discussion as this is resolved.

    To summarize for people on earlier releases than 2018.10.9: you can pin pip inside the virtualenv using pipenv run python -m pip install pip==18.0 or you can set the environment variable PIP_SHIMS_BASE_MODULE=pipenv.patched.notpip

    Others should not be seeing this issue. Thanks for your patience all and apologies for the issues!

  24. locked as resolved and limited conversation to collaborators on Oct 13, 2018
  25. techalchemy commented on Oct 13, 2018

    @techalchemy
    Member

    One follow up: @Ativerc I am sorry for your negative experience. We are a two person team triaging literally thousands of issues, so we tend to get a bit frustrated when there are solutions posted and it seems like we are just answering a repeat of the original question. We aren’t always that organized with information and we definitely can improve there, but I genuinely apologize for leaving you feeling a bit deflated here. We are likely going to try to add some folks if possible to help out with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions