From owner-freebsd-questions@freebsd.org Wed Jul 18 20:16:53 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E868210311D4 for ; Wed, 18 Jul 2018 20:16:52 +0000 (UTC) (envelope-from youvegotmoxie@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7087D8AFB0 for ; Wed, 18 Jul 2018 20:16:52 +0000 (UTC) (envelope-from youvegotmoxie@gmail.com) Received: by mail-oi0-x22b.google.com with SMTP id y207-v6so11196260oie.13 for ; Wed, 18 Jul 2018 13:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=NrXAlaOn9EJ/9CDI9PJzg4pCymHCfI+wQSpX0oCxCbI=; b=tPCpCSjZ+N7UaRB85OlU5tkw+J4Z+CaCrc6SrRvEWSoDCjDJ2x+bQKkbG30TSqOlMb dQvoa5ZWXsSYuNr/5Ci5PYtV113bqwU1ElyniUsWwEM3XIHcb5KHdmCIggOobzDNOfh+ guBUVLE0i1UE+Fzo6qOHEWDAHqWckRT+hP16lqoKZOhbMsKlQhEwAhe3e53jm03XSwaM T7fABu6DtiqsUBgGGN02SbNOYcoX85B4kdjAxYDOBv8d3RoHLWzx5bOto2MXelaXUBR1 faiinfwfYfEPZxrezuAFoxq9ah/QPzYETX9+KRnw1zzquN3UpvELsmfJOcyjmCnOPsfm 1fwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=NrXAlaOn9EJ/9CDI9PJzg4pCymHCfI+wQSpX0oCxCbI=; b=aJ6mRfDBSFKFLOz/EoTf5bx87E4RuhRqla6naqiJEx+u9VQAi/P5IhLtrdlyMR11Vi PNHrkJwjROqqmHYJrs1aMn+nqJEgrl7QEvp3IoNJnv3ZxiDWvXvkefcmGHDqEIVF07yQ QMDSz4S8VUgmP2ydnluLdFSOPZ4fo1AbXAy9KQpHds43LKPNK2WblFYVZuYeMMt7w44L xbqju9FiTCMQlbJejh9n5BhdFFuuISlNsxyempJNfEN5leA7vjgkamA5N4ZykaNmbMYT 9jL4hBMVNtXT4Dx1B21IvMVcQmtI9nheOuNlZHDsZIcJvK6pP0UKNFZZTPFci4Lr2BbJ poWA== X-Gm-Message-State: AOUpUlHwiA8AUlRrW8Plqm25wayA6C9GFxMkOqZSm4ugUeOy1YwVJHlL Q1oSJjF80AUCp99GtUc7TFI= X-Google-Smtp-Source: AAOMgpdq6ItnAoXe87xveIuCG43EhHXDDSVQGho23BLQTfTW0j5w9MmiIA/6m5fH9bZWGcGQMszMig== X-Received: by 2002:aca:4ac6:: with SMTP id x189-v6mr8231993oia.211.1531945011508; Wed, 18 Jul 2018 13:16:51 -0700 (PDT) Received: from ?IPv6:2601:2c6:4d00:3cc8:ba:8678:306e:1540? ([2601:2c6:4d00:3cc8:ba:8678:306e:1540]) by smtp.gmail.com with ESMTPSA id o10-v6sm4665061oif.42.2018.07.18.13.16.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 13:16:50 -0700 (PDT) From: Michael Beasley Message-Id: <73FEA2F9-C28C-41BC-855B-125C6F3A6E45@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: PyQt4 Date: Wed, 18 Jul 2018 15:16:50 -0500 In-Reply-To: <60a28021-8b13-4c2a-3afd-803f1b1f9afe@borh.eu> Cc: "freebsd-questions@freebsd.org" To: Bernt Hansson References: <60a28021-8b13-4c2a-3afd-803f1b1f9afe@borh.eu> X-Mailer: Apple Mail (2.3445.6.18) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 20:16:53 -0000 > On Jul 15, 2018, at 22:18, Bernt Hansson wrote: >=20 > On 07/16/18 04:59, Shane Ambler wrote: >> On 15/07/2018 21:38, Bernt Hansson wrote: >>> Hello list. >>>=20 >>> Trying to get a python script working again but no luck so far. >>>=20 >>> This is the error i'm getting >>>=20 >>> % python flatcam.py >>> Traceback (most recent call last): >>> =C3=82 File "flatcam.py", line 2, in >>> =C3=82 =C3=82 =C3=82 from PyQt4 import QtGui >>> ImportError: No module named PyQt4 >>>=20 >>> I've installed py-qt4 but no luck. >>>=20 >>> Where do i find qtgui and pyqt4? >> pyqt is installed for a specific python version, you need to use the >> same python version that has pyqt4 installed. > python --version > Python 2.7.15 >=20 > Py-qt4 is installed as py27-qt4 and py36-qt4. Still it is not found. At a Python shell prompt try - help(=E2=80=98modules=E2=80=99); to see = if the module can be seen by your Python installation. >> This will show all your pyqt4 packages >> pkg info -x 'py[23][0-9]-qt4' >>=20 >> To see what python flavoured packages are available - >> pkg search 'py[23][0-9]-qt4' >>=20 >>=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"