Skip to content

Could not import psutil on FreeBSD 9 #325

@giampaolo

Description

@giampaolo

From sunrize...@gmail.com on September 13, 2012 18:34:39

What steps will reproduce the problem?  
1. Install with pip on FreeBSD 9.0-RELEASE-p3, Python 2.7.3, in virtualenv.
2. Open python shell.
3. import psutil 

What is the expected output?  
The module is imported. 

What do you see instead?  
Python 2.7.3 (default, Sep 13 2012, 11:46:06)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/usr/home/voodoo_people/python/lib/python2.7/site-packages/psutil/__init__.py",
 line 88, in <module>
    import psutil._psbsd as _psplatform
  File 
"/usr/home/voodoo_people/python/lib/python2.7/site-packages/psutil/_psbsd.py", 
line 28, in <module>
    TOTAL_PHYMEM = _psutil_bsd.get_virtual_mem()[0]
SystemError: error return without exception set 

What version of psutil are you using? What Python version?  
psutil 0.6.1, Python 2.7.3. 

On what operating system? Is it 32bit or 64bit version?  
Please provide any additional information below.

Original issue: http://code.google.com/p/psutil/issues/detail?id=325

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions