Installation problem Windows 8.1 x64


#1

Hello,

Firstly, here are my specs :

Panda3D-SDK-1.10.0pre x64 with Python 3.5 (only version of python on my computer)

Windows 8.1 x64

PyCharm 5.0.1

PYTHONPATH :

[size=150][‘C:\Users\Alan\PycharmProjects\pandaTest’,
‘C:\Panda3D-1.10.0-x64\lib’,
‘C:\Users\Alan\PycharmProjects\pandaTest’,
‘C:\Panda3D-1.10.0-x64\python\python35.zip’,
‘C:\Panda3D-1.10.0-x64\python\DLLs’,
‘C:\Panda3D-1.10.0-x64\python\lib’,
‘C:\Panda3D-1.10.0-x64\python’,
‘C:\Panda3D-1.10.0-x64’,
‘C:\Panda3D-1.10.0-x64\bin’,
‘C:\Panda3D-1.10.0-x64\python\lib\site-packages’][/size]

Here is the problem :

I configured PyCharm to use the “python.exe” found in C:\Panda3D-1.10.0-x64\python.

It works when I import “from direct.showbase.ShowBase import ShowBase” but when I try to import “panda3d.core”, it doesn’t work, it says "Cannot find reference ‘core’ in ‘init.py’ ".

I can only import “panda3d.dtoolconfig” wish contains nothing.

[size=150]Have you an idea of the problem of why I can not import panda3d.core?[/size]

Thank you in advance.


#2

Try using ppython.exe instead. I think it’s in the bin folder.


#3

I alreadry tried that but it says :

The selected file is not a valid home for Python SDK


#4

Strange error. Could it be that you already have a directory “panda3d” somewhere on your Python path that conflicts with panda3d’s “panda3d” package?


#5

Always the same problem with Pycharm, but I found Sublime Text 3 who works and with many plugins, it does well the same work.

Have a good day.