From: Alan Z. <a.z...@sh...> - 2012-04-02 18:31:26
|
To install control-Python Ryan Krauss advised me to type: sudo python setup.py install in Terminal on my Mac. I obtain: Python2012 alanzinober$ sudo python setup.py install Password: running install running bdist_egg running egg_info writing control.egg-info/PKG-INFO writing top-level names to control.egg-info/top_level.txt writing dependency_links to control.egg-info/dependency_links.txt error: package directory 'src' does not exist unknown-78-ca-39-b1-18-cf:Python2012 alanzinober$ src does not exist ? Perhaps from a different Python installation package. I am using Python2.7 on a Mac. I installed Pythons using fonnesbeck-ScipySuperpack-fb2fc07 . I believe that I have installed scipy, numpy and matplotlib, and other items in the package. Perhaps more detailed instruction for control-Python might assist me. Alan -- Sent from my MacBook Pro |
From: Richard M. <mu...@cd...> - 2012-04-03 14:33:04
|
Strange. Here's what I got running this on a Mac running 10.7.3: > (malabar18) tar xf control-0.5b.tar.gz > (malabar19) cd control-0.5b > (malabar20) sudo python setup.py install > Password: > running install > running bdist_egg > running egg_info > writing control.egg-info/PKG-INFO > writing top-level names to control.egg-info/top_level.txt > writing dependency_links to control.egg-info/dependency_links.txt > reading manifest file 'control.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > writing manifest file 'control.egg-info/SOURCES.txt' > installing library code to build/bdist.macosx-10.7-x86_64/egg > running install_lib > running build_py > creating build > creating build/lib > creating build/lib/control > copying src/__init__.py -> build/lib/control > copying src/bdalg.py -> build/lib/control > copying src/ctrlutil.py -> build/lib/control > copying src/delay.py -> build/lib/control > copying src/exception.py -> build/lib/control > copying src/freqplot.py -> build/lib/control > copying src/lti.py -> build/lib/control > copying src/margins.py -> build/lib/control > copying src/mateqn.py -> build/lib/control > copying src/matlab.py -> build/lib/control > copying src/modelsimp.py -> build/lib/control > copying src/nichols.py -> build/lib/control > copying src/phaseplot.py -> build/lib/control > copying src/pzmap.py -> build/lib/control > copying src/rlocus.py -> build/lib/control > copying src/robust.py -> build/lib/control > copying src/statefbk.py -> build/lib/control > copying src/statesp.py -> build/lib/control > copying src/test.py -> build/lib/control > copying src/timeresp.py -> build/lib/control > copying src/xferfcn.py -> build/lib/control > creating build/bdist.macosx-10.7-x86_64 > creating build/bdist.macosx-10.7-x86_64/egg > creating build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/__init__.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/bdalg.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/ctrlutil.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/delay.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/exception.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/freqplot.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/lti.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/margins.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/mateqn.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/matlab.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/modelsimp.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/nichols.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/phaseplot.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/pzmap.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/rlocus.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/robust.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/statefbk.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/statesp.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/test.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/timeresp.py -> build/bdist.macosx-10.7-x86_64/egg/control > copying build/lib/control/xferfcn.py -> build/bdist.macosx-10.7-x86_64/egg/control > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/__init__.py to __init__.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/bdalg.py to bdalg.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/ctrlutil.py to ctrlutil.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/delay.py to delay.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/exception.py to exception.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/freqplot.py to freqplot.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/lti.py to lti.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/margins.py to margins.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/mateqn.py to mateqn.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/matlab.py to matlab.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/modelsimp.py to modelsimp.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/nichols.py to nichols.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/phaseplot.py to phaseplot.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/pzmap.py to pzmap.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/rlocus.py to rlocus.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/robust.py to robust.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/statefbk.py to statefbk.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/statesp.py to statesp.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/test.py to test.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/timeresp.py to timeresp.pyc > byte-compiling build/bdist.macosx-10.7-x86_64/egg/control/xferfcn.py to xferfcn.pyc > creating build/bdist.macosx-10.7-x86_64/egg/EGG-INFO > copying control.egg-info/PKG-INFO -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO > copying control.egg-info/SOURCES.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO > copying control.egg-info/dependency_links.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO > copying control.egg-info/top_level.txt -> build/bdist.macosx-10.7-x86_64/egg/EGG-INFO > zip_safe flag not set; analyzing archive contents... > creating dist > creating 'dist/control-0.5b-py2.7.egg' and adding 'build/bdist.macosx-10.7-x86_64/egg' to it > removing 'build/bdist.macosx-10.7-x86_64/egg' (and everything under it) > Processing control-0.5b-py2.7.egg > creating /sw/lib/python2.7/site-packages/control-0.5b-py2.7.egg > Extracting control-0.5b-py2.7.egg to /sw/lib/python2.7/site-packages > Adding control 0.5b to easy-install.pth file > > Installed /sw/lib/python2.7/site-packages/control-0.5b-py2.7.egg > Processing dependencies for control==0.5b > Finished processing dependencies for control==0.5b Which version of the package did you download? -richard On 2 Apr 2012, at 11:31 , Alan Zinober wrote: > > To install control-Python Ryan Krauss advised me to type: > > sudo python setup.py install > > in Terminal on my Mac. > > I obtain: > > Python2012 alanzinober$ sudo python setup.py install > Password: > running install > running bdist_egg > running egg_info > writing control.egg-info/PKG-INFO > writing top-level names to control.egg-info/top_level.txt > writing dependency_links to control.egg-info/dependency_links.txt > error: package directory 'src' does not exist > unknown-78-ca-39-b1-18-cf:Python2012 alanzinober$ > > src does not exist ? Perhaps from a different Python installation > package. > > I am using Python2.7 on a Mac. > I installed Pythons using fonnesbeck-ScipySuperpack-fb2fc07 . > > I believe that I have installed scipy, numpy and matplotlib, and other > items in the package. > > Perhaps more detailed instruction for control-Python might assist me. > > Alan > > -- > Sent from my MacBook Pro > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > python-control-discuss mailing list > pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-control-discuss |
From: Scott C. L. <sli...@ca...> - 2012-04-03 15:07:39
|
On 3 Apr 2012, at 07:32, Richard Murray wrote: >> src does not exist ? Perhaps from a different Python installation >> package. >> >> I am using Python2.7 on a Mac. >> I installed Pythons using fonnesbeck-ScipySuperpack-fb2fc07 . >> >> I believe that I have installed scipy, numpy and matplotlib, and other >> items in the package. >> >> Perhaps more detailed instruction for control-Python might assist me. In your debugging effort, first make sure that you are invoking the correct Python binary by looking at $ which -a python To see the details of the installation process, call Python with the "-v" flag (for "verbose"). I suggest redirecting to a plain text file so that you can grep for keywords. E.g., $ sudo python -v setup.py install > foo.txt 2>&1 $ grep -i numpy foo.txt ~Scott |