help me understand modules & python path please

This is the place for queries that don't fit in any of the other categories.

help me understand modules & python path please

Postby iceman2014 » Sat Apr 05, 2014 2:51 am

As a complete newbie to programming i cant find anything which explains 'PATH' or what it means.
In the 3.4.0 documentation it mentions SET PATH=%PATH%;C\python34, what does this relate to?

Also i continually get an error message if e.g pygame, if i try to use the 'pip install' function, ' could not find any downloads that saisfy the requirement' comes up despite the fact ive already opened via 7-zip?

I would appreciate if whoever replies explains as much as possible so i can get a basic understanding of the idea of opening/tranferring and using modules.
Last edited by Yoriz on Sat Apr 05, 2014 10:23 am, edited 1 time in total.
Reason: changed tittle
iceman2014
 
Posts: 8
Joined: Wed Apr 02, 2014 9:28 pm

Re: help please

Postby micseydel » Sat Apr 05, 2014 4:35 am

Have you seen this? You would need to do the same thing for pip, in order for it to be found automatically by the terminal (otherwise it would have to search your entire computer, which is too inefficient).
Join the #python-forum IRC channel on irc.freenode.net!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
micseydel
 
Posts: 1354
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Re: help please

Postby snippsat » Sat Apr 05, 2014 9:24 am

To environment Variables Path you add ;C:\python34\;C:\python34\scripts
http://www.nextofwindows.com/how-to-add ... windows-7/
http://vimeo.com/70504477

When it work you can type python or pip from anywhere in cmd to get commands to work,
you don't need to be in folder where python.exe or pip.exe are located.

To install pip go here and choose pip‑1.5.4.win32‑py3.4.exe,this option also if have win 64bit.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip
User avatar
snippsat
 
Posts: 215
Joined: Thu Feb 21, 2013 12:04 am

Re: help me understand modules & python path please

Postby stranac » Sat Apr 05, 2014 10:34 am

iceman2014 wrote:Also i continually get an error message if e.g pygame, if i try to use the 'pip install' function, ' could not find any downloads that saisfy the requirement' comes up despite the fact ive already opened via 7-zip?

That just means there's no pygame package on pypi, so it isn't (automatically) installable by pip.
You can find an installer for pygame here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1143
Joined: Thu Feb 07, 2013 3:42 pm


Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron