Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install iced for python 2.7 #92

Open
sshen82 opened this issue Oct 21, 2020 · 0 comments
Open

Install iced for python 2.7 #92

sshen82 opened this issue Oct 21, 2020 · 0 comments

Comments

@sshen82
Copy link

sshen82 commented Oct 21, 2020

Hi,
I am trying to install iced in python 2.7 but met with the following error. Do you know what happened?

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting iced
Using cached iced-0.5.7.tar.gz (28.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: iced
Building wheel for iced (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\solei\miniconda3\envs\py2\python.exe' 'c:\users\solei\miniconda3\envs\py2\lib\site-packages\pip_vendor\pep517_in_process.py' build_wheel 'c:\users\solei\appdata\local\temp\tmpsj3zq0'
cwd: c:\users\solei\appdata\local\temp\pip-install-bixxjm\iced
Complete output (52 lines):
non-existing path in 'iced': '..\src\cblas'
non-existing path in 'iced': '..\src\cblas'
running bdist_wheel
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 extension "iced.normalization/normalization" sources
building extension "iced.filter" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\iced
copying iced\filter.py -> build\lib.win-amd64-2.7\iced
copying iced\setup.py -> build\lib.win-amd64-2.7\iced
copying iced_init_.py -> build\lib.win-amd64-2.7\iced
creating build\lib.win-amd64-2.7\iced\utils
copying iced\utils\validation.py -> build\lib.win-amd64-2.7\iced\utils
copying iced\utils_genome.py -> build\lib.win-amd64-2.7\iced\utils
copying iced\utils_validation.py -> build\lib.win-amd64-2.7\iced\utils
copying iced\utils_vis.py -> build\lib.win-amd64-2.7\iced\utils
copying iced\utils_init_.py -> build\lib.win-amd64-2.7\iced\utils
creating build\lib.win-amd64-2.7\iced\datasets
copying iced\datasets\base.py -> build\lib.win-amd64-2.7\iced\datasets
copying iced\datasets\dldata.py -> build\lib.win-amd64-2.7\iced\datasets
copying iced\datasets\setup.py -> build\lib.win-amd64-2.7\iced\datasets
copying iced\datasets_init_.py -> build\lib.win-amd64-2.7\iced\datasets
creating build\lib.win-amd64-2.7\iced\io
copying iced\io\setup.py -> build\lib.win-amd64-2.7\iced\io
copying iced\io_io_else.py -> build\lib.win-amd64-2.7\iced\io
copying iced\io_io_pandas.py -> build\lib.win-amd64-2.7\iced\io
copying iced\io_init_.py -> build\lib.win-amd64-2.7\iced\io
creating build\lib.win-amd64-2.7\iced\normalization
copying iced\normalization_ca_utils.py -> build\lib.win-amd64-2.7\iced\normalization
copying iced\normalization_init_.py -> build\lib.win-amd64-2.7\iced\normalization
running build_ext
customize MSVCCompiler using build_ext
compiling C sources
creating build\temp.win-amd64-2.7\Release\iced
creating build\temp.win-amd64-2.7\Release\iced\normalization
C:\Users\solei\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I..\src\cblas -Ic:\users\solei\appdata\local\temp\pip-build-env-1tyth1\overlay\Lib\site-packages\nuIc:\users\solei\miniconda3\envs\py2\include -Ic:\users\solei\miniconda3\envs\py2\PC /Tciced\normalization_normalization_.c /Fobuild\temp.win-amd64-2.7\Release\iced\normalization_normalization_.obj
C:\Users\solei\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\users\solei\miniconda3\envs\py2\libs /LIBPATH:c:\users\solei\miniconda3\envs\py2\PCbuild\amd64 /LIBPATH:c:\users\solei\miniconda3\envs\py2\PC\VS9.0\amd64 /EXPORT:initnormalization/normalization build\temp.win-amd64-2.7\Release\iced\normalization_normalization_.obj /OUT:build\lib.win-amd64-2.7\iced\normalization/normalization.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\iced\normalization_normalization_.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\iced\normalization_normalization_.pyd.manifest
LINK : error LNK2001: unresolved external symbol initnormalization/normalization
build\temp.win-amd64-2.7\Release\iced\normalization_normalization_.lib : fatal error LNK1120: 1 unresolved externals
error: Command "C:\Users\solei\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\users\solei\miniconda3\envs\py2\libs /LIBPATH:c:\users\solei\miniconda3\envs\py2\PCbuild\amd64 /LIBPATH:c:\users\solei\miniconda3\envs\py2\PC\VS9.0\amd64 /EXPORT:initnormalization/normalization build\temp.win-amd64-2.7\Release\iced\normalization_normalization_.obj /OUT:build\lib.win-amd64-2.7\iced\normalization/normalization.pyd /IMPLIB:build\temp.win-amd64-2.7\Release\iced\normalization_normalization_.lib /MANIFESTFILE:build\temp.win-amd64-2.7\Release\iced\normalization_normalization_.pyd.manifest" failed with exit status 1120

ERROR: Failed building wheel for iced
Failed to build iced
ERROR: Could not build wheels for iced which use PEP 517 and cannot be installed directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant