adrienbrignon / mkdocs-exporter

⚡ The fastest and most configurable plugin for MkDocs, allowing seamless export of individual pages or entire documentation as PDF documents.
https://adrienbrignon.github.io/mkdocs-exporter/
MIT License
71 stars 2 forks source link

Installing with pip ends up with an error (ModuleNotFoundError: No module named '_ctypes') #21

Closed marcbremerAtHomePuntNL closed 4 months ago

marcbremerAtHomePuntNL commented 4 months ago

Tried to install with pip and python3.10 on debian linux

 File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 883, in exec_module
    File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
    File "/tmp/pip-build-env-r85rh432/normal/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 27, in <module>
      from .macosx_libfile import calculate_macosx_platform_tag
    File "/tmp/pip-build-env-r85rh432/normal/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 43, in <module>
      import ctypes
    File "/usr/local/lib/python3.10/ctypes/__init__.py", line 8, in <module>
      from _ctypes import Union, Structure, Array
  ModuleNotFoundError: No module named '_ctypes'
adrienbrignon commented 4 months ago

Hello @marcbremerAtHomePuntNL,

Could you give me some more details about how you've installed your Python distribution and the output of the following command:

python3 -m sysconfig

Thanks in advance

adrienbrignon commented 4 months ago

Closing for now, feel free to reopen if support is still needed.

marcbremerAtHomePuntNL commented 4 months ago

My fault, I thought I was working in a virtual enviroment but it wasn't