I'm trying to learn Python UniCurses so I can use it in a project I'm working on.
Here is what I'm using:
- Python 2.7
- Visual Studio 2013
- Python Tools for Visual Studio 2013
I installed the necessary items, UniCurses and PDCurses. And it seems to work just fine from the Python interpreter and IDLE. But not in Visual Studio...
I kept receiving an error saying that the pdcurses.dll was missing. So I decided to copy the PDCurses files into the root of my project. That seemed to resolve the missing pdcurses.dll error.
However, UniCurses still isn't working correctly. When I try to use any of the UniCurses functions I get an AttributeError: 'c_void_p' object has no attribute 'TheAttribute'
. This is happening with every UniCurses function except for when I first init the object: stdscr = unicurses.initscr()
So I started looking into some tutorials to make sure I installed everything correctly. I followed instructions from the UniCurses README on GitHub: https://www.youtube.com/watch?v=6u2D-P-zuno and this installation tutorial on YouTube: https://www.youtube.com/watch?v=6u2D-P-zuno and I still can't get it to work.
I did find a post on here that was somewhat similar to my problem but doesn't really help with my issue. You can check that out here: (Python Unicurses) stdscr not passing between files?
Does anyone have an idea of what I'm doing wrong? I've spent hours searching for a solution but nothing is working.
Any assistance is greatly appreciated. Thank you!