Skip to content

@wiggin15
wiggin15 / gist:fa7469f5638bb52acc8e
Created October 20, 2015 09:31
psutil test run on AIX
root@host-vaix03 (AIX 7.1) > psutil git:(master) py.test test/test_psutil.py 15-10-20 12:26
=========================================================================================================================== test session starts ===========================================================================================================================
platform aix7 -- Python 2.7.8, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
rootdir: /root/psutil, inifile:
collected 183 items
test/test_psutil.py ............F................FF.F.FF..F.s..........ss...F...FFs.F...FFsssssF..........FF....................................................................................F..........
================================================================================================================================ FAILURES ========================
(tfp) Giulias-MacBook-Pro:tf_privacy giuliabianchi$ pip3 install --upgrade -r requirements.txt
Requirement already up-to-date: jupyter==1.0.0 in ./tfp/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (1.0.0)
Requirement already up-to-date: matplotlib==3.0.2 in ./tfp/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (3.0.2)
Requirement already up-to-date: numpy==1.15.4 in ./tfp/lib/python3.7/site-packages (from -r requirements.txt (line 3)) (1.15.4)
Requirement already up-to-date: scipy==1.2.0 in ./tfp/lib/python3.7/site-packages (from -r requirements.txt (line 4)) (1.2.0)
Requirement already up-to-date: Pillow==5.3.0 in ./tfp/lib/python3.7/site-packages (from -r requirements.txt (line 5)) (5.3.0)
Requirement already up-to-date: tensorflow==1.14 in ./tfp/lib/python3.7/site-packages (from -r requirements.txt (line 8)) (1.14.0)
Requirement already up-to-date: tensorflow-privacy==0.1.0 in ./tfp/lib/python3.7/site-packages (from -r requirements.txt (line 11)) (0.1.0)
Collecting tensor
@bruienne
bruienne / metric list
Created December 2, 2015 21:40
snapctl metric list
NAMESPACE VERSIONS
/intel/disk/sda/smart/availablereservedspace 5
/intel/disk/sda/smart/availablereservedspace/normalized 5
/intel/disk/sda/smart/casetemperature 5
/intel/disk/sda/smart/casetemperature/max 5
/intel/disk/sda/smart/casetemperature/min 5
/intel/disk/sda/smart/casetemperature/normalized 5
/intel/disk/sda/smart/casetemperature/overcounter 5
/intel/disk/sda/smart/crcerrors 5
/intel/disk/sda/smart/crcerrors/normalized 5
[oberstet@brummer1 ~/scm/psutil]$ ~/pypy1/bin/pypy setup.py install
running install
Checking .pth file support in /home/oberstet/pypy1/site-packages/
/home/oberstet/pypy1/bin/pypy -E -c pass
TEST PASSED: /home/oberstet/pypy1/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating psutil.egg-info
writing psutil.egg-info/PKG-INFO
writing top-level names to psutil.egg-info/top_level.txt
! pip3 install sklearn cwltool
WARNING: The directory '/home/jupyter-user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/jupyter-user/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: sklearn in /home/jupyter-user/.local/lib/python3.7/site-packages (0.0)
Collecting cwltool
Downloading https://files.pythonhosted.org/packages/f7/96/223ec6bd980bdbdb1fcbc062927bc6adb87b297b67307c86805f243b9faa/cwltool-1.0.20190831161204-py2.py3-none-any.whl (718kB)
|████████████████████████████████| 727kB 3.3MB/s eta 0:00:01
Requirement already satisfied: scikit-learn in /home/jupyter-user/.local/lib/python3.7/site-packages (fro
@danbradham
danbradham / get_parent_process.py
Created December 24, 2017 03:33
psutil get parent process
# -*- coding: utf-8 -*-
import psutil
def get_parent_process(ok_names, limit=10):
'''Walk up the process tree until we find a process we like.
Arguments:
ok_names: Return the first one of these processes that we find
'''
running build
running build_py
running build_ext
building 'psutil._psutil_windows' extension
C:\msys64\home\ogrisel\venv\mingwpy\Scripts\gcc.exe -mdll -O -Wall -DPSUTIL_VERSION=342 -D_WIN32_WINNT=0x0602 -D_AVAIL_WINVER_=0x0602 -D_CRT_SECURE_NO_WARNINGS -DPSAPI_VERSION=1 -Ic:\python34\include -Ic:\python34\include -c psutil/_psutil_windows.c -o build\temp.win-amd64-3.4\Release\psutil\_psutil_windows.o
In file included from C:/msys64/home/ogrisel/venv/mingwpy/share/mingwpy/x86_64-w64-mingw32/include/iprtrmib.h:9:0,
from C:/msys64/home/ogrisel/venv/mingwpy/share/mingwpy/x86_64-w64-mingw32/include/iphlpapi.h:17,
from psutil/_psutil_windows.c:21:
C:/msys64/home/ogrisel/venv/mingwpy/share/mingwpy/x86_64-w64-mingw32/include/mprapi.h:865:3: error: unknown type name 'CERT_NAME_BLOB'
CERT_NAME_BLOB *certificateNames;
@r-rmcgibbo
r-rmcgibbo / python39Packages.psutil
Created March 12, 2021 15:18
system: x86_64-linux | build_time: 5 seconds | https://github.com/NixOS/nixpkgs/pull/116059
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
(venv3519)jarda@jarda-ThinkPad-Edge-E430 ~/venv/keylock3519 $ pip install spyderCollecting spyder
Using cached spyder-3.1.0-py3-none-any.whl
Requirement already satisfied: numpydoc in ./venv3519/lib/python3.5/site-packages (from spyder)
Requirement already satisfied: chardet>=2.0.0 in ./venv3519/lib/python3.5/site-packages (from spyder)
Requirement already satisfied: nbconvert in ./venv3519/lib/python3.5/site-packages (from spyder)
Requirement already satisfied: rope-py3k in ./venv3519/lib/python3.5/site-packages (from spyder)
Requirement already satisfied: pylint in ./venv3519/lib/python3.5/site-packages (from spyder)
Requirement already satisfied: pygments>=2.0 in ./venv3519/lib/python3.5/site-packages (from spyder)
Requirement already satisfied: qtawesome>=0.4.1 in ./venv3519/lib/python3.5/site-packages (from spyder)
Requirement already satisfied: pep8 in ./venv3519/lib/python3.5/site-packages (from spyder)
./mach lint browser/components/newtab
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.6'
New python executable in /Users/pdahiya/src/mozilla-central/obj-x86_64-apple-darwin17.3.0/_virtualenvs/init_py3/bin/python3
Also creating executable in /Users/pdahiya/src/mozilla-central/obj-x86_64-apple-darwin17.3.0/_virtualenvs/init_py3/bin/python
Installing setuptools, pip, wheel...done.
b"running build_ext\nbuilding 'psutil._psutil_osx' extension\ncreating build/temp.macosx-10.9-x86_64-3.6\ncreating build/temp.macosx-10.9-x86_64-3.6/psutil\ncreating build/temp.macosx-10.9-x86_64-3.6/psutil/arch\ncreating build/temp.macosx-10.9-x86_64-3.6/psutil/arch/osx\ngcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -g -I/usr/local/opt/llvm@6/include -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_OSX=1 -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c psutil/_psutil_common.c -o build/temp.macosx-10.