holoviz / geoviews

Simple, concise geographical visualization in Python
http://geoviews.org
BSD 3-Clause "New" or "Revised" License
578 stars 75 forks source link

on windows 64 bit #34

Closed khannaum closed 6 years ago

khannaum commented 7 years ago

on windows 64 bit i install i apply the following commands

conda create --name geoviews jupyter xarray source activate geoviews conda install -c scitools/label/dev -c conda-forge -c ioam holoviews geoviews iris cartopy

(geoviews) D:\Anaconda\envs\geoviews>python.exe Python 2.7.12 | packaged by conda-forge | (default, Sep 8 2016, 14:46:05) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import geoviews Traceback (most recent call last): File "", line 1, in File "D:\Anaconda\envs\geoviews\lib\site-packages\geoviewsinit.py", line 9, in from .element import (Element, Feature, Tiles, # noqa (API import) File "D:\Anaconda\envs\geoviews\lib\site-packages\geoviews\element_init.py ", line 3, in from .geo import (_Element, Feature, Tiles, is_geographic, # noqa (API i mport) File "D:\Anaconda\envs\geoviews\lib\site-packages\geoviews\element\geo.py", li ne 9, in from holoviews.element import (Text as HVText, Path as HVPath, ImportError: cannot import name GridImage Kindly help.

hansbrenna commented 7 years ago

I have the same issue on Ubuntu 16.04 using python 2.7. I did

conda install -c scitools/label/dev -c conda-forge iris cartopy
conda install -c conda-forge -c ioam holoviews geoviews

to install and when I try to import geoviews, either alone or using

import numpy as np
import xarray as xr
import pandas as pd
import holoviews as hv
import geoviews as gv
import iris
import cartopy

from cartopy import crs
from cartopy import feature as cf
from geoviews import feature as gf

I get the same error message.

philippjfr commented 7 years ago

It seems the install instructions still aren't quite right. I'll make sure to pin the holoviews version in future but for now you should be able to get the correct version with:

conda install -c ioam holoviews=1.6.2