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.

Python 3.6 installation issues related to geoviews, holoviews, datashader stack

See original GitHub issue

I attempted to make a Python 3.6 environment inclusive of datashader, holoviews, geoviews, and related dependencies. Here are the commands I ran:

conda create --name ds36 python=3.6
source activate ds36
conda install -c ioam/label/dev holoviews
conda install datashader
cd $C/datashader
python setup.py develop
conda install -c ioam paramnb
conda install -c scitools/label/dev -c conda-forge iris cartopy
conda install xarray
conda install -c conda-forge -c ioam holoviews>=1.6.2 geoviews

On the last line of that sequence of commands, I got the following error:

UnsatisfiableError: The following specifications were found to be in conflict:
  - geoviews -> python 2.7*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

Here’s the ds36 at the time of that final failure:

appnope                   0.1.0                    py36_0
biggus                    0.15.0                   py36_0    conda-forge
bleach                    1.5.0                    py36_0
bokeh                     0.12.4                   py36_0
cartopy                   0.15.0              np112py36_0    conda-forge
cf_units                  1.1.3                    py36_1    conda-forge
chest                     0.2.3                    py36_0
cloudpickle               0.2.2                    py36_0
curl                      7.52.1                        0    conda-forge
cycler                    0.10.0                   py36_0
dask                      0.14.0                   py36_0
datashader                0.4.0                    py36_0
datashape                 0.5.4                    py36_0
decorator                 4.0.11                   py36_0
entrypoints               0.2.2                    py36_1
expat                     2.1.0                         2    conda-forge
freetype                  2.7                           1    conda-forge
geos                      3.5.1                         1    conda-forge
hdf4                      4.2.12                        0    conda-forge
hdf5                      1.8.17                        9    conda-forge
heapdict                  1.0.0                    py36_1
holoviews                 1.7dev6                  py36_0    ioam/label/dev
html5lib                  0.999                    py36_0
icu                       54.1                          0
ipykernel                 4.5.2                    py36_0
ipython                   5.3.0                    py36_0
ipython_genutils          0.1.0                    py36_0
ipywidgets                5.2.2                    py36_1
iris                      1.12.0                   py36_1    conda-forge
jbig                      2.1                           0
jinja2                    2.9.5                    py36_0
jpeg                      9b                            0
jsonschema                2.5.1                    py36_0
jupyter                   1.0.0                    py36_3
jupyter_client            5.0.0                    py36_0
jupyter_console           5.1.0                    py36_0
jupyter_core              4.3.0                    py36_0
libgfortran               3.0.0                         0    conda-forge
libiconv                  1.14                          4    conda-forge
libmo_unpack              3.0                           1    conda-forge
libnetcdf                 4.4.1.1                       2    conda-forge
libpng                    1.6.28                        0    conda-forge
libtiff                   4.0.6                         3
libxml2                   2.9.4                         0
libxslt                   1.1.29                        3    conda-forge
llvmlite                  0.16.0                   py36_0
locket                    0.2.0                    py36_1
lxml                      3.7.2                    py36_1    conda-forge
markupsafe                0.23                     py36_2
matplotlib                1.5.3               np112py36_7    conda-forge
mistune                   0.7.3                    py36_1
mkl                       2017.0.1                      0
mo_pack                   0.2.0               np112py36_0    conda-forge
multipledispatch          0.4.9                    py36_0
nbconvert                 5.1.1                    py36_0
nbformat                  4.3.0                    py36_0
nc_time_axis              1.0.1                    py36_0    conda-forge
netcdf4                   1.2.4               np112py36_3    conda-forge
networkx                  1.11                     py36_0
notebook                  4.3.1                    py36_0
numba                     0.31.0              np112py36_0
numpy                     1.12.0                   py36_0
odo                       0.5.0                    py36_1
olefile                   0.44                     py36_0
openssl                   1.0.2k                        0
owslib                    0.14.0                   py36_0    conda-forge
pandas                    0.19.2              np112py36_1
pandocfilters             1.4.1                    py36_0
param                     1.5.0                    py36_0    ioam
paramnb                   2.0.1                    py36_0    ioam
partd                     0.3.7                    py36_0
path.py                   10.1                     py36_0
pexpect                   4.2.1                    py36_0
pickleshare               0.7.4                    py36_0
pillow                    4.0.0                    py36_2    conda-forge
pip                       9.0.1                    py36_1
proj4                     4.9.3                         2    conda-forge
prompt_toolkit            1.0.9                    py36_0
ptyprocess                0.5.1                    py36_0
pyepsg                    0.3.1                    py36_0    conda-forge
pygments                  2.2.0                    py36_0
pyke                      1.1.1                    py36_0    conda-forge
pyparsing                 2.1.4                    py36_0
pyproj                    1.9.5.1                  py36_0    conda-forge
pyqt                      5.6.0                    py36_2
pyshp                     1.2.10                   py36_0    conda-forge
python                    3.6.0                         0
python-dateutil           2.6.0                    py36_0
pytz                      2016.10                  py36_0
pyyaml                    3.12                     py36_0
pyzmq                     16.0.2                   py36_0
qt                        5.6.2                         0
qtconsole                 4.2.1                    py36_1
readline                  6.2                           2
requests                  2.13.0                   py36_0
scipy                     0.18.1              np112py36_1
setuptools                27.2.0                   py36_0
shapely                   1.5.17              np112py36_2    conda-forge
simplegeneric             0.8.1                    py36_1
sip                       4.18                     py36_0
six                       1.10.0                   py36_0
sqlite                    3.13.0                        0
terminado                 0.6                      py36_0
testpath                  0.3                      py36_0
tk                        8.5.18                        0
toolz                     0.8.2                    py36_0
tornado                   4.4.2                    py36_0
traitlets                 4.3.2                    py36_0
udunits2                  2.2.23                        0    conda-forge
wcwidth                   0.1.7                    py36_0
wheel                     0.29.0                   py36_0
widgetsnbextension        1.2.6                    py36_0
xarray                    0.9.1                    py36_0
xz                        5.2.2                         1
yaml                      0.1.6                         0
zlib                      1.2.8                         3

I ran a similar sequence of commands for Python 2.7, 3.4, and 3.5 and the commands ran okay (I’m still now checking in those other Pythons envs if those envs actually work).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
philippjfrcommented, Mar 6, 2017

I’ve just uploaded py3.6 packages to the ioam channel. For a fresh install I’d recommend:

conda create --name ds36 python=3.6
source activate ds36
conda install datashader
conda install -c ioam -c conda-forge paramnb geoviews
conda install -c ioam/label/dev holoviews
0reactions
Deusamicommented, Sep 27, 2018

Maybe later today…

If I can get James’ solution to work, I should probably put it off for a week or two—midterms…

From: Chris B notifications@github.com Sent: Thursday, September 27, 2018 7:54 AM To: pyviz/geoviews geoviews@noreply.github.com Cc: Patricia Tice ptice@Knights.ucf.edu; Comment comment@noreply.github.com Subject: Re: [pyviz/geoviews] Python 3.6 installation issues related to geoviews, holoviews, datashader stack (#47)

On windows 7 64 bits I just followed the instructions at http://pyviz.org/installation.htmlhttps://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpyviz.org%2Finstallation.html&data=02|01|ptice%40knights.ucf.edu|7df7a620a5924d2c17f708d6246fe3f1|5b16e18278b3412c919668342689eeb7|0|0|636736460326471858&sdata=NiUF8FP1gh%2FiCpMx7oyUxkncE8%2BDjkPwdq81d6J11hc%3D&reserved=0 with no problem (except I had to type conda activate rather than source activate).

I.e. I updated conda (to 4.5.11, as you have), I created a new environment, and then I installed pyviz into it (pyviz includes geoviews, datashader, holoviews).

Would you be able to try the same?

If that works, we can then debug the current problem you’re having.

If that doesn’t work, please report the whole output from conda info, and - if possible - the whole of the output from the step that’s failing for you (presumably the install step).

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpyviz%2Fgeoviews%2Fissues%2F47%23issuecomment-425061925&data=02|01|ptice%40knights.ucf.edu|7df7a620a5924d2c17f708d6246fe3f1|5b16e18278b3412c919668342689eeb7|0|0|636736460326471858&sdata=Ri3Y%2B7UpPafaeQqQIK9wF1qs7xIpXl9YiiZ7k9ReCe8%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAomreyTWXXlMkbuRi-oVbmTJlIrDJatZks5ufLxLgaJpZM4MRVRK&data=02|01|ptice%40knights.ucf.edu|7df7a620a5924d2c17f708d6246fe3f1|5b16e18278b3412c919668342689eeb7|0|0|636736460326471858&sdata=hPpZG4c%2F0FQp2FyfH81nwmn%2FXjNgOQfC%2FgCViSyzKx0%3D&reserved=0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python 3.6 installation issues related to geoviews, holoviews ...
I attempted to make a Python 3.6 environment inclusive of datashader, holoviews, geoviews, and related dependencies.
Read more >
Unanswered 'datashader' Questions - Stack Overflow
I'm using plotly's Scattermapbox to overlay a map with a shaded image of polygons created by datashader's shade function (based on https://plotly.com/python/ ...
Read more >
Geoviews ImportError: Numba needs NumPy 1.21 or less
When I want to use Geoviews: from geoviews.operation.regrid import weighted_regrid. Then, I got an import error:
Read more >
pyviz/pyviz - Gitter
I install Panel 0.9.3 and HoloViews 1.13.0 ,No chang ... Using GeoView's line_width=dim('n') throws an error depending on the ... On python 3.6...
Read more >
Installing HoloViews — HoloViews v1.15.3
This recommended installation includes the default Matplotlib plotting library ... Alternatively, you can ask pip to install a larger set of packages 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