-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'tcod._libtcod' when importing tcod #109
Comments
Try upgrading tcod to 12.7.0 first:
|
Thanks for the reply, I tried that previously but I'm not able to. It does seem that there's still a problem with the certificates?
|
This could be affected by were you got Python from, since it's really weird on MacOS. The certificate issues might be related, but things have already gone wrong if You can't use a version of MacOS older than Mavericks, which might mean you can't use a build of Python which is compiled for a version of MacOS earlier than Mavericks. I forget the details of this. Here's a more aggressive pip command which will still fail but won't try to compile tcod:
I'm not sure which versions of Python to recommend on MacOS. I can only think of the official Python site or |
Thanks for the follow-up, I'm using Big Sur (Chip M1), which has given me continuous headaches when trying to use python modules so far. I ended being able to update
Now it still seems that is not able to find
This part here:
There's no such framework on OSX /Library/Frameworks/ , just the |
Your logs keep leaving out the tags used in the wheels you're building with pip. Which would help me greatly in knowing what's going on. |
I'm not acquainted how Python wheels work, nor I'm sure how can I provider more info to help you further. Anything specific I can run or share on terminal to share more information? I found these logs back from the initial install that seem to refer to the wheels used:
|
Thanks, this was what I was looking for: ARM64 is a new architecture that I don't have automated builds for. I'll need to check if I can build those. |
Version |
You're the best, it works now! |
I'm getting the following error when I try to import
tcod
:I wasn't able to even install the module until I updated the OSX certificates via
pip3 install --upgrade certifi
, once this was done I was able to installtcod
but this new problem appeared. This happens both without and with virtual environment ( tried via venv module, and via PyCharm )Currently installed: tcod | 12.5.0
The text was updated successfully, but these errors were encountered: