Any plans to make it work with anaconda python?
See original GitHub issueHi,
Anaconda doesn’t have ensurepip
so I get error as below. Are there any plans to make it work with anaconda?
I would install it under different python, but I saw a thread it doesn’t work (yet) with pyenv, which I use to manage my python versions.
Thank you.
> python -VV
Python 3.6.2 | packaged by conda-forge | (default, Jul 23 2017, 22:59:30)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]
> python get-poetry.py
Retrieving metadata
Installing version: 0.10.3
- Getting dependencies
- Vendorizing dependencies
- Installing poetry
poetry (0.10.3) successfully installed!
> poetry new test
Created package test in test
> cd test
> poetry install
Creating virtualenv test-py3.6 in /home/kossak/.cache/pypoetry/virtualenvs
[CalledProcessError]
Command '['/home/kossak/.cache/pypoetry/virtualenvs/test-py3.6/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit stat
us 127.
install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
> python -m ensurepip
/home/kossak/anaconda3/bin/python: No module named ensurepip
Issue Analytics
- State:
- Created 5 years ago
- Reactions:19
- Comments:25 (3 by maintainers)
Top Results From Across the Web
Anaconda | The World's Most Popular Data Science Platform
Anaconda offers the easiest way to perform Python/R data science and machine learning on a single machine. Start working with thousands of open-source ......
Read more >What is Anaconda for Python & Why Should You Learn it?
Anaconda Python is the perfect platform for beginners who want to learn Python. It's easy to install, and you can get started quickly...
Read more >Python Anaconda Tutorial | Getting Started With ... - Edureka
Open anaconda prompt and check if the library is already installed or not. Since there is no module named numpy present, we will...
Read more >Python Tutorial: Anaconda - Installation and Using Conda
In this Python Tutorial, we will be learning how to install Anaconda by Continuum Analytics. Anaconda is a data science platform that comes ......
Read more >How to Add Packages in Anaconda Python - ActiveState
Pip will work in any environment where Python is installed, including Anaconda and Conda environments, but it cannot install Conda Python ...
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 FreeTop 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
Top GitHub Comments
@sdispater Anconda uses another package manager - conda. And also can install pip packages via pip on top of conda packages in a compatible way. I guess if poetry would provide a unified interface for both pip based and conda based environments it would be a “+1” consideration to use it instead of pipenv.
Conda already has a nice dependency resolver. Pip that is installed on top - does not.
I’ve investigated the abilities of conda to reliably reproduce the installation - and it’s not there yet. But I foresee that it’s not that complex to add. I’ve collected issues about it here: https://github.com/kiwi0fruit/misc/issues/4
As this issue now appears to host the collective discussion for
conda
+poetry
integration, I have a large-scale query for the resident wizards in the room: isconda-forge
known to play nicely withpoetry
?Like all involved, I have an abiding hatred for the festering cesspit that is
setuptools
+pip
+pipenv
. Like all involved, I also like things that work – andconda-forge
feedstocks work out-of-the-box with that cesspit. I’m concerned that transitioning wholesale topoetry
will compromise our ability to deliver timely updates toconda-forge
feedstocks… or perhaps our ability to developconda-forge
feedstocks at all. There probably be undocumented dragons here that will burn us all horrifyingly, aren’t there?Are there any existing
conda-forge
feedstocks leveraging a pure-poetry installation pathway (i.e., defining only a single top-levelpyproject.toml
file)? My dim suspicion is “Nope.” Still, my hatred is sufficiently abiding that we’ll probably take thepoetry
plunge for our next large-scale project, cross many fingers, chew much bubblegum, and dream wildly of sane tooling in a galaxy far, far away.