[SciPy-user] Re: SciP

Jaeggi, Daniel M. DJaeggi at imim.es
Wed Apr 30 12:30:44 EDT 2003


Yes, I got exactly this a couple of weeks ago. Installing the CVS 
version sorted it out.


Dan


Travis E. Oliphant wrote:

>
>
> Todd A Pitts wrote:
>
>> Travis,
>>
>>    I got my new linux box and am now installing SciPy.  I get the 
>> following error...
>>
>> Also, in your installation notes you might add that the 
>> setup_scipy_distutils module comes from f2py.  The latest version 
>> installs but fails to add
>> scipy_distutils.pth to the site-packages directory.  A new user 
>> installing SciPy will have to first find and fix this problem before 
>> he can get SciPy running.
>
>
>
> It is true that distutils is also used by f2py, but I did not think 
> that f2py was the intended source of any needed module of SciPy.   I'm 
> not sure how they worked that out.     I have checked out SciPy from 
> scratch several times and did not run into this problem.
>
>>
>> -Todd
>>
>> tapitts at sadl18818:SciPy-0.2.0_alpha_196.4120$ 
>> /usr/local/bin/python2.2 setup.py build
>> Traceback (most recent call last):
>>  File "setup.py", line 111, in ?
>>    setup_package()
>>  File "setup.py", line 90, in setup_package
>>    config_list += map(get_separate_package_config,separate_packages)
>>  File "setup.py", line 74, in get_separate_package_config
>>    return get_package_config(name,'')
>>  File "setup.py", line 67, in get_package_config
>>    mod = __import__('setup_'+os.path.basename(name))
>> ImportError: No module named setup_scipy_test
>
>
> I suspect that this is due to a packaging error.   I always check out 
> the latest CVS tree and cannot vouch for the source-file packages.  
> I'm not sure why, but they always manage to leave out several files.  
> It looks like you may be missing the entire scipy_core directory. 
> I just built a source distribution on my machine and it seemed to 
> include the setup_scipy_test.py file so I'm not sure what's wrong with 
> your source tree.
>
> I'll send you what I have in a separate mail.
>
> I'm cross-posting this to the scipy-user list to see if anyone else 
> has had similar troubles.
>
> -Travis
>
>
>
>>
>> A look for modules beginning with setup* gives
>>
>> tapitts at sadl18818:src$ find . -name "setup*"
>> ./python/setup.py
>> ./python/Tools/idle/setup.py
>> ./Numeric/setup.cfg
>> ./Numeric/setup.py
>> ./Numeric/Packages/FFT/setup.py
>> ./Numeric/Packages/MA/setup.py
>> ./Numeric/Packages/Properties/setup.py
>> ./Numeric/Packages/RNG/setup.py
>> ./Numeric/Packages/kinds/setup.py
>> ./gist/setup.py
>> ./Imaging/setup.py
>> ./PyOpenGL-2.0.0.44/setup
>> ./PyOpenGL-2.0.0.44/setup.py
>> ./ScientificPython/setup.cfg
>> ./ScientificPython/setup.py
>> ./SciPy-0.2.0_alpha_196.4120/Lib/gui_thread/setup_gui_thread.py
>> ./SciPy-0.2.0_alpha_196.4120/Lib/gui_thread/setup_gui_thread.pyc
>> ./SciPy-0.2.0_alpha_196.4120/Lib/weave/setup_weave.py
>> ./SciPy-0.2.0_alpha_196.4120/Lib/weave/setup_weave.pyc
>> ./SciPy-0.2.0_alpha_196.4120/Lib_chaco/chaco/setup_chaco.py
>> ./SciPy-0.2.0_alpha_196.4120/Lib_chaco/kiva/setup_kiva.py
>> ./SciPy-0.2.0_alpha_196.4120/Lib_chaco/traits/setup_traits.py
>> ./SciPy-0.2.0_alpha_196.4120/setup.py
>> ./F2PY-2.32.225-1419/docs/usersguide/setup_example.py
>> ./F2PY-2.32.225-1419/other/scipy_distutils/setup_scipy_distutils.py
>> ./F2PY-2.32.225-1419/other/scipy_distutils/setup.py
>> ./F2PY-2.32.225-1419/setup.py
>> ./F2PY-2.32.225-1419/build/lib/scipy_distutils/setup_scipy_distutils.py
>> ./F2PY-2.32.225-1419/build/lib/scipy_distutils/setup.py
>>
>>
>> I seem to be missing a file.  Any hints you might provide?
>>
>> -Todd
>>
>>
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user






More information about the SciPy-User mailing list