Comments (1)
Rye's pythons are built with --enable-shared, and installs libpython and the library is there, but I think this is the same issue as #646 - the configuration paths to where those libraries are located are not correct and need to be set after installing the toolchain in its final location.
Trying to find it, we see it is there:
> find .rye/py -iname "*libpython*.so"
.rye/py/[email protected]/lib/libpython3.so
.rye/py/[email protected]/lib/libpython3.8.so
.rye/py/[email protected]/install/lib/libpython3.so
.rye/py/[email protected]/install/lib/libpython3.11.so
.rye/py/[email protected]/lib/libpython3.so
.rye/py/[email protected]/lib/libpython3.12.so
.rye/py/[email protected]/install/lib/libpython3.so
.rye/py/[email protected]/install/lib/libpython3.12.so
Unfortunately it doesn't tell the truth about where it is
> python +3.12 -m sysconfig | grep LIBDIR
LIBDIR = "/install/lib"
This LIBDIR
value is what it ships with and needs to be updated.
With the sysconfigpatcher script - which is WIP and only works on linux I think, then it does the right thing
> python +3.11 -m sysconfig | grep LIBDIR
LIBDIR = "/home/user/.rye/py/[email protected]/install/lib"
PLATLIBDIR = "lib"
from rye.
Related Issues (20)
- Suggestion: Easy way to launch rye test in debugger mode with debugpy
- TOML parser raises when inline table is spread on multiple lines HOT 3
- New flag for command rye sync
- Unable to connect to https://rye-up.com/get ? HOT 17
- installer: `.profile` is not used by Bash (or Zsh); edit `.bash_profile` or `.bash_login` (Bash) or `.zprofile` (Zsh) too HOT 1
- SSL issues with indygreg 3.10 on RHEL
- Global shims in projects not managed by rye HOT 4
- PowerShell Completion label has changed from `powershell` to `power-shell`. HOT 2
- Fails to install offline HOT 2
- Migration from other project management tools like `pdm` or `poetry` HOT 1
- `rye sync --update-all` should imply `UV_NO_CACHE=true` HOT 1
- Invalid peer certificate: UnknownIssuer
- Unable to install `playsound` with rye, but works with pip (Python 3.12) HOT 3
- Add each package to `PYTHONPATH`
- Global package installs have odd dependencies HOT 1
- Windows Installer is unsigned
- rye run -l prints to stderr HOT 6
- rye build gives "Not a directory" HOT 2
- Creating multiple lock files
- Python version mismatch only installs non-dev dependencies
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 rye.