-
Notifications
You must be signed in to change notification settings - Fork 679
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
bumpy missing as pip dependency #159
Comments
Is this when using MAVProxy direct from source, or via pip or the windows setup exe? |
Is there a reason not to use requirements.txt (as in |
A requirements.txt would be a good idea! |
setup.py contains this comment:
Then it goes on to specify:
Which, as Lorenz points out, does not include numpy (or, as the comment says, matplotlib "etc"). I'm not sure how to test that a requirements file does not pull down files it shouldn't (like the comment complains about), but the following goes some way towards testing that pip does install what it should.
This approach should result in a working virtualenv assuming two things. One; that requirements.txt explicitly includes all the required dependencies, and two; that all the non-python dependencies (libraries etc) are met. If it makes a working virtualenv, it should of course also make a working python site package if you run I made a branch called "requirements-txt-issue159" in my fork at https://github.com/monkeypants/MavProxy that contains the requirements.txt and .gitignore changes. I added numpy and matplotlib, but of course there will be more requirements that are not met yet. @stephendade, can you please do a BTW: Starting on a fresh ubuntu 14.04 machine, I had to install |
So running pip freeze on my laptop gives: |
|
Running it in my virtualenv would only show matplotlib, numpy and their dependencies. I asked for Steve's freeze basically as a bunch of hints to make it easier for me to build up my requirements.txt from scratch. |
How are you installing opencv? I think I used the Debian/Ubuntu packages previously, but if we are going to bootstrap a clean environment it might be better to build it out? |
In terms of OpenCV, according to http://tridge.github.io/MAVProxy/, use an |
oh right, I forgot about that page. Might be good if the README linked to it :) |
It will be, once #151 is merged. |
Startup will fail if numpy not installed on the system
The text was updated successfully, but these errors were encountered: