Skip to content

Upgrading Netbox 3.7.3 to 4.0.8 - stuck at "Installing build dependencies" - proxy issue? #17028

Answered by candlerb
tfboy asked this question in Help Wanted!
Discussion options

You must be logged in to vote

psycopg_c/_psycopg.c:42:10: fatal error: Python.h: No such file or directory

You need to install all the dependencies as documented here:

sudo apt install -y python3 python3-pip python3-venv python3-dev build-essential libxml2-dev libxslt1-dev libffi-dev libpq-dev libssl-dev zlib1g-dev

If you had installed python3-dev then via dependencies it would have installed libpython3-dev then libpython3.XX-dev which contains the missing file.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@tfboy
Comment options

@candlerb
Comment options

Answer selected by tfboy
@tfboy
Comment options

@pehan-dotcom
Comment options

@tfboy
Comment options

Comment options

You must be logged in to vote
3 replies
@pehan-dotcom
Comment options

@pehan-dotcom
Comment options

@zerihh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants