Forum > PyModelEditor
Current Steps I have taken
(1/3) > >>
Serifaz:
Hey guys, I am trying to figure out how to use the PyModel Editor. I was talking to a friend here on the forum and he pointed me in the right direction. But I am still having some trouble. this is what steps I have taken.
Istalled python 2.6.6 installed PyQt4.8.3-1 Downloaded PyModel Editor. Placed everything including the startme.py in the PyQt folder. Run Python 2.6.6 IDLE file>open>startme.py run> run module.
And I get this message.
--- Code: ---IDLE 2.6.6 >>> ================================ RESTART ================================ >>>
Traceback (most recent call last): File "C:Python26startme.py", line 3, in <module> from PyQt4 import QtGui, QtCore ImportError: No module named PyQt4 >>>
--- End code --- I'm figuring I have put a file in the wrong directory. But I could be wrong. any help is greatly appreciated. Thanx
Tigurius:
strange, seems your installation of PyQt is not correct.
Serifaz:
Is there a certain file structure I should use for this? because as I said I put the pymodel tools in the pyqt folder. but I don't know if that is correct.
I also have the startme.py stating this before I run it.
#! /usr/bin/python from PyQt4 import QtGui, QtCore from pymodeleditor import PyModelEditor as Editor import sys
class PyModelEditor(QtGui.QDialog, Editor): def __init__(self): QtGui.QDialog.__init__(self) self.setupUi(self) self.getLastDir()
app = QtGui.QApplication(sys.argv) dialog = PyModelEditor() dialog.show() sys.exit(app.exec_())
I didn't put it in code tags but color coded it just like it is in the log
Can someone please help me... I really need to get this working as there are no other good m2 modding programs ... please help if you can. I installed python 2.6.6 then pyqt then I downloade opengl... which I can not seem to run and I don't know were to put the files if I download the source. this is what my file structure looks like. in the python folder.
TO SEE THE IMAGE BIGGER DOWLOAD THE PIC AND LOOK AT IT I KNOW YOU CANT SEE IT AS IS
All I did was install the required programs and put the pymodel editor files in my python folder. I know I am doing something wrong, someone please tell me what it is.
___________________________________________________________________________ [UPDATE:] can someone give me a precompiled pyqt4, or tell me how to compile it myself... I can't seem to figure this out I think its because I downloaded pyqt3 not pyqt4 I can't find the installer for pyqt4 so I'm guessing you need to compile it which I have no idea how to do that ... sorry for the trouble any help is welcome!!!
Tigurius:
http://www.riverbankcomputing.co.uk/sof ... t/download
and try: either dopple-click on startme.py or cmd -> cd /path -> startme.py
Serifaz:
I did finally get the pyqt4 installed but I don't know why it still won't work, is there an order that the folders should be in such as
Python>pyqt4>pymodeleditor
or does it matter, I have everything installed but it still tells me that the pyqt4 module does not exist
Navigation
[0] Message Index
[#] Next page
|