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.

is `conda install` used for installing dependencies if a Conda environment is activated?

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Issue

As of 1.0.0 Conda environments are supported. When I install the dependencies of a project with poetry install, and say numpy is in the dependencies, will it use the numpy I get with conda install numpy or the numpy I get with pip install numpy?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
marctorsoccommented, Mar 12, 2020

@finswimmer Is there any progress/plan in supporting packages from conda channels in addition to pypi?

see https://github.com/python-poetry/poetry/issues/1856

0reactions
zEdS15B3GCwqcommented, Nov 30, 2021

Conda is great for creating isolated python environments on Windows. On the other hand, in my experience, the tech behind conda packages is great in principle, but fails in practice. I used to install packages mainly from conda repositories, and pip for whatever wasn’t available, but updating mixed environments was a big headache. Mixing the two complicates things greatly. There are serious discrepancies between conda repositories and pypi: the same module is sometimes packaged with different names, dependencies can be different for the same module, and conda tends to lag behind making new versions available. Also, Pypi is simply better known and supported. I can imagine that it would be a very complex task for poetry developers to make the two systems work together; perhaps not a good idea altogether.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Manage Python Dependencies with Conda - ActiveState
Conda can be used to create, export, list, remove, and update environments that have different Python versions and different packages installed ...
Read more >
Managing environments - Conda
With conda, you can create, export, list, remove, and update environments that have different versions of Python and/or packages installed in them.
Read more >
Install packages in a conda environment on IU's high ... - IU KB
Activate the conda environment (see step 4, above). · Run your program's commands. (You won't have to install the package each time you...
Read more >
Working with Environments – Introduction to Conda for (Data ...
Activate (deactivate) a particular environment. Install packages into existing environments using Conda (+pip). Specify the installation location of an ...
Read more >
python - Difference between conda and pip installs within a ...
For my understanding of Conda that, it manages for you all the dependencies. For example if you have a package (like pandas) that...
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