Pycharm and pygame

Pycharm and pygame

Postby jonin » Mon Jul 07, 2014 9:44 pm

hi guys,

im using pycharm as my ide
i have downloaded pygame and it installed to pythonx
i am using a windows 7 64bit machine but im running 32bit python and pycharm
how do i?
a) link pygame to pycharm
b) know that pygame is available in pycharm?

i been googling but couldnt find a clean answer that makes sense

thanks in advance
jonin
jonin
 
Posts: 14
Joined: Wed Jun 11, 2014 9:29 pm

Re: Pycharm and pygame

Postby jonin » Tue Jul 15, 2014 8:46 pm

Can anybody assist...
jonin
 
Posts: 14
Joined: Wed Jun 11, 2014 9:29 pm

Re: Pycharm and pygame

Postby micseydel » Wed Jul 16, 2014 5:26 pm

Pycharm should be using a particular version of Python. Pygame will be installed for a particular version of Python. Those versions should be the same, and then you shouldn't have a problem. If there are 64 bit versions available, you should in general use those. You can check if your Python versions are the same by running
Code: Select all
import sys; print sys.executable

In a REPL session in Pycharm (I assume this exists) and wherever Pygame currently works for you.
Due to the reasons discussed here we will be moving to python-forum.io on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
micseydel
 
Posts: 2994
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA


Return to Game Development

Who is online

Users browsing this forum: No registered users and 2 guests