opengeos/whitebox-python

<class 'urllib.error.URLError'>

ichsan2895 opened this issue · 2 comments

  • whitebox version: 2.0.1
  • Python version: 3.7.10
  • Operating System: Windows 10 Education 64-bit

Description

Unexpected error when I ran whitebox.WhiteboxTools()

What I Did

import whitebox
print(whitebox.__version__)
wbt = whitebox.WhiteboxTools()

2.0.1
Unexpected error: <class 'urllib.error.URLError'>
URLError: <urlopen error unknown url type: hhttps>

Conda info

     active environment : tiruan
    active env location : F:\Anaconda3\envs\tiruan
            shell level : 1
       user config file : C:\Users\Muhammad Ichsan\.condarc
 populated config files : C:\Users\Muhammad Ichsan\.condarc
          conda version : 4.10.3
    conda-build version : 3.21.4
         python version : 3.7.10.final.0
       virtual packages : __cuda=10.2=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : F:\Anaconda3  (writable)
      conda av data dir : F:\Anaconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/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
          package cache : F:\Anaconda3\pkgs
                          C:\Users\Muhammad Ichsan\.conda\pkgs
                          C:\Users\Muhammad Ichsan\AppData\Local\conda\conda\pkgs
       envs directories : F:\Anaconda3\envs
                          C:\Users\Muhammad Ichsan\.conda\envs
                          C:\Users\Muhammad Ichsan\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.10.3 requests/2.26.0 CPython/3.7.10 Windows/10 Windows/10.0.16299
          administrator : False
             netrc file : None
           offline mode : False

Additional note : I installed whitebox (with pip) to another conda environment. It gave same error.

This issue has been fixed. Please try again.

Thanks for whitebox team, it solved