Note: For PyCharm users, change the value idea.max.intellisense.filesize
in
idea.properties
file to more than 2600 because some modules have the issue of
being too big for intelliSense to work.
Check the location of the generated modules.
Launch PyCharm and do all below procedures.
- Show Settings (Windows) or Preferences (macOS) window.
- (Windows) Click File > Settings
- (macOS) Click Pycharm Menu > Preferences
- Select Project: > Project Interpreter.
- Click Gear icon on the right next to Project Interpreter:, and a popup menu is shown.
- Click More... on the popped up menu.
- In Project Interpreters window, click the bottom icon Show paths for the selected Interpreter to show Interpreter Paths window.
- Click + icon, and a file browser is launched.
- Select the path where generated modules are located, and click OK.
- Click OK repeatedly until Settings (Windows) or Preferences (macOS) window is closed.
- Now, you can complete the code related to the Blender/UPBGE Python API.