Python
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Python

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old February 21st, 2008, 07:10 PM
Erik Vandamme
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
site-packages

Hi, it appears to me that my Python (Active 2.5.1) does not find stuff in its site-packages lib's etc, how can I check that this is so?
Python Path perhaps? (If so where is it and how do I change it?)


--


Erik Vandamme 54 Hilltop Road - WAMBERAL NSW 2260 Australia erik1vandamme (AT) gmail (DOT) com Skype - erik_vandamme 02 43843613 - 0406 042750



--------------------------------------------------------------------- To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org

Reply With Quote
  #2  
Old February 24th, 2008, 05:20 PM
Erik Vandamme
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
site-packages

The path is OK but still the trouble is there,
Traceback (most recent call last):
&nbsp; File "C:\Python25\ErikApps\sameplevideoplaymodule1.py", line 5, in <module>
&nbsp;&nbsp;&nbsp; import pymedia.video.muxer as muxer
ImportError: No module named muxer
I have muxer.pyd (60kb) in c:\Python25\Dlls&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 09/11/2004
muxer.pyd in &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; C:\Python25\pyMedia\Samples (184kb&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; 23/03/2006
muxer.pyd in &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; C:\Python25\site-packages\pymedia
>> (192kb > 02/04/2007
I supposed latest one is the best shot however at least one of them should have been found no??




Erik Vandamme 54 Hilltop Road - WAMBERAL NSW 2260 Australia erik1vandamme (AT) gmail (DOT) com Skype - erik_vandamme 02 43843613 - 0406 042750





Robin Dunn wrote: Erik Vandamme wrote:
Hi, it appears to me that my Python (Active 2.5.1) does not find stuff in its site-packages lib's etc, how can I check that this is so?
Python Path perhaps? (If so where is it and how do I change it?)

import sys
print sys.path

You can make global changes to the path by setting PYTHONPATH in the environment, and on Windows there is a location in the registry too.


--------------------------------------------------------------------- To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org

Reply With Quote
  #3  
Old February 24th, 2008, 11:01 PM
Erik Vandamme
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
site-packages

Yeah you're although thats what the example said, then I found another one that had just that and it worked fine, now I am stuck on
Import pygame
I have pygame.py how do I make a .pyd??





Erik Vandamme 54 Hilltop Road - WAMBERAL NSW 2260 Australia erik1vandamme (AT) gmail (DOT) com Skype - erik_vandamme 02 43843613 - 0406 042750





Marc Tompkins wrote: On Sun, Feb 24, 2008 at 2:36 PM, Erik Vandamme <erik1vandamme (AT) gmail (DOT) com> wrote:




&nbsp;&nbsp;&nbsp; import pymedia.video.muxer as muxer



muxer.pyd in &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; C:\Python25\site-packages\pymedia>> (192kb > 02/04/2007




I could be wrong, but I think if you want to import that module it would just be "pymedia.muxer", no?






--
www.fsrtechnologies.com --------------------------------------------------------------------- To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Python > site-packages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT