Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Dammit Jim, I'm an actor, not a doctor.


devel / comp.lang.python / pip install -e does not build shared libraries

SubjectAuthor
o pip install -e does not build shared librariesCebtenzzre

1
pip install -e does not build shared libraries

<mailman.137.1687385962.23016.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23689&group=comp.lang.python#23689

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: cebtenz...@gmail.com (Cebtenzzre)
Newsgroups: comp.lang.python
Subject: pip install -e does not build shared libraries
Date: Wed, 21 Jun 2023 17:45:53 -0400
Lines: 22
Message-ID: <mailman.137.1687385962.23016.python-list@python.org>
References: <CAHk_K8anh3o76nv_K-pD73685wSd1djSDfAj1W5nWwxykyckgw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de NBFBaQw6K0f7q4wBhjPtAg1/C5S1x70qC5iZKNH44KXA==
Return-Path: <cebtenzzre@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=SW894iib;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'generated': 0.03; 'pip':
0.04; 'e.g.': 0.07; 'subject:install': 0.07; 'subject:not': 0.09;
'import': 0.15; '`python': 0.16; 'found:': 0.16; 'received:mail-
lj1-x22a.google.com': 0.16; 'subject: -': 0.16; 'subject:build':
0.16; 'subject:does': 0.16; 'subject:pip': 0.16; 'subject:shared':
0.16; 'libraries': 0.19; 'to:addr:python-list': 0.20; 'all,':
0.20; 'issue': 0.21; 'maybe': 0.22; 'version': 0.23; 'install':
0.23; 'library': 0.26; 'it,': 0.29; 'error': 0.29; 'seem': 0.31;
"doesn't": 0.32; 'message-id:@mail.gmail.com': 0.32; 'there':
0.33; 'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'thanks,': 0.36; 'use': 0.39; 'shared': 0.39; 'base': 0.40;
'something': 0.40; 'try': 0.40; 'skip:b 20': 0.63; 'skip:b 10':
0.63; 'required': 0.65
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1687383964; x=1689975964;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=/o1gpxnObkx/tLCvSMZt/j8J4TLQPICecLJulfcbR7Q=;
b=SW894iibBiyCU+aTvPcQmJeMNlCsWCIokkRINNpF2QWd9A591HcrWDhT29bwFQaXhe
icUXuOdLjOhkOdhIn4n3KY0psJpHFiTGi2zZADrn9C5AdStWoLzzAFCeHuaymJboh2fN
DAlp9dVLQdgA+ozJQQ99d8PzCPcN/6sg1ZsFzp/GiGLwG2PFS/8/H3wwuHVa1qljmQTz
eEurJkHMymlkHdzJjsAGObWT0XnbnDykeArmeqTVYqsXDqoMdMDvYQ8DV2/OkYE9R/7H
/bZl79IRLRl6tb6ds1/f4eEG6EsKVTjeTissj+/59J2iJxAeUmlJ2StYXx3F0gomicUm
+DLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1687383964; x=1689975964;
h=to:subject:message-id:date:from:mime-version:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=/o1gpxnObkx/tLCvSMZt/j8J4TLQPICecLJulfcbR7Q=;
b=SM0WZBaRUMYLNQdAQpMCbW/zzqe/g5HSCPHBRhcHrAEKuW8jrud+cvgTvlyq5VFuU6
7DcaAGg7B9Dv+jaDPhBn9BUcR02RchQrB4TyU5z5unpmMcq4BfoYod13UP7/4bFweIZq
19jrQSNtszAmwEQ1S/nEySREIjuau53ZEjIA8XkPlybLUix0Sr6oYdUoH+5PSGhoFm8l
r8lVr65KBHuR0DbuYa77TWd09l/9dTyFFnblyGV/mOcfriEvHlIBH7Me95pm9Aao2k+I
nJEfPbmj2HpLi2LdjpwQQxqiMWmmZ6gIYUBINWDtTttPAND6P9cRDM6O/3iUgHlLXMgW
N7gw==
X-Gm-Message-State: AC+VfDzCeCof2r1NnA/S2B6hpxTvkGpE3U81wtTLmJcLV1edlntlealh
tGgDkzuGIK5p45zOOXYZ86Z9IO4dXkhxy/ClpcLG3q0E
X-Google-Smtp-Source: ACHHUZ5j9qeArj87QEZnrgzHzDSe35B8Ktj/GJEy7KSzfElP8Mut4IY6CTMVYg8y+lQ6cyivR01wLyS6JlNa+rQiePQ=
X-Received: by 2002:a2e:9784:0:b0:2b5:7a97:d51b with SMTP id
y4-20020a2e9784000000b002b57a97d51bmr4644023lji.30.1687383963984; Wed, 21 Jun
2023 14:46:03 -0700 (PDT)
X-Mailman-Approved-At: Wed, 21 Jun 2023 18:19:21 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAHk_K8anh3o76nv_K-pD73685wSd1djSDfAj1W5nWwxykyckgw@mail.gmail.com>
 by: Cebtenzzre - Wed, 21 Jun 2023 21:45 UTC

When I try to use `pip install -e .` with llama-cpp-python or
bitsandbytes, it doesn't build the shared libraries like `pip install
..` does.

In the case of llama-cpp-python, there is no _skbuild folder generated
at all, just llama_cpp_python.egg-info. This results in an error when
I try to import it, e.g. "FileNotFoundError: Shared library with base
name 'llama' not found". In this case, `python setup.py develop` also
works.

In the case of bitsandbytes, there is no build folder generated at
all, just bitsandbytes.egg-info. This results in an error when I try
to import it, e.g. "CUDA SETUP: Required library version not found:
libbitsandbytes_cuda121_nocublaslt.so. Maybe you need to compile it
from source?". In this case, `python setup.py develop` does not seem
to work either.

Is this something that can be fixed in the projects' setup.py or
pyproject.toml, or is it an issue with pip or setuptools?

Thanks,
Cebtenzzre

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor