Skip to main content
=================================
Python 2 and 3 bindings for hwloc
=================================

***NOTE*** There is a bug in gitlab's ReStructuredText rendering. Click the "raw" button to see all of this file

I have retired and am no longer maintaining or developing this. I could work on it more if anyone is interested in using it.

If there is someone who would like to take it over, please contact me.

Example pip install from git source with virtualenv for Python2 on Fedora:

.. code:: bash
sudo dnf install python2 python2-devel python2-tools numactl-libs \
numactl-devel gettext pandoc texlive hwloc-devel hwloc-libs \
libibverbs libibverbs-devel python2-libs
virtualenv -p python2 p2hwloc
cd p2hwloc/
source bin/activate
pip install Cython Babel
pip install python2-libnuma
pip install python2-hwloc
# try it!
python2 -c "import hwloc;print hwloc.version_string()"

Example for Python3 on Fedora:

.. code:: bash
sudo dnf install python3 python3-devel python3-tools hwloc-devel \
hwloc-libs libibverbs libibverbs-devel numactl-libs numactl-devel \
gettext pandoc texlive python3-libs
virtualenv -p python3 p3hwloc
cd p3hwloc
source bin/activate
pip install Cython Babel
pip install python3-libnuma
pip install python3-hwloc
# try it!
python3 -c "import hwloc;print(hwloc.version_string())"

Debian9, Python2:

.. code:: bash
sudo apt-get update
sudo apt-get install build-essential virtualenv libpython2.7-dev \
libnuma-dev libhwloc-dev libibverbs-dev
virtualenv -p python2 p2pip
cd p2pip
source bin/activate
pip install Cython Babel
pip install python2-libnuma
pip install python2-hwloc
# try it!
python2 -c "import hwloc;print hwloc.version_string()"

Python3 on Debian9:

.. code:: bash
sudo apt-get update
sudo apt-get install build-essential virtualenv libpython3.5-dev \
libnuma-dev libhwloc-dev libibverbs-dev
virtualenv -p python3 p3pip
cd p3pip
source bin/activate
pip install Cython Babel
pip install python2-libnuma
pip install python2-hwloc
# try it!
python3 -c "import hwloc;print(hwloc.version_string())"

Release files for python3-hwloc 2.3.6.0.1.11.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python3-hwloc 2.3.6.0.1.11.5
File Size Uploaded
python3-hwloc-2.3.6.0.1.11.5.tar.gz 60.6 kB Details

Release files / python3-hwloc-2.3.6.0.1.11.5.tar.gz

Download URL python3-hwloc-2.3.6.0.1.11.5.tar.gz
Size 60.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1d451622a1462b37c186f259eca717461837d4a5fd6d70fbd07e153fcad4d9de
BLAKE2b-256 checksum
How to use checksums
c0eab32bb3408ccdd069dc9a126d6c79cb52c827702366bda3022c9e9f6788a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.3.6.0.1.11.5 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page