pipenv with some packages from conda
See original GitHub issueIt is possible to specify dependencies inside the Pipfile that are installed from conda instead of pypi? Somethink like this:
[[source]]
url = 'https://pypi.python.org/simple'
verify_ssl = true
name = 'pypi'
[[source]]
url = 'https://repo.continuum.io/...'
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
- OS Type Ubuntu 16.04
- Python version:
$ python -V
Python 3.6.3 :: Anaconda custom (64-bit) - Pipenv version:
$ pipenv --version
pipenv, version 9.0.3
Issue Analytics
- State:
- Created 6 years ago
- Comments:24 (12 by maintainers)
Top 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 - :: Anaconda.org
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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Note that “
pipenv
with aconda
backend” would be comparable to an arrangement along the lines of “pipenv
with anapt-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: https://github.com/conda/conda/issues/5202That approach would better respect the layering described in http://www.curiousefficiency.org/posts/2016/09/python-packaging-ecosystem.html#platform-management-or-plugin-management, which points out that
pip
(and hence tools based on it, likepipenv
) is a language specific plugin manager for Python runtimes, whereas tools likeconda
are language independent component managers for the construction of larger software systems.I mean, there’s nothing stopping you from: