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.

Cannot install for development - dependencies cannot be resolved

See original GitHub issue

I’m trying to install for development as described here https://hvplot.holoviz.org/developer_guide/index.html#conda-environments. But it fails.

$ doit develop_install -c pyviz/label/dev -o all
.  develop_install
Install build dependencies with: conda install -y -c pyviz/label/dev "param >=1.7.0" "pyct >=0.4.4" "setuptools 
>=30.3.0"
Install build dependencies with: conda install -y -c pyviz/label/dev "param >=1.7.0" "pyct >=0.4.4" "setuptools 
>=30.3.0"
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: C:\Users\masma\Anaconda3\envs\hvplot_dev

  added / updated specs:
    - param[version='>=1.7.0']
    - pyct[version='>=0.4.4']
    - setuptools[version='>=30.3.0']


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    param-1.12.2               |             py_0          95 KB  pyviz/label/dev
    pyct-0.4.8                 |             py_0           3 KB  pyviz/label/dev
    pyct-core-0.4.8            |             py_0          15 KB  pyviz/label/dev
    ------------------------------------------------------------
                                           Total:         113 KB

The following NEW packages will be INSTALLED:

  param              pyviz/label/dev/noarch::param-1.12.2-py_0
  pyct               pyviz/label/dev/noarch::pyct-0.4.8-py_0
  pyct-core          pyviz/label/dev/noarch::pyct-core-0.4.8-py_0



Downloading and Extracting Packages
param-1.12.2         | 95 KB     | ########## | 100% 
pyct-0.4.8           | 3 KB      | ########## | 100% 
pyct-core-0.4.8      | 15 KB     | ########## | 100% 
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done


==> WARNING: A newer version of conda exists. <==
  current version: 4.10.3
  latest version: 4.13.0

Please update conda by running

    $ conda update -n base -c defaults conda


Install runtime dependencies with: conda install -y  -c pyviz/label/dev "bokeh >=1.0.0" "colorcet >=2" "holoviews >=1.11.0" "pandas" "numpy >=1.15" "packaging" "cartopy" "codecov" "dask >=2021.3.0" "datashader >=0.6.5" "fiona" "flake8" "geopandas" "geoviews >=1.6.0" "intake >=0.6.5" "intake-parquet >=0.2.3" "intake-xarray >=0.5.0" "matplotlib" "nbsite >=0.7.1" "nbsmoke >=0.2.0" "networkx >=2.6.3" "notebook >=5.4" "numba >=0.51.0" "numpy >=1.7" 
"param >=1.6.1" "parameterized" "pillow >=8.2.0" "plotly" "pooch" "pooch >=1.6.0" "pyct >=0.4.4" "pydata-sphinx-theme <0.9.0" "pyepsg" "pygraphviz" "pyproj" "pytest" "pytest-cov" "python-snappy >=0.6.0" "rasterio" "s3fs >=2022.1.0" "scikit-image >=0.17.2" "scipy" "scipy >=1.5.3" "selenium >=3.141.0" "setuptools" "spatialpandas >=0.4.3" "sphinx-copybutton" "streamz >=0.3.0" "xarray" "xarray >=0.18.2"
Install runtime dependencies with: conda install -y  -c pyviz/label/dev "bokeh >=1.0.0" "colorcet >=2" "holoviews >=1.11.0" "pandas" "numpy >=1.15" "packaging" "cartopy" "codecov" "dask >=2021.3.0" "datashader >=0.6.5" "fiona" "flake8" "geopandas" "geoviews >=1.6.0" "intake >=0.6.5" "intake-parquet >=0.2.3" "intake-xarray >=0.5.0" "matplotlib" "nbsite >=0.7.1" "nbsmoke >=0.2.0" "networkx >=2.6.3" "notebook >=5.4" "numba >=0.51.0" "numpy >=1.7" 
"param >=1.6.1" "parameterized" "pillow >=8.2.0" "plotly" "pooch" "pooch >=1.6.0" "pyct >=0.4.4" "pydata-sphinx-theme <0.9.0" "pyepsg" "pygraphviz" "pyproj" "pytest" "pytest-cov" "python-snappy >=0.6.0" "rasterio" "s3fs >=2022.1.0" "scikit-image >=0.17.2" "scipy" "scipy >=1.5.3" "selenium >=3.141.0" "setuptools" "spatialpandas >=0.4.3" "sphinx-copybutton" "streamz >=0.3.0" "xarray" "xarray >=0.18.2"
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.

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

  - sphinx-copybutton
  - pooch[version='>=1.6.0']
  - pydata-sphinx-theme[version='<0.9.0']

Current channels:

  - https://conda.anaconda.org/pyviz/label/dev/win-64
  - https://conda.anaconda.org/pyviz/label/dev/noarch
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/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.


TaskFailed - taskid:develop_install
Command failed: 'conda install -y  -c pyviz/label/dev "bokeh >=1.0.0" "colorcet >=2" "holoviews >=1.11.0" "pandas" "numpy >=1.15" "packaging" "cartopy" "codecov" "dask >=2021.3.0" "datashader >=0.6.5" "fiona" "flake8" "geopandas" "geoviews >=1.6.0" "intake >=0.6.5" "intake-parquet >=0.2.3" "intake-xarray >=0.5.0" "matplotlib" "nbsite 
>=0.7.1" "nbsmoke >=0.2.0" "networkx >=2.6.3" "notebook >=5.4" "numba >=0.51.0" "numpy >=1.7" "param >=1.6.1" "parameterized" "pillow >=8.2.0" "plotly" "pooch" "pooch >=1.6.0" "pyct >=0.4.4" "pydata-sphinx-theme <0.9.0" "pyepsg" "pygraphviz" "pyproj" "pytest" "pytest-cov" "python-snappy >=0.6.0" "rasterio" "s3fs >=2022.1.0" "scikit-image >=0.17.2" "scipy" "scipy >=1.5.3" "selenium >=3.141.0" "setuptools" "spatialpandas >=0.4.3" "sphinx-copybutton" "streamz >=0.3.0" "xarray" "xarray >=0.18.2"' returned 1

I’ve tried with python=3.6 and python=3.9. Both failed.

I’ve now updated conda as suggested. It still fails.

I’m on Windows.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
maximltcommented, Jul 24, 2022

I have updated the developer instruction in https://github.com/holoviz/hvplot/pull/794

The site has not yet been updated so for now you’ll have to read the rendered RST page on GitHub, which is actually pretty well rendered: https://github.com/holoviz/hvplot/blob/master/doc/developer_guide/index.rst

If you get the chance to try again installing hvPlot in dev mode, let me know if these instructions work correctly.

0reactions
philippjfrcommented, Jul 25, 2022

I think setting strict channel priority might be cleaner than adding nodefaults and removing defaults separately. Haven’t tested it though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install won't install devDependencies - Stack Overflow
On windows for some reason when I run npm install it won't install devDependencies. AFAIK it should. If I run npm install --dev...
Read more >
Package dependencies cannot be resolves - wine - Ask Ubuntu
First, if you have Synaptic Package Manager installed, I would try the following steps: Open Synaptic; Choose Edit > Fix Broken Packages ......
Read more >
Error npm install won t install devDependencies - Edureka
For some reason when I run npm install it won't install devDependencies. If I run npm install --dev devDependencies are installed.
Read more >
How To Fix "package Dependencies Cannot Be Resolved ...
This error could be caused by required additional software packages which are missing or not installable. Furthermore, there could be a conflict between ......
Read more >
Install gives "some dependencies are not satisfiable" error
RTist v11.1 requires the Java Development Kit (JDK) 11, which is missing. Resolution. The following steps resolve the issue ...
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