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 with some packages from conda

See original GitHub issue

It is possible to specify dependencies inside the Pipfile that are installed from conda instead of pypi? Somethink like this:

url = ''
verify_ssl = true
name = 'pypi'

url = ''
verify_ssl = true
name = 'conda'

When I set up a new computer I install anaconda, then install some packages with conda install (e.g. numpy, scipy, cython, …) and the remaining ones I install with pip install. I was able to get pipenv working with conda but I do not know how I can define the dependencies from conda (Or if it is possible). Searching for an answer to my question I can only find people that mention that conda does not work with pipenv.

Describe your environment
  1. OS Type Ubuntu 16.04
  2. Python version: $ python -V Python 3.6.3 :: Anaconda custom (64-bit)
  3. Pipenv version: $ pipenv --version pipenv, version 9.0.3

Issue Analytics

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

github_iconTop GitHub Comments

ncoghlancommented, Mar 9, 2018

Note that “pipenv with a conda backend” would be comparable to an arrangement along the lines of “pipenv with an apt-get backend”: it’s confusing different layers of the packaging stack in a way that doesn’t make logistical sense.

However, the conda folks are open to the idea of transparently managing wheel archives from PyPI as if they were conda packages:

That approach would better respect the layering described in, which points out that pip (and hence tools based on it, like pipenv) is a language specific plugin manager for Python runtimes, whereas tools like conda are language independent component managers for the construction of larger software systems.

kennethreitzcommented, Mar 9, 2018

I mean, there’s nothing stopping you from:

$ pipenv --python /path/to/condaenv/python --site-packages
$ pipenv install
Read more comments on GitHub >

github_iconTop Results From Across the Web

Pipenv with Conda? - python - Stack Overflow
You can setup Pipenv to use Conda's Python executable and site packages directory (ref). pipenv --python=$(conda run which python) --site- ...
Read more >
Advanced Usage of Pipenv — pipenv 11.9.1 documentation
This document covers some of Pipenv's more glorious and advanced features. ... pipenv --python=/path/to/anaconda/python --site-packages ...
Read more >
Pipenv vs Conda (for Data Scientists) | by Dr Soumaya Mauthoor
A pipenv environment is tied to a project repository. Once created, Pipenv saves the pipfiles to the root of the repository. The installed...
Read more >
Pipenv - ::
Info: This package contains files in non-standard labels. noarch v2022.11.30. conda install. To install this package run one of the following: conda install...
Read more >
Manage Python environment with Pyenv + Anaconda + Pipenv
Step 1: install Pyenv · Step 2: install anaconda · Step 3: install anaconda packages · Step 4: install pipenv · Step 5:...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found