Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80334

Re: Python 3.4.2 + PyQt4 + PyCharm 3.4.1

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <juan0christian@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'interpreter.': 0.07; 'stops': 0.07; 'subject: + ': 0.07; 'issue:': 0.09; 'resolved,': 0.09; 'window.': 0.09; 'python': 0.11; 'windows': 0.15; '"from': 0.16; '&gt;&gt;': 0.16; '12:50': 0.16; '7:45': 0.16; 'installer,': 0.16; 'folder': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'thu,': 0.19; 'working.': 0.19; 'memory': 0.22; 'import': 0.22; 'email addr:gmail.com&gt;': 0.22; 'install': 0.23; 'tells': 0.24; '---': 0.24; '&gt;': 0.26; 'tried': 0.27; 'related': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'occurs': 0.31; 'file': 0.32; 'open': 0.33; 'url:python': 0.33; 'copying': 0.34; 'updated': 0.34; 'problem': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'accessing': 0.36; 'disk': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'so,': 0.37; 'christian': 0.38; 'nov': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'even': 0.60; 'remove': 0.60; 'new': 0.61; 'address': 0.63; '(that': 0.65; 'here': 0.66; 'default': 0.69; 'pro': 0.69; '100%': 0.77; 'details...': 0.84; 'here)': 0.84; 'kinda.': 0.84; 'plugins': 0.84; 'x64': 0.84; 'edition': 0.86
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=mT8CujCzSNzTE066MLVhBPR6fxOgfU2SHa59I/bPV+w=; b=Ovcv/dn7xbnD3PXxs3qEE2RApv4ucks9VduYi8hHN4GixJAUlmqyMYS+BU4Y9tK3P2 5C8aI7ZZ2zaupXnlmTtQBDiDLK7s+u5rn5tZ2IVqkX7xaPNz7vXfr4m30GaQsS4zqmjx rw9Zzw8yLCOJPt/S6iypJy61WW3biPI/AQqHC0Zmj3wIv70D98nTlFdudJZT0HHHcuCY icrKW2wOE3p9SYX0z/CjB3MYCdbnBM/Ohgn7Zb0d1fPhxrkYTFBd/zGTLa9dJVcXuI8J vGUrLwZVCGGYVr4inaP3sQwt9x8PDHAo76DjIhy4pBRiUsYfo7+hNesW7W7y7SjJzwkR 5JIQ==
X-Received by 10.224.96.195 with SMTP id i3mr7704304qan.76.1415286004231; Thu, 06 Nov 2014 07:00:04 -0800 (PST)
MIME-Version 1.0
References <CAAp0bGs3_Sr_d2AQ+JowZ1BRxb8YLd6efgnTtS5jsPQauuNWxA@mail.gmail.com> <CAAp0bGsJ4eHDHssGcuRCKBCU1Z-E0b=7F-f_RY3Wfh7B39fHXg@mail.gmail.com> <mailman.15389.1414842098.18130.python-list@python.org> <f16a5b92-3304-4f7c-b017-137079309dba@googlegroups.com>
From Juan Christian <juan0christian@gmail.com>
Date Thu, 06 Nov 2014 15:00:03 +0000
Subject Re: Python 3.4.2 + PyQt4 + PyCharm 3.4.1
To python-list@python.org
Content-Type multipart/alternative; boundary=001a11c30bac8d852f050731f353
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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 <http://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>
Newsgroups comp.lang.python
Message-ID <mailman.15546.1415286014.18130.python-list@python.org> (permalink)
Lines 232
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415286014 news.xs4all.nl 2971 [2001:888:2000:d::a6]:52833
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80334

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Resolved, kinda. Just use PySide instead of PyQt.

Remove everything PyQt related from PyCharm and install PySide using the
PyCharm plugins window.

PySide has access to all modules and packages that PyQt has, but now you
need to import like "from PySide.<**> import *".
On Thu, Nov 6, 2014 at 12:50 farshad akbari <akbari.farshad@gmail.com>
wrote:

> On Saturday, November 1, 2014 3:11:54 PM UTC+3:30, Juan Christian wrote:
> > No one here uses PyCharm and Qt? =/
> >
> >
> > On Wed, Oct 29, 2014 at 8:45 PM, Juan Christian <juan0ch...@gmail.com>
> wrote:
> >
> > It only occurs whule using PyCharm I tried it via pure terminal and
> everything works... =/
> >
> >
> >
> >
> > On Tue, Oct 28, 2014 at 7:45 PM, Juan Christian <juan0ch...@gmail.com>
> wrote:
> >
> >
> > Python 3.4.2 Windows x64
> > PyQt4 4.11.2 Py3.4 Qt4.8.6 (x64)
> >
> > PyCharm 3.4.1 Pro Edition
> >
> >
> >
> >
> > So, PyCharm works 100% with everything here but PyQt.
> >
> >
> > I have this folder structure:
> >
> >
> > Disk C:
> > > PyQt4
> > >> Lib/site-packages/PyQt4/(tons of files here)
> >
> >
> > > Python34 (normal/default installation)
> >
> >
> > ---
> >
> >
> > I tried copying the 'PyQt4' folder to my 'Python34/Lib/site-packages'
> folder but when I try to code something Qt related on PyCharm I get this
> issue:
> >
> >
> >
> > Some skeletons failed to generate: 19 modules failed in 1 interpreter.
> Details...
> >
> >
> >
> > Failed modules
> >
> >
> > Python 3.4.2
> > PyQt4.QAxContainer
> > PyQt4.Qsci
> > PyQt4.QtCore
> > PyQt4.QtDeclarative
> > PyQt4.QtDesigner
> > PyQt4.QtGui
> > PyQt4.QtHelp
> > PyQt4.QtMultimedia
> > PyQt4.QtNetwork
> > PyQt4.QtOpenGL
> > PyQt4.QtScript
> > PyQt4.QtScriptTools
> > PyQt4.QtSql
> > PyQt4.QtSvg
> > PyQt4.QtTest
> > PyQt4.QtWebKit
> > PyQt4.QtXml
> > PyQt4.QtXmlPatterns
> > PyQt4.phonon
> >
> >
> > Generation of skeletons for the modules above will be tried again when
> the modules are updated or a new version of generator is available.
> >
> >
> > And PyCharm tells me that my 'import PyQt4.ANYTHING_HERE import *' has
> 'Unresolved references'.
> >
> >
> > ---
> >
> >
> > When I try to install the PyQt4 via the installer, in the default
> location (C:/Python34) I get an even 'worse' error, whenever PyCharm try to
> update the skeletons or something like that (that is, whenever I open a
> file there...), I get tons and tons of the same error, 'Error while
> accessing memory at address XXXX', and 'python.exe' stops working.
>
> i have this problem too,
> and it's so annoying.
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Python 3.4.2 + PyQt4 + PyCharm 3.4.1 Juan Christian <juan0christian@gmail.com> - 2014-11-01 09:41 -0200
  Re: Python 3.4.2 + PyQt4 + PyCharm 3.4.1 farshad akbari <akbari.farshad@gmail.com> - 2014-11-06 06:49 -0800
    Re: Python 3.4.2 + PyQt4 + PyCharm 3.4.1 Juan Christian <juan0christian@gmail.com> - 2014-11-06 15:00 +0000

csiph-web