No graphics pipe is available!

Panda3D Forum Index -> Installation Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
MJoyce


Posts: 4

PostPosted: Sun Mar 26, 2006 1:30 am    Post subject: No graphics pipe is available! Reply with quote
I'm trying to get Panda3D working with Komodo, my choice of IDE.

I can run any of the samples fine, but when I try to run via the ide I get the error.

Code:
StandardError: No graphics pipe is available!
Your Config.prc file must name at least one valid panda display
library via load-display or aux-display.


From an interactive shell, I can query the following...

Code:
from pandac.PandaModules import *
print ConfigPageManager.getGlobalPtr()
0 explicit pages:

2 implicit pages:
  /c/Panda3D-1.1.0/etc/Config.prc
  /c/Panda3D-1.1.0/etc/Confauto.prc

print ConfigPageManager.getGlobalPtr().getSearchPath()
/c/Panda3D-1.1.0/etc


I'm stuck here really, the samples wortk so I know my system has what it takes, but clearly I'm missing something.

Any ideas ?

Thanks

Matt
Yellow


Posts: 146

PostPosted: Sun Mar 26, 2006 5:29 am    Post subject: Reply with quote
just set the python path in edit->prefferences->languages->python to <yourpath-To-Panda>/bin/ppython.exe
MJoyce


Posts: 4

PostPosted: Sun Mar 26, 2006 6:20 am    Post subject: Reply with quote
Thanks, that worked.

Though it has b0rked my normal python work, so I still have some playing to do.

So what is ppython ?
I read it checks some paths, but clearly something else is happening too.

I'm looking forward to diving into panda3d so, I may end up moving my normal external modules into panda's python folders.
MJoyce


Posts: 4

PostPosted: Sun Mar 26, 2006 6:55 am    Post subject: numarray module Reply with quote
I have written code which relies on numarray.
when i install numarray it was to install to c:\python24, and I can't alter that.

I need to be able to use modules with panda's python.
Martin


Posts: 275
Location: Vienna, Austria - EU

PostPosted: Sun Mar 26, 2006 8:15 am    Post subject: Reply with quote
If i understand it correct:
ppython checks the paths for the Panda3D libs.
You can move the Panda3D sources to your normal Pythonfolder
Please correct me if im not right
Yellow


Posts: 146

PostPosted: Sun Mar 26, 2006 8:49 am    Post subject: Reply with quote
in kodo you can select which python version you want to use, just use ppython for one, python24 for the other.

To add numpy to panda's python version, simply copy paster the numpy dir from
\python24\python\Lib\site-packages

to

\Panda3D\python\Lib\site-packages
MJoyce


Posts: 4

PostPosted: Mon Mar 27, 2006 7:07 am    Post subject: Reply with quote
That's great.
I though I had tried that....ah, it was a late night.
darksmaster923


Posts: 101
Location: Cali USA

PostPosted: Mon Oct 22, 2007 10:34 am    Post subject: Reply with quote
Yellow wrote:
just set the python path in edit->prefferences->languages->python to <yourpath-To-Panda>/bin/ppython.exe

sorry to bring up such an old topic but i also want to use komodo with panda. but in my bin folder i do not have a ppython.exe
plus it does not load the prc file. it does work if i have loadPrcFileData in the actuall script which i do not want.
_________________
I am the law
Manakel


Posts: 317
Location: France

PostPosted: Mon Oct 22, 2007 10:54 am    Post subject: Reply with quote
I dont know for Komodo.

However the "ppython.exe" does not exists because it's no more needed for Panda3D.
You can use the python.exe in the Panda\Bin folder everywhere you was thinking about using "ppython.exe"
_________________
Bold words are keyword to help you decide quickly if this post interest you or not....
(you should be able to understand the post by reading only bold words Smile)
darksmaster923


Posts: 101
Location: Cali USA

PostPosted: Mon Oct 22, 2007 1:22 pm    Post subject: Reply with quote
there isnt a python.exe only a dll
_________________
I am the law
delf


Posts: 1
Location: Czech Republic

PostPosted: Wed Feb 03, 2010 5:24 pm    Post subject: Reply with quote
I'm trying to run the simple C++ version of "Hello world" from manual and I got the same problem.

Quote:
:display(warning) Unable to load: The specified procedure could not be found
Known pipe types:
(all display moudle loaded.)
No graphics pipe is available!
Your Config.prc file must name at least one valid panda display library via load-display or ayx-display.


I'm running Panda3D 1.7.0 on Windows 7 x64 and compiled via VS2008. Sample codes runs perfectly. Python version of "Hello world" run correctly too.
Any idea what it should be?
painfly


Posts: 4
Location: EU - Slovenia

PostPosted: Wed Feb 03, 2010 5:45 pm    Post subject: Reply with quote
delf wrote:
I'm trying to run the simple C++ version of "Hello world" from manual and I got the same problem.

Quote:
:display(warning) Unable to load: The specified procedure could not be found
Known pipe types:
(all display moudle loaded.)
No graphics pipe is available!
Your Config.prc file must name at least one valid panda display library via load-display or ayx-display.


I'm running Panda3D 1.7.0 on Windows 7 x64 and compiled via VS2008. Sample codes runs perfectly. Python version of "Hello world" run correctly too.
Any idea what it should be?


I have same problem. Using Win7 x64,VS2008.
Display posts from previous:   
Post new topic   Reply to topic    Panda3D Forum Index -> Installation All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group