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 fails right after install

See original GitHub issue

I have Ubuntu 14.04

installed using pip install pipenv

pipenv producecs stacktrace

Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 7, in <module>
    from pipenv import cli
  File "/usr/local/lib/python2.7/dist-packages/pipenv/__init__.py", line 1, in <module>
    from .cli import cli
  File "/usr/local/lib/python2.7/dist-packages/pipenv/cli.py", line 9, in <module>
    import delegator
  File "/usr/local/lib/python2.7/dist-packages/delegator.py", line 5, in <module>
    from pexpect.popen_spawn import PopenSpawn
ImportError: No module named popen_spawn

Tried to install popen_spawn manually

Could not find a version that satisfies the requirement popen_spawn (from versions: )
No matching distribution found for popen_spawn

Issue Analytics

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

github_iconTop GitHub Comments

7reactions
zackkitzmillercommented, Jan 23, 2017

It seems like it was a conflicting version of pexpect. pip uninstall pexpect; pip uninstall pipenv followed by a pip install pipenv resolved this for me.

Edit: I had pexpect-3.3 previously installed.

0reactions
kennethreitzcommented, Jan 23, 2017

hmm, that shouldn’t be happening.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Pipenv Errors and How to Solve Them: Why Won't it ...
The second most common reason locking fails is that we attempt to install a package that is a pre-release version. You can resolve...
Read more >
Python 3 - Pipenv Can't Install Getting Error - Stack Overflow
I am new to python and trying to install ...
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
This is usually a result of mixing Pipenv with system packages. We strongly recommend installing Pipenv in an isolated environment. Uninstall all existing ......
Read more >
Configure a Pipenv environment | PyCharm Documentation
Install Pipenv  · Run the following command: $ py -m site --user-site. A sample output can be: · Replace site-packages with Scripts...
Read more >
Advanced Usage of Pipenv - Python Packaging Authority
The pip documentation has the following warning around the --extra-index-urls ... pipenv install --pypi-mirror <mirror_url> $ pipenv update --pypi-mirror ...
Read more >

github_iconTop Related Medium Post

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