Ticket #224 (closed defect: fixed)
Opened 6 years ago
Last modified 6 years ago
Error in Python when importing ctypes
| Reported by: | haikubot | Owned by: | scottmc |
|---|---|---|---|
| Priority: | high | Milestone: | Haiku Optional Packages |
| Component: | dev-lang/python | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
/Data/downloads/Django-1.1> python
Python 2.6.2 (r262:71600, Aug 30 2009, 15:41:32)
[GCC 2.95.3-haiku-090629] on haiku1
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/boot/common/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
>>> exit()
/Data/downloads/Django-1.1> python /boot/common/lib/python2.6/test/test_ctypes.py
Traceback (most recent call last):
File "/boot/common/lib/python2.6/test/test_ctypes.py", line 4, in <module>
import ctypes.test
File "/boot/common/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
Change History
comment:1 Changed 6 years ago by haikubot
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Tested with python 2.6.4. All fine now. Fixed.