nikademus79 / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Import warning on OS X 10.6 #205

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install psutil from SVN r1119
2. start python
3. import psutil

What is the expected output? What do you see instead?
No output, successful import, instead seeing an import warning: 

/Library/Python/2.6/site-packages/psutil-0.3.0-py2.6-macosx-10.6-universal.egg/_
psutil_osx.py:3: UserWarning: Module _psutil_osx was already imported from 
/Library/Python/2.6/site-packages/psutil-0.3.0-py2.6-macosx-10.6-universal.egg/_
psutil_osx.pyc, but /Users/jloden/src/psutil is being added to sys.path

OS X 10.6.8, default Python 2.6.1

Original issue reported on code.google.com by jlo...@gmail.com on 13 Sep 2011 at 3:27

GoogleCodeExporter commented 8 years ago
Nevermind, happened because I was still in the src directory and it was trying 
to import psutil twice - duh.

Original comment by jlo...@gmail.com on 13 Sep 2011 at 3:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Updated csets after the SVN -> Mercurial migration:
r1119 == revision b404050fd676

Original comment by g.rodola on 2 Mar 2013 at 12:03