Can't find Main Module Error

So I am trying to install Panda3d via terminal with my OSX. However, every time I try to run the makepanda command I am getting this error: MacOS/Python: can’t find ‘main’ module in ‘makepanda’

I have no idea what that is or where I can find it. Any help would be appreciated.

How are you trying to run makepanda exactly? Can you show the exact command?

Well I’m running terminal on my OSX so I thought the command would be, $Python makepanda --everything

I’m still very new to computer science though, so it might be wrong.

You’re trying to run a directory, rather than the actual makepanda script. The right command is:

python makepanda/makepanda.py --everything --installer

Thanks!

I’m not sure if you could help further, but I am now getting this error:

Generating library cache…
WARNING: Could not locate pkg-config package gtk±2.0, excluding from build
WARNING: Could not locate framework Cg, excluding from build
WARNING: Could not locate thirdparty package openssl, excluding from build
WARNING: Could not locate thirdparty package zlib, excluding from build
Generating dependencies…
[ 0%] Building C++ object built/tmp/dtoolbase_composite1.o
In file included from dtool/src/dtoolbase/dtoolbase_composite1.cxx:3:
In file included from dtool/src/dtoolbase/atomicAdjustI386Impl.cxx:19:
In file included from dtool/src/dtoolbase/atomicAdjustI386Impl.h:54:
dtool/src/dtoolbase/atomicAdjustI386Impl.I:34:30: error: invalid lvalue in asm
input for constraint ‘m’
:“m” (&var));
^~~~
dtool/src/dtoolbase/atomicAdjustI386Impl.I:60:30: error: invalid lvalue in asm
input for constraint ‘m’
:“m” (&var) : “memory”);
^~~~
2 errors generated.

I downloaded all the files from source forge so I don’t know why I should be missing anything.

Do you have python in 32-bit or 64-bit mode?

I think I have the 64-bit mode

You should compile either in 32-bit mode or get the latest CVS version of Panda3D.

May I ask why you’re building from source? If you’re looking for a 64-bit development build you can try this:
rdb.name/Panda3D-1.9.0.dmg