Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

best way to install from conda-forge #34

Closed
gboeing opened this issue Aug 15, 2018 · 3 comments
Closed

best way to install from conda-forge #34

gboeing opened this issue Aug 15, 2018 · 3 comments

Comments

@gboeing
Copy link
Contributor

gboeing commented Aug 15, 2018

In light of conda-forge/fiona-feedstock#89 (comment) I want to make sure OSMnx is set up properly and that users are provided the correct installation instructions.

  1. Do I need to change anything in its feedstock recipe to ensure it installs dependencies exclusively from conda-forge and not defaults?
  2. What are the best installation instructions for users to install it from conda-forge without mixing channels?

I had provided these instructions in the past to try to make a pure conda-forge environment, but it is now unsolvable and I'm unsure why:

>>>conda create --override-channels -c conda-forge -n OSMNX python=3 osmnx

Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - osmnx
  - geopandas[version='>=0.2.1']
  - gdal=2.1
  - osmnx
  - geopandas[version='>=0.2.1']
  - pysal
  - scipy[version='>=0.11']

Current channels:

  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
@ocefpaf
Copy link
Member

ocefpaf commented Aug 15, 2018

Ah! You found our kryptonite! Conda-forge does not have scipy on Windows yet and my suggestion is moot there :-(

@isuruf I what is the status of conda-forge/scipy-feedstock#78 ?

@gboeing
Copy link
Contributor Author

gboeing commented Sep 19, 2018

Just checking back on this best practice question, as it seems there have been some changes over the past month.

@ocefpaf
Copy link
Member

ocefpaf commented Sep 19, 2018

If you can afford to use a single channel, and for osmnx that means conda-forge b/c it is not available on defaults, that is always safer. However, things are stabilizing and using multiple channels "should" be OK now.

Note that only after the compiler migration, which is still happening, that using both channels side-by-side will be 100% OK.

@gboeing gboeing closed this as completed Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants