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.

Mention `pipenv run pew toggleglobalsitepackages` in the docs

See original GitHub issue

I’m currently working on a project where pipenv is a great fit for managing local testing environments, but some of the relevant Python bindings (dnf, rpm, libsolv) aren’t currently pip-installable.

While it makes sense to me that #419 was closed as being out-of-scope, I think it may be worth explicitly mentioning @vorstelok’s workaround from https://github.com/kennethreitz/pipenv/issues/419#issuecomment-331013455 for folks in situations like mine, as it makes it clear that the strongly preferred answer is to make the affected components pip installable, but there’s still a defined way to weaken the isolation from the system level components when you’re actually working on system level tools.

However, there’s a slight simplification available: rather than use pew workon, it’s possible to just use pipenv run or pipenv shell as you would with any other command.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kennethreitzcommented, Sep 22, 2017

We support it in venv too!

0reactions
ncoghlancommented, Sep 22, 2017

Even better, thanks!

I guess having this be an existing feature in pew does change the trade-offs in also offering it as a feature in pipenv 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced Usage of Pipenv - Read the Docs
Pipenv makes an API call to retrieve those results and use them each time you run pipenv check to show you vulnerable dependencies....
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 >
fedmod modularity tools - Fedora Package Sources
fedmod provides tools for working with Fedora's modulemd metadata format that aren't related to actually building them (for build commands, see fedpkg and...
Read more >
pipenv Documentation - manpages.ubuntu!
To install packages, change into your project's directory (or just an empty directory for this tutorial) and run: $ cd myproject $ pipenv...
Read more >
Pipenv: promises a lot, delivers very little | Chris Warrick
But let's continue with our workflow. pipenv run django-admin ... The workflow I mentioned above looks pretty reasonable, right?
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