[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] pyqtdeploy-build fails for iOS app
From: David Morris <othalan () othalan ! net>
Date: 2018-06-18 9:07:50
Message-ID: CAHk-ryCD8A2i0YwrnhY3CzoKpOydw4=jDgZy8nMe=0gLTK7L8Q () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
It turns out that having PYTHONPATH set was causing the problem. No clue
how or why. I have no need for PYTHONPATH anymore so I simply removed it
and am back up and running attempting to get everything compiled.
David
On Sun, Jun 17, 2018 at 3:19 PM, Phil Thompson <phil@riverbankcomputing.com>
wrote:
> On 17 Jun 2018, at 6:24 am, David Morris <othalan@othalan.net> wrote:
> >
> > Phil,
> >
> > "pyqtdeploy-0.0.dev0-py3.6.egg" appears because I am compiling my own
> version of pyqtdeploy from source with a tiny modification to add newline
> characters to the XML file (so that changes in the file can be properly
> detected by version control systems). In order to eliminate this potential
> unknown, I repeated everything with Python 3.6.4 and the official
> pyqtdeploy 2.1 (installed using `pip install pyqtdeploy==2.1`). Here is
> the identical error:
> >
> > pyqtdeploy-build --build-dir /Users/morrisde/contract/
> PiranhaColorQt10-2/ios/sysroot/pump --target ios-64 --sysroot
> /Users/morrisde/contract/PiranhaColorQt10-2/ios/sysroot pump.pdy
> > Traceback (most recent call last):
> > File "/usr/local/var/pyenv/versions/3.6.4/bin/pyqtdeploy-build", line
> 7, in <module>
> > from pyqtdeploy.pyqtdeploybuild_main import main
> > File "/usr/local/var/pyenv/versions/3.6.4/lib/python3.6/
> site-packages/pyqtdeploy/__init__.py", line 28, in <module>
> > from .builder import Builder
> > File "/usr/local/var/pyenv/versions/3.6.4/lib/python3.6/
> site-packages/pyqtdeploy/builder/__init__.py", line 28, in <module>
> > from .builder import Builder
> > File "/usr/local/var/pyenv/versions/3.6.4/lib/python3.6/
> site-packages/pyqtdeploy/builder/builder.py", line 33, in <module>
> > from PyQt5.QtCore import (QByteArray, QCoreApplication, QDir, QFile,
> > ModuleNotFoundError: No module named 'PyQt5.QtCore'
> > make: *** [pump_xcode] Error 1
> >
> > The above is for python 3.6.4, installed using pyenv but no virtualenv
> to test if the virtual environment was the problem.
> >
> > Any ideas?
>
> I've never used pyenv. I use the standard venv all the time with no
> problems.
>
> Phil
[Attachment #5 (text/html)]
<div dir="ltr">It turns out that having PYTHONPATH set was causing the problem. No \
clue how or why. I have no need for PYTHONPATH anymore so I simply removed it and \
am back up and running attempting to get everything compiled.<br><br>David</div><div \
class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 17, 2018 at 3:19 PM, \
Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">On 17 Jun 2018, at 6:24 am, David Morris \
<<a href="mailto:othalan@othalan.net">othalan@othalan.net</a>> wrote:<br> > \
<br> > Phil,<br>
> <br>
> "pyqtdeploy-0.0.dev0-py3.6.<wbr>egg" appears because I am compiling my \
own version of pyqtdeploy from source with a tiny modification to add newline \
characters to the XML file (so that changes in the file can be properly detected by \
version control systems). In order to eliminate this potential unknown, I repeated \
everything with Python 3.6.4 and the official pyqtdeploy 2.1 (installed using `pip \
install pyqtdeploy==2.1`). Here is the identical error:<br> > <br>
> pyqtdeploy-build --build-dir \
/Users/morrisde/contract/<wbr>PiranhaColorQt10-2/ios/<wbr>sysroot/pump --target \
ios-64 --sysroot /Users/morrisde/contract/<wbr>PiranhaColorQt10-2/ios/sysroot \
pump.pdy<br> > Traceback (most recent call last):<br>
> File "/usr/local/var/pyenv/<wbr>versions/3.6.4/bin/pyqtdeploy-<wbr>build", \
line 7, in <module><br> > from pyqtdeploy.pyqtdeploybuild_<wbr>main \
import main<br> > File \
"/usr/local/var/pyenv/<wbr>versions/3.6.4/lib/python3.6/<wbr>site-packages/pyqtdeploy/__<wbr>init__.py", \
line 28, in <module><br> > from .builder import Builder<br>
> File "/usr/local/var/pyenv/<wbr>versions/3.6.4/lib/python3.6/<wbr>site-packages/pyqtdeploy/<wbr>builder/__init__.py", \
line 28, in <module><br> > from .builder import Builder<br>
> File "/usr/local/var/pyenv/<wbr>versions/3.6.4/lib/python3.6/<wbr>site-packages/pyqtdeploy/<wbr>builder/builder.py", \
line 33, in <module><br> > from PyQt5.QtCore import (QByteArray, \
QCoreApplication, QDir, QFile,<br> > ModuleNotFoundError: No module named \
'PyQt5.QtCore'<br> > make: *** [pump_xcode] Error 1<br>
> <br>
> The above is for python 3.6.4, installed using pyenv but no virtualenv to test \
if the virtual environment was the problem.<br> > <br>
> Any ideas?<br>
<br>
</span>I've never used pyenv. I use the standard venv all the time with no \
problems.<br> <span class="HOEnZb"><font color="#888888"><br>
Phil</font></span></blockquote></div><br></div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic