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.

Error when installing dependencies to using --system flag

See original GitHub issue
pipenv install --system                                                                                                                                                                                         <452477c ✗>
Installing dependencies from Pipfile.lock…
Traceback (most recent call last):▉▉▉▉ 0/6 — 00:00:00
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/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.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 1740, in install
    do_init(dev=dev, allow_global=system, ignore_pipfile=ignore_pipfile, system=system, skip_lock=skip_lock, verbose=verbose, concurrent=concurrent, deploy=deploy)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 1255, in do_init
    skip_lock=skip_lock, verbose=verbose, concurrent=concurrent)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 805, in do_install_dependencies
    index=index
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 1320, in pip_install
    quoted_pip = shellquote(quoted_pip)
  File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 310, in shellquote
    return '"' + s.replace("'", "'\\''") + '"'
AttributeError: 'NoneType' object has no attribute 'replace'

Using pipenv 8.2.0, running on python 3.6, OSX 10.12.6

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kennethreitzcommented, Sep 29, 2017

v8.2.2 released, which should fix this.

0reactions
kennethreitzcommented, Sep 30, 2017

excellent news!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve dependency tree error when installing npm ...
You have dependency conflict (incorrect and potentially broken dependency) as it says, so try to run the command with --force , or --legacy-peer ......
Read more >
How to Install and Correct Dependencies Issues in Ubuntu
Luckily, Linux provides for this option by using the showpkg flag. We can run this command to see what dependencies are needed.
Read more >
[BUG] npm ci can't resolve dependencies without --force, or ...
Now I have to use --force every time. For me, it's convenient to allow to install dangerous code once than do mindless operation...
Read more >
apt - How do I resolve unmet dependencies after adding a PPA?
Sometimes the layers of dependencies can seem overwhelming, but the concept is simple and key to understanding how software is installed/uninstalled in an ......
Read more >
A Comprehensive Guide to Fixing Node-Gyp Issues on Windows
1. Try running npm install with the --no-optional flag. ... If you're lucky, the dependency that requires node-gyp will be optional, and you...
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