Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to update install instructions #62

Open
rmackay9 opened this issue Oct 4, 2023 · 2 comments
Open

Need to update install instructions #62

rmackay9 opened this issue Oct 4, 2023 · 2 comments

Comments

@rmackay9
Copy link

rmackay9 commented Oct 4, 2023

When I tried to follow the install instructions for Ubuntu (on WSL2) here I ran into the following errors

  • sudo apt-get install python-pip libusb-1.0.0-dev libdc1394-22-dev
    • E: Unable to locate package libdc1394-22-dev
    • Maybe this package should be updated to "libdc1394-dev" according to some random googling
  • sudo apt-get install libjpeg-turbo8-dev python-opencv python-wxgtk3.0
    • E: Unable to locate package python-opencv
    • E: Unable to locate package python-wxgtk3.0
    • E: Couldn't find any package by glob 'python-wxgtk3.0'
    • Maybe it is not "python-opencv" but rather "opencv-python" and maybe it should be installed with pip3? e.g. "pip3 install --upgrade opencv-python"
  • pip install numpy future gooey
    • ERROR: Failed building wheel for wxpython
    • maybe this command needs to be added to the list, "sudo apt-get install libgtk-3-dev"

When attempting to run, "python geosearch.py " the application started but this error appeared in the console, "could not find module piexif" so maybe we also need, "pip3 install --upgrade piexif"

@rmackay9
Copy link
Author

rmackay9 commented Oct 9, 2023

There may also be an issue when using Ubuntu 22.x that "python-wxgtk3.0" is not found.

@monkeypants
Copy link

monkeypants commented Oct 13, 2023

Same also with Debian 10 (buster), which I'm pretty sure is what I used to run it with. I just tried to get this up and running with buster in a docker container and I've hit a few other snags too:

  • maybe the libjpeg62-turbo-dev package replaces the libjpeg-turbo8-dev? I remember there was some confusion back in the day about libjpeg-turbo / libturbo-jpeg or something like that (yes, I realise that's totally unhelpful - unless it manages to jog someone's memory)
  • after that, pip install numpy future colored==1.3.4 opencv-python==3.4.0.14 got things to the point where pip install cuav ran without complaining.
FROM python:2.7                                                                 
                                                                                
RUN apt-get update && \
   apt-get install -y \
   python-pip libusb-1.0.0-dev \
   libdc1394-22-dev \
   libjpeg62-turbo-dev \
   cmake \
   python-opencv python-wxgtk3.0 \
   && rm -rf /var/lib/apt/lists/*

RUN apt-get install -y build-essential                
#RUN apt-get install -y qtbase5-dev  # no joy, hmm
#RUN apt-cache search qt  # no joy! source.list problem?
RUN cat /etc/os-release  # definitely buster

RUN pip install --upgrade pip
RUN pip install numpy future colored==1.3.4 opencv-python==3.4.0.14
RUN pip install cuav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants