We installed xlrd confirm the guide on website: http://www.spss-tutorials.com/xlrd-python/
Here we added the value “C:\Program
Files\IBM\SPSS\Statistics\26\Python3” to the Windows Environment
Variables “PATH”.
I had to use the Python3 folder because the other “C:\Program
Files\IBM\SPSS\Statistics\26\Python” folder didn’t work.
So we used the default Python3 installation within SPSS 26, we didn’t
install a different Python version.
During the Xlrd installation it gives a little warning, but it seems to be installing
fine.
Underneath you see the complete logging of the Xlrd installation.
Hopefully you can tell us what we are doing wrong of what we are
missing.
C:\temp\xlrd-2.0.1>python setup.py install
C:\Program
Files\IBM\SPSS\Statistics\26\Python3\lib\distutils\dist.py:260: UserWarning: Unknown
distribution option: 'python_requires'
warnings.warn(msg)
running install
running bdist_egg
running egg_info
writing requirements to
xlrd.egg-info\requires.txt
writing xlrd.egg-info\PKG-INFO
writing top-level names to
xlrd.egg-info\top_level.txt
writing dependency_links to
xlrd.egg-info\dependency_links.txt
reading manifest file
'xlrd.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching
'README.md'
writing manifest file
'xlrd.egg-info\SOURCES.txt'
installing library code to
build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\biffh.py ->
build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\book.py ->
build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\compdoc.py ->
build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\formatting.py
-> build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\formula.py ->
build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\info.py ->
build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\sheet.py ->
build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\timemachine.py
-> build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\xldate.py ->
build\bdist.win-amd64\egg\xlrd
copying build\lib\xlrd\__init__.py ->
build\bdist.win-amd64\egg\xlrd
byte-compiling
build\bdist.win-amd64\egg\xlrd\biffh.py to biffh.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\book.py to book.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\compdoc.py to compdoc.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\formatting.py to formatting.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\formula.py to formula.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\info.py to info.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\sheet.py to sheet.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\timemachine.py to timemachine.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\xldate.py to xldate.cpython-34.pyc
byte-compiling
build\bdist.win-amd64\egg\xlrd\__init__.py to __init__.cpython-34.pyc
creating
build\bdist.win-amd64\egg\EGG-INFO
installing scripts to
build\bdist.win-amd64\egg\EGG-INFO\scripts
running install_scripts
running build_scripts
creating
build\bdist.win-amd64\egg\EGG-INFO\scripts
copying build\scripts-3.4\runxlrd.py
-> build\bdist.win-amd64\egg\EGG-INFO\scripts
copying xlrd.egg-info\PKG-INFO ->
build\bdist.win-amd64\egg\EGG-INFO
copying xlrd.egg-info\SOURCES.txt ->
build\bdist.win-amd64\egg\EGG-INFO
copying
xlrd.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying xlrd.egg-info\requires.txt ->
build\bdist.win-amd64\egg\EGG-INFO
copying xlrd.egg-info\top_level.txt
-> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive
contents...
creating 'dist\xlrd-2.0.1-py3.4.egg' and
adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg'
(and everything under it)
Processing xlrd-2.0.1-py3.4.egg
Removing c:\program
files\ibm\spss\statistics\26\python3\lib\site-packages\xlrd-2.0.1-py3.4.egg
Copying xlrd-2.0.1-py3.4.egg to
c:\program files\ibm\spss\statistics\26\python3\lib\site-packages
xlrd 2.0.1 is already the active version
in easy-install.pth
Installing runxlrd.py script to
C:\Program Files\IBM\SPSS\Statistics\26\Python3\Scripts
Installed c:\program
files\ibm\spss\statistics\26\python3\lib\site-packages\xlrd-2.0.1-py3.4.egg
Processing dependencies for xlrd==2.0.1
Finished processing dependencies for
xlrd==2.0.1
C:\temp\xlrd-2.0.1>
#SPSSStatistics#Support#SupportMigration