From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YDDtMdW1jmISXAAAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 01:03:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IHz2MNW1jmJ7KQAAG6o9tA (envelope-from ) for ; Thu, 26 May 2022 01:03:49 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0110C3CA21 for ; Thu, 26 May 2022 01:03:49 +0200 (CEST) Received: from localhost ([::1]:58014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nu02d-0007xu-Ep for larch@yhetil.org; Wed, 25 May 2022 19:03:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nu02L-0007xL-EP for help-guix@gnu.org; Wed, 25 May 2022 19:03:29 -0400 Received: from sender4-op-o12.zoho.com ([136.143.188.12]:17283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nu02J-0001iC-1e for help-guix@gnu.org; Wed, 25 May 2022 19:03:29 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1653519802; cv=none; d=zohomail.com; s=zohoarc; b=f7knjcYCuEYHp3K+M0Nja0QScTKMjLnl/6yr+iTRIPEB4mFitNUjQQDXkqjMmc4NYpcxgRxNhUR0sulu5VMf924AMSlMec/+zHorjm1nbms0Wi63i3tX6OvRQGAQTYiB7ZV12aN6PYliO3MAsEnxGYFj/VTihHseSrFB4E21Af8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653519802; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=9w6mavZxx71xJdqUS2QKTEA1sAZkm9yxwawkNBkWIHM=; b=AQziy/cE86yIDeKMnvVSBJFh0cmrK6+DuNt8om0Q+OU+B3Nkznlmevt+CnNiynMOYf786tXvMdxoriPhQHSMam4rVAOLdYXmHBdxHus8AzwCeoM2YSJP0fikP27MgTljvl8hMeh2rCAUdQFFhMt6brDVI0QWmlM4flfcXyK7Fyo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1653519802; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=9w6mavZxx71xJdqUS2QKTEA1sAZkm9yxwawkNBkWIHM=; b=bFiGXqBL82X4JlgL3Agj0Yt4o6RLVSPGgcdBphuWt340pYbAqWuBy5X+psWYLDLk CIAFHpmllSbSA55NpneK+TWYD1e4pdDDARDiELKTrKU4heW31JQEx3DeJjAdknXmorn 6vdZlrnEw3PA0M/RCeCYwGC5qMnl7MFPAgGPKxao= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1653519801368278.3533522968165; Wed, 25 May 2022 16:03:21 -0700 (PDT) Date: Wed, 25 May 2022 19:03:21 -0400 From: Matt To: "zimoun" Cc: "help-guix" Message-ID: <180fd75dc01.fd4b37d71519331.300182659302146989@excalamus.com> In-Reply-To: <87sfoxd6rg.fsf@gmail.com> References: <180fb467c0d.1037d40cd1365018.6063946394494382259@excalamus.com> <87sfoxd6rg.fsf@gmail.com> Subject: Re: PySide2 not found when installing from PyPI MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.12; envelope-from=matt@excalamus.com; helo=sender4-op-o12.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653519829; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=9w6mavZxx71xJdqUS2QKTEA1sAZkm9yxwawkNBkWIHM=; b=qe5XqN7YJq52zBgZibKgEDZzDvP1Cy5pfL7aQwETdClqOATmlOqnFHMz8XKrMurxOiwzzk UvDflUhod8WQbVmLe3d3XUrkTtzFz+7j7vHnAPJZ0R8LdSL8n8SINUndXcTQsQ1jPYv22R EaJFxl/ZjNvt650aHroJ7PuaSb6D25azHFTYE/fHtDIwjgVbUw5hRQ7uIfq9uvXILi+L5k R2Jzyy/7w9SV9JqxjTK3BqMM+mcQJWbCylk6CvamCKLamFFwrQn9IxU/Uhebnu7GHW/eK4 GkfpmBFQ7nOOw2mOOnyQkFQzUY7nMlt7eaomnnnaKK712r2LuMHYVbm2enBaEw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1653519829; a=rsa-sha256; cv=pass; b=WmUYL39/3H8UfJCI4IaBSQCuaZMf5+3sTb8pUObWi0iya+DnjFGWYGJ1gLgambv7BkJzcd Kda3+nEn/egC+8mmtAS+EhdyqCu2t0PmSgGM7wcWOgEoAY4r+cILfYy+L4ZDv1NpjVytM6 Th/MZotVbn6qhyLU+R0zWoRl95cG8jy60V9HykHQ29ysUdEELP0jmF8QgnhLk+mSpb73rS 4pdrqpw24Pgz+jxawqCY94NkYZW+AQVkX5pNF6VCir+Vw2a0rArvghHn0i2R5+pmePc4sq rkE3Ohu7k6F80MdC21/e9522LsM7YaCqLnydyHvrZF6B+xpVMYkqMeHQfCfVFQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=bFiGXqBL; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=bFiGXqBL; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0110C3CA21 X-Spam-Score: -4.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: McKawrpmtHGz ---- On Wed, 25 May 2022 10:30:27 -0400 zimoun = wrote ---- > > ERROR: Could not find a version that satisfies the requirement PySide2= >=3D5.15 (from versions: none) > > ERROR: No matching distribution found for PySide2>=3D5.15 >=20 > Why do you specify in requirements.txt >=20 > PySide2=3D=3D5.15.2.1 Are you quoting the requirements from my GitHub? The requirements there do= not correspond to the output I've given here. Sorry, but I have not pushe= d what I'm working with because it is not working (i.e. the error we're tal= king about). The requirements.txt I used to produce the output here has Py= Side2>=3D5.15. The same is in is the setup.py (also "PySide2>=3D5.15"). I= 've tried all =3D=3D variations of 5.15, 5.15.2, and 5.15.2.1 as well and g= et a similar error, "No matching distribution for PySide2=3D=3D5.15[.2[.1]]= ". PyPI has releases for each of these. >=20 > ? When Guix provides 5.15.2. >=20 > > Looking at PyPI, wheels definitely exist. I'm also able to install > > and run it no problem from PyPI on Debian. When I try installing from > > PyPI on Guix through a venv, the package installs (but fails on > > ImportError: libgthread-2.0.so.0: cannot open shared object file: No > > such file or directory. That's beside the point, though, PySide2 > > installs.). >=20 > How is this PySide2 installed? From Guix or from PyPI? On my Guix System machine, everything is installed through Guix.=20 ahab@pequod ~$ guix package -l | grep python-pyside-2 python-pyside-2 =095.15.2 =09out =09/gnu/store/yh5rd= z0vsjy61qil8s4f8m5mz4jmg1kp-python-pyside-2-5.15.2 That's my reason for saying Guix provides 5.15.2. On the Guix System machine, if I create a Python venv and try to install Py= Side2 within that, it installs, but throws the libgthread error when I try = to run the application. > > I'm also confused because it says > > > > file t_rex_typer.py (for module t_rex_typer) not found > > > > The file is definitely in there and, as I said, it runs on Debian, so = must be packaged correctly in terms of the Python imports etc. >=20 > I do not know. I have not checked your files but I guess something is > misconfigured in setup.py or alike. Then installing using pip on Debian > works because pip works with =E2=80=9Chalf=E2=80=9D package ;-) Contrary= to Guix which > often points more issues. That's good to know! I'll revisit the Python documentation and confirm I d= on't have "half" a package. =20 Thank you for taking the time to look at this with me!