Basemap with Python 3.5 Anaconda on Windows

后端 未结 6 2209
逝去的感伤
逝去的感伤 2020-12-23 12:18

I use Python 3.5 with latest version of Anaconda on Windows (64 bit). I wanted to install Basemap using conda install basemap. Apparently there is a conflict be

6条回答
  •  太阳男子
    2020-12-23 12:43

    I have solved this several times (last time just now) by downloading it from http://www.lfd.uci.edu/~gohlke/pythonlibs and follow the instructions to install. From the anaconda command prompt

    pip install full_path_to_package

    For example, if you downloaded basemap-1.1.0-cp36-cp36m-win_amd64.whl, you would run

    pip install C:\path\to\file\basemap-1.1.0-cp36-cp36m-win_amd64.whl

    Note that the python version of the .whl file must match your python version. For example, ...-cp36-.... indicates Python 3.6. You can find your python version by running the command python --version.

提交回复
热议问题