Git Product home page Git Product logo

drone-2020's Introduction

drone-2020

uoDrone 2020 documentation repository.

drone-2020's People

Contributors

faizchishtie avatar vbabineau avatar

Watchers

 avatar

drone-2020's Issues

Dlib import does not work

The current requirements.txt env does not work

The dlib import we need for the scripts to work does not seem to be compatible

PS C:\Users\Victor> pip install -r requirements.txt
Requirement already satisfied: attrs==19.3.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 1)) (19.3.0)
Requirement already satisfied: backcall==0.1.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 2)) (0.1.0)
Requirement already satisfied: bleach==3.1.5 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 3)) (3.1.5)
Requirement already satisfied: certifi==2020.4.5.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 4)) (2020.4.5.1)
Requirement already satisfied: colorama==0.4.3 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 5)) (0.4.3)
Requirement already satisfied: cycler==0.10.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 6)) (0.10.0)
Requirement already satisfied: decorator==4.4.2 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 7)) (4.4.2) 
Requirement already satisfied: defusedxml==0.6.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 8)) (0.6.0)
Collecting dlib==19.8.1
  Using cached dlib-19.8.1.tar.gz (2.7 MB)
Requirement already satisfied: entrypoints==0.3 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 10)) (0.3)
Collecting importlib-metadata==1.6.0
  Using cached importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB)
Collecting ipykernel==5.3.0
  Using cached ipykernel-5.3.0-py3-none-any.whl (119 kB)
Collecting ipython==7.14.0
  Using cached ipython-7.14.0-py3-none-any.whl (782 kB)
Requirement already satisfied: ipython-genutils==0.2.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 14)) (0.2.0)
Requirement already satisfied: ipywidgets==7.5.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 15)) (7.5.1)
Collecting jedi==0.17.0
  Using cached jedi-0.17.0-py2.py3-none-any.whl (1.1 MB)
Collecting Jinja2==2.11.2
  Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting joblib==0.15.1
  Using cached joblib-0.15.1-py3-none-any.whl (298 kB)
Requirement already satisfied: jsonschema==3.2.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 19)) (3.2.0)
Requirement already satisfied: jupyter==1.0.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 20)) (1.0.0)
Collecting jupyter-client==6.1.3
  Using cached jupyter_client-6.1.3-py3-none-any.whl (106 kB)
Requirement already satisfied: jupyter-console==6.1.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 22)) (6.1.0)
Collecting jupyter-core==4.6.3
  Using cached jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB)
Collecting kiwisolver==1.2.0
  Using cached kiwisolver-1.2.0-cp37-none-win_amd64.whl (57 kB)
Requirement already satisfied: MarkupSafe==1.1.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 25)) (1.1.1)
Collecting matplotlib==3.2.1
  Using cached matplotlib-3.2.1-cp37-cp37m-win_amd64.whl (9.2 MB)
Requirement already satisfied: mistune==0.8.4 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 27)) (0.8.4)
Requirement already satisfied: nbconvert==5.6.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 28)) (5.6.1)
Collecting nbformat==5.0.6
  Using cached nbformat-5.0.6-py3-none-any.whl (170 kB)
Requirement already satisfied: notebook==6.0.3 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 30)) (6.0.3)
Collecting numpy==1.18.4
  Using cached numpy-1.18.4-cp37-cp37m-win_amd64.whl (12.8 MB)
Collecting opencv-contrib-python==4.2.0.34
  Using cached opencv_contrib_python-4.2.0.34-cp37-cp37m-win_amd64.whl (39.5 MB)
Requirement already satisfied: packaging==20.4 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 33)) (20.4)
Requirement already satisfied: pandocfilters==1.4.2 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 34)) (1.4.2)
Collecting parso==0.7.0
  Using cached parso-0.7.0-py2.py3-none-any.whl (100 kB)
Requirement already satisfied: pickleshare==0.7.5 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 36)) (0.7.5)
Collecting Pillow==7.1.2
  Using cached Pillow-7.1.2-cp37-cp37m-win_amd64.whl (2.0 MB)
Requirement already satisfied: prometheus-client==0.7.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 38)) (0.7.1)
Collecting prompt-toolkit==3.0.5
  Using cached prompt_toolkit-3.0.5-py3-none-any.whl (351 kB)
Collecting Pygments==2.6.1
  Using cached Pygments-2.6.1-py3-none-any.whl (914 kB)
Requirement already satisfied: pyparsing==2.4.7 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 41)) (2.4.7)
Processing c:\users\victor\appdata\local\pip\cache\wheels\22\52\11\f0920f95c23ed7d2d0b05f2b7b2f4509e87a20cfe8ea43d987\pyrsistent-0.16.0-cp37-cp37m-win_amd64.whl
Requirement already satisfied: python-dateutil==2.8.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 43)) (2.8.1)
Requirement already satisfied: pywin32==227 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 44)) (227)
Requirement already satisfied: pywinpty==0.5.7 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 45)) (0.5.7)
Collecting pyzmq==19.0.1
  Using cached pyzmq-19.0.1-cp37-cp37m-win_amd64.whl (1.1 MB)
Collecting qtconsole==4.7.4
  Using cached qtconsole-4.7.4-py2.py3-none-any.whl (118 kB)
Requirement already satisfied: QtPy==1.9.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 48)) (1.9.0)
Collecting scikit-learn==0.23.1
  Using cached scikit_learn-0.23.1-cp37-cp37m-win_amd64.whl (6.8 MB)
Requirement already satisfied: scipy==1.4.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 50)) (1.4.1)
Requirement already satisfied: Send2Trash==1.5.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 51)) (1.5.0)
Requirement already satisfied: six==1.15.0 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 52)) (1.15.0)
Requirement already satisfied: terminado==0.8.3 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 53)) (0.8.3)
Requirement already satisfied: testpath==0.4.4 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 54)) (0.4.4)
Collecting threadpoolctl==2.0.0
  Using cached threadpoolctl-2.0.0-py3-none-any.whl (34 kB)
Collecting tornado==6.0.4
  Using cached tornado-6.0.4-cp37-cp37m-win_amd64.whl (417 kB)
Requirement already satisfied: traitlets==4.3.3 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 57)) (4.3.3)
Collecting wcwidth==0.1.9
  Using cached wcwidth-0.1.9-py2.py3-none-any.whl (19 kB)
Requirement already satisfied: webencodings==0.5.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 59)) (0.5.1)
Requirement already satisfied: widgetsnbextension==3.5.1 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 60)) (3.5.1)
Requirement already satisfied: wincertstore==0.2 in c:\users\victor\anaconda3\lib\site-packages (from -r requirements.txt (line 61)) (0.2)
Collecting zipp==3.1.0
  Using cached zipp-3.1.0-py3-none-any.whl (4.9 kB)
Requirement already satisfied: setuptools>=18.5 in c:\users\victor\anaconda3\lib\site-packages (from ipython==7.14.0->-r requirements.txt (line 13)) (45.2.0.post20200210)
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Victor\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Victor\\AppData\\Local\\Temp\\pip-install-8rcr59sh\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\Victor\\AppData\\Local\\Temp\\pip-install-8rcr59sh\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Victor\AppData\Local\Temp\pip-wheel-65uz92uw'
       cwd: C:\Users\Victor\AppData\Local\Temp\pip-install-8rcr59sh\dlib\
  Complete output (43 lines):
  running bdist_wheel
  running build
  Detected Python architecture: 64bit
  Detected platform: win32
  Configuring cmake ...
  -- Building for: NMake Makefiles
  CMake Warning (dev) in CMakeLists.txt:
    No project() command is present.  The top-level CMakeLists.txt file must
    contain a literal, direct call to the project() command.  Add a line of
    code such as
      project(ProjectName)
    near the top of the file, but after cmake_minimum_required().
    CMake is pretending there is a "project(Project)" command on the first
    line.
  This warning is for project developers.  Use -Wno-dev to suppress it.
  -- The C compiler identification is unknown
  -- The CXX compiler identification is unknown
  CMake Error in CMakeLists.txt:
    The CMAKE_C_COMPILER:
      cl
    is not a full path and was not found in the PATH.
    To use the NMake generator with Visual C++, cmake must be run from a shell
    that can use the compiler cl from the command line.  This environment is
    unable to invoke the cl compiler.  To fix this problem, run cmake from the
    Visual Studio Command Prompt (vcvarsall.bat).
    Tell CMake where to find the compiler by setting either the environment
    variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
    the compiler, or to the compiler name if it is in the PATH.
  CMake Error in CMakeLists.txt:
    The CMAKE_CXX_COMPILER:
      cl
    is not a full path and was not found in the PATH.
    To use the NMake generator with Visual C++, cmake must be run from a shell
    that can use the compiler cl from the command line.  This environment is
    unable to invoke the cl compiler.  To fix this problem, run cmake from the
    Visual Studio Command Prompt (vcvarsall.bat).
    Tell CMake where to find the compiler by setting either the environment
    variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
    to the compiler, or to the compiler name if it is in the PATH.
  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Victor/AppData/Local/Temp/pip-install-8rcr59sh/dlib/tools/python/build/CMakeFiles/CMakeOutput.log".
  See also "C:/Users/Victor/AppData/Local/Temp/pip-install-8rcr59sh/dlib/tools/python/build/CMakeFiles/CMakeError.log".
  error: cmake configuration failed!
  ----------------------------------------
  ERROR: Failed building wheel for dlib
  Running setup.py clean for dlib
Failed to build dlib
ERROR: spyder 4.0.1 requires pyqt5<5.13; python_version >= "3", which is not installed.
ERROR: spyder 4.0.1 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
ERROR: pytest-astropy 0.8.0 requires pytest-cov>=2.0, which is not installed.
ERROR: pytest-astropy 0.8.0 requires pytest-filter-subpackage>=0.1, which is not installed.
ERROR: spyder 4.0.1 has requirement jedi==0.14.1, but you'll have jedi 0.17.0 which is incompatible.
ERROR: python-language-server 0.31.7 has requirement jedi<0.16,>=0.14.1, but you'll have jedi 0.17.0 which is incompatible.
Installing collected packages: dlib, zipp, importlib-metadata, tornado, pyzmq, jupyter-core, jupyter-client, wcwidth, prompt-toolkit, Pygments, parso, jedi, ipython, ipykernel, Jinja2, joblib, kiwisolver, numpy, matplotlib, nbformat, opencv-contrib-python, Pillow, pyrsistent, qtconsole, threadpoolctl, scikit-learn
    Running setup.py install for dlib ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Victor\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Victor\\AppData\\Local\\Temp\\pip-install-8rcr59sh\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\Victor\\AppData\\Local\\Temp\\pip-install-8rcr59sh\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Victor\AppData\Local\Temp\pip-record-ohyajfti\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Victor\anaconda3\Include\dlib'
         cwd: C:\Users\Victor\AppData\Local\Temp\pip-install-8rcr59sh\dlib\
    Complete output (44 lines):
    running install
    running build
    Detected Python architecture: 64bit
    Detected platform: win32
    Removing build directory C:\Users\Victor\AppData\Local\Temp\pip-install-8rcr59sh\dlib\./tools/python/build
    Configuring cmake ...
    -- Building for: NMake Makefiles
    CMake Warning (dev) in CMakeLists.txt:
      No project() command is present.  The top-level CMakeLists.txt file must
      contain a literal, direct call to the project() command.  Add a line of
      code such as
        project(ProjectName)
      near the top of the file, but after cmake_minimum_required().
      CMake is pretending there is a "project(Project)" command on the first
      line.
    This warning is for project developers.  Use -Wno-dev to suppress it.
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    CMake Error in CMakeLists.txt:
      The CMAKE_C_COMPILER:
        cl
      is not a full path and was not found in the PATH.
      To use the NMake generator with Visual C++, cmake must be run from a shell
      that can use the compiler cl from the command line.  This environment is
      unable to invoke the cl compiler.  To fix this problem, run cmake from the
      Visual Studio Command Prompt (vcvarsall.bat).
      Tell CMake where to find the compiler by setting either the environment
      variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
      the compiler, or to the compiler name if it is in the PATH.
    CMake Error in CMakeLists.txt:
      The CMAKE_CXX_COMPILER:
        cl
      is not a full path and was not found in the PATH.
      To use the NMake generator with Visual C++, cmake must be run from a shell
      that can use the compiler cl from the command line.  This environment is
      unable to invoke the cl compiler.  To fix this problem, run cmake from the
      Visual Studio Command Prompt (vcvarsall.bat).
      Tell CMake where to find the compiler by setting either the environment
      variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
      to the compiler, or to the compiler name if it is in the PATH.
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/Victor/AppData/Local/Temp/pip-install-8rcr59sh/dlib/tools/python/build/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/Victor/AppData/Local/Temp/pip-install-8rcr59sh/dlib/tools/python/build/CMakeFiles/CMakeError.log".
    error: cmake configuration failed!
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Victor\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Victor\\AppData\\Local\\Temp\\pip-install-8rcr59sh\\dlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\Victor\\AppData\\Local\\Temp\\pip-install-8rcr59sh\\dlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Victor\AppData\Local\Temp\pip-record-ohyajfti\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Victor\anaconda3\Include\dlib' Check the logs for full command output.```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.