Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psutil.NUM_CPUS deprecated and removed #1135

Closed
jseabold opened this issue Jun 14, 2015 · 2 comments · Fixed by #1136
Closed

psutil.NUM_CPUS deprecated and removed #1135

jseabold opened this issue Jun 14, 2015 · 2 comments · Fixed by #1136
Assignees
Labels
Milestone

Comments

@jseabold
Copy link

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-11-5c5ee3cb747a> in <module>()
----> 1 import blaze

/home/skipper/.virtualenvs/py3/lib/python3.4/site-packages/blaze/__init__.py in <module>()
     16 
     17 from datashape import dshape, discover
---> 18 from .utils import ignoring
     19 from .expr import (Symbol, TableSymbol, symbol, ndim, shape)
     20 from .expr import (by, count, count_values, distinct, head, join, label, like,

/home/skipper/.virtualenvs/py3/lib/python3.4/site-packages/blaze/utils.py in <module>()
     25 from .dispatch import dispatch
     26 
---> 27 thread_pool = ThreadPool(psutil.NUM_CPUS)
     28 
     29 

AttributeError: 'module' object has no attribute 'NUM_CPUS'
Python 3.4.0 (default, Apr 11 2014, 13:05:11) 
Type "copyright", "credits" or "license" for more information.

IPython 3.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
[TerminalIPythonApp] WARNING | File not found: '/home/skipper/.pystartup'
import pu
[~/]
[1]: import psutil

[~/]
[2]: psutil.__version__
[2]: '3.0.0'

giampaolo/psutil#451

@cpcloud
Copy link
Member

cpcloud commented Jun 14, 2015

thanks for the report, pr on the way

@cpcloud cpcloud self-assigned this Jun 14, 2015
@cpcloud cpcloud added this to the 0.8.1 milestone Jun 14, 2015
@cpcloud cpcloud added the bug label Jun 14, 2015
@cpcloud
Copy link
Member

cpcloud commented Jun 14, 2015

thanks again for the report @jseabold !

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

Successfully merging a pull request may close this issue.

2 participants