question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pipenv update fails on 2018.6.25

See original GitHub issue

pipenv 2018.6.25:

$ pipenv update
../.local/lib/python3.5/site-packages/pipenv/vendor/requests/__init__.py:83: 
Running $ pipenv lock then $ pipenv sync.
Locking [dev-packages] dependencies...
ite-packages/pipenv/resolver.py", line 37, in main
    from pipenv.utils import create_mirror_source, resolve_deps, replace_pypi_sources
ImportError: cannot import name 'create_mirror_source'

Works with: pipenv-2018.5.18

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
techalchemycommented, Jun 26, 2018

PYTHONDONTWRITEBYTECODE=1

0reactions
gsemetcommented, Jul 18, 2018

Reproduced today. I had another pipenv on python2 in .local. Removed by pip uninstall -y pipenv. I use pip3 install pipenv.

So there can be contamination between module imports somehow, from the python3 pipenv, it somehow include a module from python2 dist-packages, which should not happen

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release and Version History — pipenv 2022.12.20.dev0 ...
Update pipenv docs for with example for callabale package functions in Pipfile ... Fix for pipenv lock fails for packages with extras as...
Read more >
pipenv Documentation - Read the Docs
Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the. Python...
Read more >
Release and Version History — pipenv 2020.6.2.dev0 ...
#4274; Fixed a bug which caused Pipenv to fail to install packages in a virtual environment if those packages were already present in...
Read more >
pipenv `ModuleNotFoundError: No module named 'pip ...
I just ran into a similar error during pipenv lock . After updating pipenv via pip install --user --upgrade pipenv and pip via...
Read more >
pipenv · PyPI
The problems that Pipenv seeks to solve are multi-faceted: ... removes it from Pipfile. update Runs lock, then sync. verify Verify the hash...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found