Comments (5)
@lucasbrightnight thanks for the report! I can't reproduce this on my M3 MBP, which has libpcre2 in /opt/homebrew/lib
, from Homebrew, and also in /usr/lib
, which must be from macOS or XCode, yes? Can you confirm that you have or haven't installed XCode and command line tools on your computer?
from fiona.
@sgillies, sure thing! As I understand it, homebrew installs to /usr/lib
paths for intel chips uses whereas Apple M1 chips install to /opt/homebrew
paths. I can confirm I have not installed XCode. I am using fish and bash for command line tools.
I can confirm I only have libprec2 installed in the /opt/homebrew
file path and not the user/lib
path.
from fiona.
@lucasbrightnight my memory is that Homebrew installed to /usr/local
, not /usr
. On my work MBP /usr/lib/libpcre2-8.0.dylib
has the same timestamp as everything in /System/Library
, which suggests that it's part of macOS. I see the same thing on my personal laptop. Certainly, the macOS wheels were built on a system where /usr/lib/libpcre2-8.0.dylib
existed, otherwise the library would have been vendored into the wheel like libgdal and friends. I don't have an explanation for why the file is missing from your system.
from fiona.
Exactly the same issue here (also on an M1 mac)
from fiona.
I'm experiencing the issue as well on an M1 Mac running MacOS 12 and:
$ brew --version
Homebrew 4.3.3
$ brew info pcre2 | head -1
==> pcre2: stable 10.43 (bottled), HEAD
$ xcode-select --version
xcode-select version 2395.
$ gdal-config --version
3.9.0
and a Python virtual environment with Fiona installed as a wheel
:
$ python3 --version
Python 3.11.9
$ pip show setuptools pip wheel fiona | grep -E "Name|Version"
Name: setuptools
Version: 70.0.0
Name: pip
Version: 24.0
Name: wheel
Version: 0.43.0
Name: fiona
Version: 1.9.6
I have nothing matching /usr/lib/*pcre*
, but Homebrew does report that the pcre2
package provides a /opt/homebrew/Cellar/pcre2/10.43/lib/libpcre2-8.0.dylib
:
$ brew list
/opt/homebrew/Cellar/pcre2/10.43/bin/pcre2-config
/opt/homebrew/Cellar/pcre2/10.43/bin/pcre2grep
/opt/homebrew/Cellar/pcre2/10.43/bin/pcre2test
/opt/homebrew/Cellar/pcre2/10.43/include/ (2 files)
/opt/homebrew/Cellar/pcre2/10.43/lib/libpcre2-16.0.dylib
/opt/homebrew/Cellar/pcre2/10.43/lib/libpcre2-32.0.dylib
/opt/homebrew/Cellar/pcre2/10.43/lib/libpcre2-8.0.dylib
/opt/homebrew/Cellar/pcre2/10.43/lib/libpcre2-posix.3.dylib
/opt/homebrew/Cellar/pcre2/10.43/lib/pkgconfig/ (4 files)
/opt/homebrew/Cellar/pcre2/10.43/lib/ (8 other files)
/opt/homebrew/Cellar/pcre2/10.43/share/doc/ (109 files)
/opt/homebrew/Cellar/pcre2/10.43/share/man/ (96 files)
It is linked in /opt/homebrew/lib/libpcre2-8.0.dylib
. Reinstalling with --no-binary
seems to have gotten me a working version of the package.
$ pip install fiona --no-binary fiona
from fiona.
Related Issues (20)
- 1.10 release HOT 7
- Drop support for Python 3.7 and 3.8 HOT 5
- Support for PMTile?
- Remove dependency on Numpy for VSI read buffer HOT 1
- Bring back Python 3.8 for 1.10
- A new OGRGeometryH based Geometry class
- 1.9.6 release HOT 1
- Rename master branch to main
- Add name keyword argument to fiona.open() and Collection constructor HOT 2
- Address high priority items on OpenSSF scorecard report
- 1.9.6: build fails with `-Wincompatible-pointer-types` HOT 3
- Change python opener VSI plugin prefix to /vsifiopener
- 1.9.6: pytest fails in 47 units HOT 3
- 1.10 Windows wheels?
- Fiona no longer recognizes pd.Timestamp (as datetime.datetime) since 1.10 a2 HOT 3
- Make features printable again HOT 2
- Pip package fiona-1.9.6.tar.gz has inconsistent version: filename has '1.9.6', but metadata has '0.0.0' HOT 3
- RFE: use `zoneinfo` instead of `pytz`
- Field Name encode error when writing to Mapinfo File
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 fiona.