You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Feel free to ignore, this isn't a blocking issue for me anymore)
I was following the setup instructions for Puzzlord on my local dev machine. The rest of the steps worked normally, but when I did python manage.py migrate for the first time I got:
<cut for length>
File "/Users/aldeka/Code/puzzlord/puzzle_editing/urls.py", line 7, in <module>
from . import views
File "/Users/aldeka/Code/puzzlord/puzzle_editing/views.py", line 34, in <module>
from puzzle_editing.graph import curr_puzzle_graph_b64
File "/Users/aldeka/Code/puzzlord/puzzle_editing/graph.py", line 7, in <module>
import matplotlib
File "/Users/aldeka/Code/puzzlord/venv/lib/python3.9/site-packages/matplotlib/__init__.py", line 174, in <module>
_check_versions()
File "/Users/aldeka/Code/puzzlord/venv/lib/python3.9/site-packages/matplotlib/__init__.py", line 159, in _check_versions
from . import ft2font
ImportError: numpy.core.multiarray failed to import
(venv) aldeka@agaetis puzzlord %
I tried manually installing pip3 install numpy but it said it was already there: Requirement already satisfied: numpy in ./venv/lib/python3.9/site-packages (1.19.1)
This is on an Intel-based Mac running Big Sur (11.6.2) with pip version 21.3.1 and Python 3.9.9.
After googling a bit I found someone recommended running pip install -U numpy instead. This upgraded to numpy-1.22.1. The migrations worked thereafter and I was able to start the django server.
I don't know why that solved the problem, but I guess maybe the requirements.txt needs updating? I wouldn't want to break it for others though, if that's a risk.
The text was updated successfully, but these errors were encountered:
(Feel free to ignore, this isn't a blocking issue for me anymore)
I was following the setup instructions for Puzzlord on my local dev machine. The rest of the steps worked normally, but when I did
python manage.py migrate
for the first time I got:I tried manually installing
pip3 install numpy
but it said it was already there:Requirement already satisfied: numpy in ./venv/lib/python3.9/site-packages (1.19.1)
This is on an Intel-based Mac running Big Sur (11.6.2) with pip version 21.3.1 and Python 3.9.9.
After googling a bit I found someone recommended running
pip install -U numpy
instead. This upgraded to numpy-1.22.1. The migrations worked thereafter and I was able to start the django server.I don't know why that solved the problem, but I guess maybe the requirements.txt needs updating? I wouldn't want to break it for others though, if that's a risk.
The text was updated successfully, but these errors were encountered: