Comments (4)
pip would find it if you had it installed. Maybe you don't have the dev version? See this stackoverflow answer:
from maxfield.
Jesus Christ, could you have tried to be more snooty?
First of all, I do have it installed -- the exact version I listed. Secondly, no I don't have the dev version -- the dev version is not normally installed except by people doing development work. That begs the question why the dev version is required, or where/how this can be overridden. Which was one of the first things I tried, and you completely glossed over it.
The stack overflow link also does no job of explaining why the dev branch is required, merely stating that pip won't install from apt/deb sources (no shit), and providing example commands to install the dev branch specifically.
The response I got amounted to "You should install the deb branch instead", and having closed the issue without so much as why the dev package is required. That is absolutely the worst response I've ever gotten from anyone on github.
Clearly, you have no idea why the dev build is required, and couldn't care less, having just overtaken it from Mr. Baker, slapping a webfront on it, and not caring further.
For Christ's sake, you could have said "Oh, you actually need the dev build instead", since that isn't listed anywhere in your prerequisites and most people don't just have dev builds installed for no damn reason out of the gate.
Thanks, I guess. I'll just clone the code and fix the issue when I have the time to do so.
from maxfield.
I’m sorry, I didn’t mean to come off snooty. I am genuinely trying to help, and I’m sure installing the dev version of libfreetype will solve your problem.
The problem you’re having is with installing matplotlib via pip. pip downloads the package data and builds the package in your environment. When pip compiles matplotlib, it needs the necessary header files. One of those header files is part of libfreetype, and the header files are only included in the dev version of libfreetype. As you say, you should only need the dev version if you’re developing, and in this case you are “developing” because you’re compiling software.
Anybody who installs matplotlib, for this application or any other, also needs libfreetype-dev.
Again, I’m sorry for coming off short.
from maxfield.
I appreciate the change in tone; that was a much nicer way of putting it.
I haven't had time to try the dev package, but assume you're correct. I'll report back if it doesn't fix the issue when I next look at it.
If I may make a suggestion, that should be in the requirements listing. I personally wasn't expecting pip to compile matplotlib, as I assumed the images were just an overlay with imagemagik or such. That may prevent additional confusion in the future. :)
from maxfield.
Related Issues (20)
- Improve performance for large number of portals HOT 5
- ImportError: cannot import name ERROR HOT 5
- Link Map and Portal Map HOT 1
- ImportError: cannot import name process HOT 1
- Error: cannot import name process HOT 2
- Make KML instead of png plots HOT 2
- Excessive Maps API Calls HOT 1
- Old matplotlib version installs incompatible numpy version HOT 3
- Add fixed links for calculation HOT 2
- TamperMonkey script to make getting the portal text easier HOT 2
- Build failing due to broken dependency pygifsicle. HOT 4
- error HOT 9
- Inbound-only portals? HOT 3
- Python error (?) HOT 9
- Python 3.10 error HOT 3
- Some questions about the front end.
- No gif gen on ngress-maxfield.com
- ortools requiring protobuf>=4.21.5. HOT 1
- Non-Google basemap (OSM, maybe)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maxfield.