Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82806
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: very weird pandas behavior |
| Date | 2014-12-22 15:50 -0500 |
| Organization | IISS Elusive Unicorn |
| References | <7a83719d-f39c-49ad-8df5-3d3d19c127b1@googlegroups.com> <0011c7c8-8605-4fce-a025-d6449f51fc7c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17137.1419281408.18130.python-list@python.org> (permalink) |
On Sun, 21 Dec 2014 18:25:38 -0800 (PST), ryguy7272 <ryanshuell@gmail.com>
declaimed the following:
>It seemed like everything was being downloaded and installed. Seems ok. Then I go back to the Python Shell and ran 'import numpy' & 'import pandas' and I still get the errors that I got before.
>
My first suggestion...
FORGET THAT PYSHELL EXISTS.
Heck, I'm not even sure what variant of PyShell you may have -- I've
seen files that invoke Tk and another site mention wx as the background
framework.
>So, I move on to this:
>pip uninstall numpy
>pip uninstall pandas
>
>It says, cannon uninstall, non installed.
>
>Sorry, but that's what drives me nuts. I install a few packages, and the messages that I get says the package is installed...then it says it's NOT installed...I don't know what to think...
Which also could be a symptom of having multiple installations of
Python around, with a different one being active at different times.
From the Windows command line, after doing your
pip install numpy
enter just
python
and when that gives you the >>> prompt, try the
import numpy
Though personally, given the way this thread has been going, I'd
recommend uninstalling all Python related stuff, searching the drives for
any directory with python in the name and deleting it, then editing the
registry to remove anything mention Python, and lastly running a registry
cleaner.
Note that I can not get PIP to work for numpy at all, and I know what
my Python configuration looks like...
-=-=-=-=-=-
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Wulfraed\Documents>pip install numpy
Downloading/unpacking numpy
Downloading numpy-1.9.1.tar.gz (4.0MB): 4.0MB downloaded
Running setup.py egg_info for package numpy
Running from numpy source directory.
warning: no previously-included files matching '*.pyc' found anywhere
in distribution
warning: no previously-included files matching '*.pyo' found anywhere
in distribution
warning: no previously-included files matching '*.pyd' found anywhere
in distribution
Installing collected packages: numpy
Running setup.py install for numpy
non-existing path in 'numpy\\distutils': 'site.cfg'
non-existing path in 'numpy\\f2py': 'docs'
non-existing path in 'numpy\\f2py': 'f2py.1'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in
['C:\\Python_x64\\Python27\\lib', 'C:\\', 'C:\\Python
_x64\\Python27\\libs']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['C:\\Python_x64\\Python27\\lib',
'C:\\', 'C:\\Python_x64\
\Python27\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in
['C:\\Python_x64\\Python27\\lib', 'C:\\', '
C:\\Python_x64\\Python27\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in
['C:\\Python_x64\\Python27\\lib', 'C:\\', 'C:\\
Python_x64\\Python27\\libs']
NOT AVAILABLE
blas_info:
libraries blas not found in ['C:\\Python_x64\\Python27\\lib', 'C:\\',
'C:\\Python_x64\\Pyt
hon27\\libs']
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
NOT AVAILABLE
non-existing path in 'numpy\\lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['C:\\Python_x64\\Python27\\lib',
'C:\\', 'C:\\Python_x64\
\Python27\\libs']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in
['C:\\Python_x64\\Python27\\lib', 'C:\\', 'C:\\Python
_x64\\Python27\\libs']
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in
C:\Python_x64\Python27\lib
libraries lapack_atlas not found in C:\Python_x64\Python27\lib
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in
C:\Python_x64\Python27\libs
libraries lapack_atlas not found in C:\Python_x64\Python27\libs
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in C:\Python_x64\Python27\lib
libraries lapack_atlas not found in C:\Python_x64\Python27\lib
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in
C:\Python_x64\Python27\libs
libraries lapack_atlas not found in C:\Python_x64\Python27\libs
numpy.distutils.system_info.atlas_info
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Python_x64\\Python27\\lib',
'C:\\', 'C:\\Python_x64\\P
ython27\\libs']
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
NOT AVAILABLE
unifing config_cc, config, build_clib, build_ext, build commands
--compiler options
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
build_src
building py_modules sources
building library "npymath" sources
No module named msvccompiler in numpy.distutils; trying from distutils
Running from numpy source directory.
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py
:1526: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py
:1535: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py
:1538: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py
:1432: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py
:1443: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py
:1446: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
C:\Python_x64\Python27\lib\distutils\dist.py:267: UserWarning: Unknown
distribution option:
'define_macros'
warnings.warn(msg)
error: Unable to find vcvarsall.bat
Complete output from command C:\Python_x64\Python27\python2.7.exe -c
"import setuptools;__fi
le__='c:\\users\\wulfraed\\appdata\\local\\temp\\pip_build_Wulfraed\\numpy\\setup.py';exec(compi
le(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record c:\users\wu
lfraed\appdata\local\temp\pip-zvwk8m-record\install-record.txt
--single-version-externally-manag
ed:
non-existing path in 'numpy\\distutils': 'site.cfg'
non-existing path in 'numpy\\f2py': 'docs'
non-existing path in 'numpy\\f2py': 'f2py.1'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python_x64\\Python27\\lib',
'C:\\', 'C:\\Python_x64
\\Python27\\libs']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['C:\\Python_x64\\Python27\\lib', 'C:\\',
'C:\\Python_x64\\Pyt
hon27\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in
['C:\\Python_x64\\Python27\\lib', 'C:\\', 'C:\\
Python_x64\\Python27\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in
['C:\\Python_x64\\Python27\\lib', 'C:\\', 'C:\\Pyth
on_x64\\Python27\\libs']
NOT AVAILABLE
blas_info:
libraries blas not found in ['C:\\Python_x64\\Python27\\lib', 'C:\\',
'C:\\Python_x64\\Python2
7\\libs']
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
NOT AVAILABLE
non-existing path in 'numpy\\lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['C:\\Python_x64\\Python27\\lib', 'C:\\',
'C:\\Python_x64\\Pyt
hon27\\libs']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['C:\\Python_x64\\Python27\\lib',
'C:\\', 'C:\\Python_x64
\\Python27\\libs']
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in C:\Python_x64\Python27\lib
libraries lapack_atlas not found in C:\Python_x64\Python27\lib
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in
C:\Python_x64\Python27\libs
libraries lapack_atlas not found in C:\Python_x64\Python27\libs
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in C:\Python_x64\Python27\lib
libraries lapack_atlas not found in C:\Python_x64\Python27\lib
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\Python_x64\Python27\libs
libraries lapack_atlas not found in C:\Python_x64\Python27\libs
numpy.distutils.system_info.atlas_info
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Python_x64\\Python27\\lib', 'C:\\',
'C:\\Python_x64\\Pytho
n27\\libs']
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
NOT AVAILABLE
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler
options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-2.7
creating build\src.win-amd64-2.7\numpy
creating build\src.win-amd64-2.7\numpy\distutils
building library "npymath" sources
No module named msvccompiler in numpy.distutils; trying from distutils
Running from numpy source directory.
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py:152
6: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py:153
5: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py:153
8: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py:143
2: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py:144
3: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.__doc__)
c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy\numpy\distutils\system_info.py:144
6: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
C:\Python_x64\Python27\lib\distutils\dist.py:267: UserWarning: Unknown
distribution option: 'def
ine_macros'
warnings.warn(msg)
error: Unable to find vcvarsall.bat
----------------------------------------
Cleaning up...
Command C:\Python_x64\Python27\python2.7.exe -c "import
setuptools;__file__='c:\\users\\wulfraed
\\appdata\\local\\temp\\pip_build_Wulfraed\\numpy\\setup.py';exec(compile(open(__file__).read().
replace('\r\n', '\n'), __file__, 'exec'))" install --record
c:\users\wulfraed\appdata\local\temp
\pip-zvwk8m-record\install-record.txt --single-version-externally-managed
failed with error code
1 in c:\users\wulfraed\appdata\local\temp\pip_build_Wulfraed\numpy
Storing complete log in C:\Users\Wulfraed\pip\pip.log
C:\Users\Wulfraed\Documents>
-=-=-=-=-=-=-
I downloaded a package from
http://sourceforge.net/projects/numpy/files/NumPy/1.7.0/ and that installed
(with one problem -- my default Python is 64-bit, but the prebuilt
installer is for the 32-bit version... When I explicitly start the 32-bit,
the import succeeds).
C:\Users\Wulfraed\Documents>python
ActivePython 2.7.5.6 (ActiveState Software Inc.) based on
Python 2.7.5 (default, Sep 16 2013, 23:11:01) [MSC v.1500 64 bit (AMD64)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numpy
>>> ^Z
C:\Users\Wulfraed\Documents>c:\Python_x86\Python27\python
ActivePython 2.7.5.6 (ActiveState Software Inc.) based on
Python 2.7.5 (default, Sep 16 2013, 23:16:52) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-20 07:46 -0800
Re: very weird pandas behavior Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-21 13:22 +1100
Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 04:44 -0800
Re: very weird pandas behavior Dave Angel <davea@davea.name> - 2014-12-21 09:19 -0500
Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 17:01 -0800
Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-22 12:15 +1100
Re: very weird pandas behavior Dave Angel <davea@davea.name> - 2014-12-21 20:40 -0500
Re: very weird pandas behavior oldknackers@googlemail.com - 2014-12-21 17:25 -0800
Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 18:07 -0800
Re: very weird pandas behavior Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-22 02:51 +0000
Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 18:09 -0800
Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-21 18:25 -0800
Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-22 13:50 +1100
Re: very weird pandas behavior Rustom Mody <rustompmody@gmail.com> - 2014-12-21 18:53 -0800
Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-22 00:16 -0800
Re: very weird pandas behavior Steven D'Aprano <steve@pearwood.info> - 2014-12-22 04:11 +0000
Re: very weird pandas behavior Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-22 15:50 -0500
Re: very weird pandas behavior oldknackers@googlemail.com - 2014-12-21 22:21 -0800
Re: very weird pandas behavior ryguy7272 <ryanshuell@gmail.com> - 2014-12-22 07:55 -0800
Re: very weird pandas behavior Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-22 16:39 +0000
Re: very weird pandas behavior Dave Angel <davea@davea.name> - 2014-12-22 11:47 -0500
Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-23 04:29 +1100
Re: very weird pandas behavior Rick Johnson <rantingrickjohnson@gmail.com> - 2014-12-22 14:15 -0800
Re: very weird pandas behavior Chris Angelico <rosuav@gmail.com> - 2014-12-23 09:33 +1100
Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-23 01:35 -0800
Re: very weird pandas behavior Rick Johnson <rantingrickjohnson@gmail.com> - 2014-12-23 14:35 -0800
Re: very weird pandas behavior Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-24 13:23 +1100
Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-24 00:00 -0800
Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-24 06:19 -0800
Re: very weird pandas behavior wxjmfauth@gmail.com - 2014-12-26 00:59 -0800
csiph-web