3 Replies - 645 Views - Last Post: 22 November 2015 - 03:44 PM Rate Topic: -----

#1 sigint-ninja   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 148
  • Joined: 05-June 15

python paths seem messy...

Posted 22 November 2015 - 02:05 PM

hi guys,

i installed python 64bit version 3.4.3
i battled to get pygame working...and im battling to get pyqt4 working

i had to copy pygame to lib directory to get it working after installing it and the same seems to be happening with pyqt...though i still havent solved all the problems of importing

what am i doing wrong? is this normal? or can i change the path where python looks for modules etc, similar to path
on OS's

im getting a bit confused where what is kept where...is it all in the python documentation or is it something you just learn along the way as i tried searching but didnt get much up...

thanks

Is This A Good Question/Topic? 0
  • +

Replies To: python paths seem messy...

#2 andrewsw   User is offline

  • no more Mr Potato Head
  • member icon

Reputation: 6957
  • View blog
  • Posts: 28,696
  • Joined: 12-December 12

Re: python paths seem messy...

Posted 22 November 2015 - 02:30 PM

Quote

i installed python 64bit version 3.4.3

You may not appreciate this advice but.. do you need this latest and greatest, and 64-bit, version? You might find life easier if you went back a few stages (I'm on (non 64-bit) 3.2.2), particularly if you will be installing other packages, some of which are behind a few Python versions in terms of support. You need to be particularly vigilant about support for the 64 bit version.

This post has been edited by andrewsw: 22 November 2015 - 02:32 PM

Was This Post Helpful? 0
  • +
  • -

#3 sigint-ninja   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 148
  • Joined: 05-June 15

Re: python paths seem messy...

Posted 22 November 2015 - 03:11 PM

thanks andrewsw

good thing i brought it up...

i will follow your advice...

on a different note do you know where i can get some good solid tutorials for pyqt4 using python 3?
i spent the good part of 3 hours today and feel like i have made no progress

i found a few books on pyqt that all were using python 2...i dont want to have the added worry of learning pyqt and dealing with language syntax at the same time cause tutorials are in 2 and im on 3...

any info appreciated
Was This Post Helpful? 0
  • +
  • -

#4 andrewsw   User is offline

  • no more Mr Potato Head
  • member icon

Reputation: 6957
  • View blog
  • Posts: 28,696
  • Joined: 12-December 12

Re: python paths seem messy...

Posted 22 November 2015 - 03:44 PM

I don't know about PyQt. Python the Hard Way gets good feedback. I think it is for Python 2. For a beginner, this essentially means using print("this stuff") rather than print "this stuff" and using input() rather than raw_input(). You can read about the key differences.

I'm sure you could find a Python 3 tutorial or book, but I cannot help you here. Maybe someone else will chip-in.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1