Comments (5)
Please include the necessary diagnostic information as per the issue template
from pyenv.
@native-api i have updated the issue description, please let me know if I missed out anything! thanks
from pyenv.
warning: ignoring file '/usr/local/Cellar/openssl@3/3.2.0_1/lib/libssl.3.dylib': found architecture 'x86_64', required architecture 'arm64'
You're building for Arm64 but using an x64 Homebrew.
from pyenv.
@native-api, i have tried installing dependencies using arm64 brew and then installing
CPPFLAGS="-I$(armbrew --prefix)/include" \
LDFLAGS="-L$(armbrew --prefix)/lib" \
pyenv install 3.12.0
the build passes but still there is error for readline
ModuleNotFoundError: No module named 'readline'
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
on checking the config.log, the same warning for readline,
ld: warning: ignoring file '/usr/local/Cellar/readline/8.2.7/lib/libreadline.8.2.dylib': found architecture 'x86_64', required architecture 'arm64'
I have tried this but no luck
although I am overriding the CPPFLAGS and LDFLAGS but still it continues to take them from x86 brew.
here is the config.log, can you please help me with this?
from pyenv.
@native-api no worries i got it to work by making pyenv use x86_64
arch using
CPPFLAGS="-I$(brew --prefix)/include" \
LDFLAGS="-L$(brew --prefix)/lib" \
arch -x86_64 pyenv install 3.12.0
from pyenv.
Related Issues (20)
- "internal compiler error: Segmentation fault" WSL Ubuntu HOT 6
- pyenv no module encoding issue HOT 3
- 3.12.2 not in install list HOT 11
- curl: (22) The requested URL returned error: 503 when trying to download Python-3.8.18.tar.xz HOT 1
- "Internal compiler error: Segmentation fault" in Arch Linux HOT 1
- BUILD FAILED (OS X 12.7.3 using python-build 20180424) if my home directory name contains a space HOT 2
- BUILD FAILED with or without using brew on WSL2 HOT 3
- Rehashing is not applied after pip install in venv
- pyenv init slows down the shell startup a bunch (by about ~100 ms!) HOT 3
- Python 3.12.2 support HOT 1
- VSCode Jupyter not working with Pyenv: solution
- pyenv fails to install Python 3.12.1/3.12.2 on Raspberry Pi Zero 2W running Bullseye Lite 64-Bit HOT 5
- "pyenv: python3.11: command not found" despite having selected a global version HOT 5
- Add PACKAGE_LDFLAGS to python-build
- Installing Pyenv on Ubuntu 20.04 (Azure ML instance) fails HOT 4
- `_curses` fails to build on Ubuntu 22: "error: implicit declaration of function ‘setcchar’; did you mean ‘getwchar’?" HOT 3
- ginstall: cannot stat 'Modules/readline.cpython-312-darwin.so': No such file or directory HOT 4
- [Workaround] Debian/Ubuntu - TKInter module fails to build even if tk-dev is installed HOT 1
- New release? (2.3.37) HOT 4
- Anaconda 2024.02-1
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 pyenv.