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 compatibility issue in gaffer==0.5.2 #60

Open
ashald opened this issue Jul 10, 2015 · 5 comments
Open

psutil compatibility issue in gaffer==0.5.2 #60

ashald opened this issue Jul 10, 2015 · 5 comments

Comments

@ashald
Copy link

ashald commented Jul 10, 2015

$ pip install gaffer
...
Successfully built gaffer pyuv psutil tornado colorama setproctitle
Installing collected packages: pyuv, psutil, tornado, colorama, setproctitle, gaffer
Successfully installed colorama-0.3.3 gaffer-0.5.2 psutil-3.0.1 pyuv-1.1.0 setproctitle-1.1.8 tornado-2.4.1

So far so good. Trying things out...

$ gaffer --version
Traceback (most recent call last):
  File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/bin/gaffer", line 7, in <module>
    from gaffer.cli.main import main
  File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/cli/main.py", line 40, in <module>
    from ..httpclient import Server, GafferUnauthorized, GafferForbidden
  File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/httpclient/__init__.py", line 38, in <module>
    from .job import Job
  File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/httpclient/job.py", line 7, in <module>
    from ..process import ProcessConfig
  File "/tmp/ashald/.venvs/tmp-17f0a3d67a1d4821/lib/python2.7/site-packages/gaffer/process.py", line 18, in <module>
    from psutil.error import AccessDenied
ImportError: No module named error

Quick googling leads to "psutil.error.py module was removed in 2.0.0 version"

Second attempt:

$ pip install "psutil<2"
...
Successfully installed psutil-1.2.1

$ gaffer --version
gaffer version 0.5.2

Looking at setup.py in master there is version-unbounded dependency on psutil.

@SlyDen
Copy link

SlyDen commented Dec 15, 2015

I confirm the problem exists... and your solution works

@benoitc
Copy link
Owner

benoitc commented Dec 15, 2015

will fix it until this we. I'm quite busy these days sorry :/

@SlyDen
Copy link

SlyDen commented Dec 15, 2015

@benoitc no worries. You are doing great job.

@oca159
Copy link

oca159 commented Feb 19, 2018

i am having the same issue, could you please update the repo?

@benoitc
Copy link
Owner

benoitc commented May 25, 2018

i will fix it during the we. i have been side tracked by... life

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

No branches or pull requests

4 participants