-
Notifications
You must be signed in to change notification settings - Fork 43
is not working conda install -c conda-forge sklearn-contrib-ligh tning #13
Comments
Your commands show that you installed the dependencies successfully, but they do not show how you installed polylearn itself. Could you clarify that part? |
do you mean this bu this code is for Unix, what can be done for Windows? |
these are messages for installation step N1
|
second step for installations
|
third step
|
message for package call
|
the windows commands should be the same except for the sudo (which is not necessary) In any case it's recommended to use pip instead of setup.py. Just download the polylearn code, navigate to the main dir and run
|
I see, what I need to do now is uninstall polylearn |
like any other python package! In general I recommend using virtualenvs, perhaps you can create a new empty virtualenv and try to install what you need in there. |
ok C:\WINDOWS\System32>pip uninstall polylearn C:\WINDOWS\System32> |
now installation fails
|
As the filenames suggest, it is still trying to use mingw32 and not msvc. Please direct your distutils to use msvc, and ensure you have the correct msvc installed (corresponding to your python version), as per the link in my previous reply. |
do you mean this Install Visual Studio Community 2015 with C++ checked |
the distutils.cfg part yes, but watch out because python 3.6 might require a different version of msvc than python 3.5, I am not sure, check the link I sent to you in issue #12 (btw why are there two issues here? I am confused.) |
I am not sure, check the link I sent to you in issue #12 (btw why are there two issues here? I am confused.) and it is written |
Microsoft Windows [Version 10.0.17763.615] E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master>pip install . E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master>python
|
you might have to navigate outside of the polylearn dir before running
python and importing.
Try `cd C:\` or similar
…On Wed, Aug 7, 2019 at 8:32 PM Sandy4321 ***@***.***> wrote:
Microsoft Windows [Version 10.0.17763.615]
(c) 2018 Microsoft Corporation. All rights reserved.
E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master>pip
install .
Processing
e:\factirization_machines\code\polylearn_master_aug7\polylearn-master
Building wheels for collected packages: polylearn
Building wheel for polylearn (setup.py) ... done
Stored in directory:
C:\Users\sndr\AppData\Local\pip\Cache\wheels\5e\3a\23\e2029f7113389ad1576c6d0400e57c310545794970ffb58f24
Successfully built polylearn
Installing collected packages: polylearn
Successfully installed polylearn-0.1.dev0
E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master>python
Python 3.6.7 (default, Feb 28 2019, 07:28:18) [MSC v.1900 64 bit (AMD64)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
import polylearn as pl
C:\Users\sndr\Anaconda3\lib\site-packages\sklearn\externals\six.py:31:
DeprecationWarning: The module is deprecated in version 0.21 and will be
removed in version 0.23 since we've dropped support for Python 2.7. Please
rely on the official version of six (https://pypi.org/project/six/).
"(https://pypi.org/project/six/).", DeprecationWarning)
Traceback (most recent call last):
File "", line 1, in
File
"E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master\polylearn_
*init*_.py", line 1, in
from .factorization_machine import FactorizationMachineRegressor
File
"E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master\polylearn\factorization_machine.py",
line 24, in
from .base import _BasePoly, _PolyClassifierMixin, _PolyRegressorMixin
File
"E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master\polylearn\base.py",
line 12, in
from .loss import CLASSIFICATION_LOSSES, REGRESSION_LOSSES
File
"E:\Factirization_Machines\code\polylearn_master_Aug7\polylearn-master\polylearn\loss.py",
line 4, in
from .loss_fast import Squared, SquaredHinge, Logistic
ModuleNotFoundError: No module named 'polylearn.loss_fast'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13?email_source=notifications&email_token=AAB3AUKYLMG6X2ETT6ARQL3QDMPLDA5CNFSM4EMXZSQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZPEZA#issuecomment-519238244>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB3AULW7OXXBDRQ2NCR5YLQDMPLDANCNFSM4EMXZSQQ>
.
|
lets try example
|
I try to install polylern on another computer but on the computer there is no error massage is
|
Create the file.
…On Wed, Aug 7, 2019, 21:29 Sandy4321 ***@***.***> wrote:
I try to install polylern on another computer but on the computer there is
no
distutils.cfg file
to do this change
may you kindly advise what can be done in this case?
[build]
compiler=mingw32
now try to change it to
[build]
compiler=msvc
error massage is
D:\Python instalations\polylearn-master\polylearn-master>pip install .
Processing d:\python instalations\polylearn-master\polylearn-master
Building wheels for collected packages: polylearn
Building wheel for polylearn (setup.py) ... error
ERROR: Complete output from command 'C:\Users\A123456\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\A123456\\AppData\\Local\\Temp\\pip-req-build-w040ohe6\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\A123456\AppData\Local\Temp\pip-wheel-bksd8kww' --python-tag cp36:
ERROR: Appending polylearn.tests configuration to polylearn
Ignoring attempt to set 'name' (from 'polylearn' to 'polylearn.tests')
Appending polylearn configuration to
Ignoring attempt to set 'name' (from '' to 'polylearn')
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 "polylearn.loss_fast" sources
building extension "polylearn.cd_direct_fast" sources
building extension "polylearn.cd_linear_fast" sources
building extension "polylearn.cd_lifted_fast" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\polylearn
copying polylearn\base.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\factorization_machine.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\kernels.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\loss.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\polynomial_network.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\setup.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\__init__.py -> build\lib.win-amd64-3.6\polylearn
creating build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_cd_linear.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_common.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_factorization_machine.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_kernels.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_polynomial_network.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\__init__.py -> build\lib.win-amd64-3.6\polylearn\tests
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
Missing compiler_cxx fix for MSVCCompiler
customize MSVCCompiler using build_ext
building 'polylearn.loss_fast' extension
compiling C sources
creating build\temp.win-amd64-3.6\Release\polylearn
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000
Warning: Assuming default configuration (polylearn\tests/{setup_tests,setup}.py was not found)error: Command "cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000" failed with exit status 127
----------------------------------------
ERROR: Failed building wheel for polylearn
Running setup.py clean for polylearn
Failed to build polylearn
Installing collected packages: polylearn
Running setup.py install for polylearn ... error
ERROR: Complete output from command 'C:\Users\A123456\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\A123456\\AppData\\Local\\Temp\\pip-req-build-w040ohe6\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\A123456\AppData\Local\Temp\pip-record-rmbdph40\install-record.txt' --single-version-externally-managed --compile:
ERROR: Appending polylearn.tests configuration to polylearn
Ignoring attempt to set 'name' (from 'polylearn' to 'polylearn.tests')
Appending polylearn configuration to
Ignoring attempt to set 'name' (from '' to 'polylearn')
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 extension "polylearn.loss_fast" sources
building extension "polylearn.cd_direct_fast" sources
building extension "polylearn.cd_linear_fast" sources
building extension "polylearn.cd_lifted_fast" sources
build_src: building npy-pkg config files
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\polylearn
copying polylearn\base.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\factorization_machine.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\kernels.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\loss.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\polynomial_network.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\setup.py -> build\lib.win-amd64-3.6\polylearn
copying polylearn\__init__.py -> build\lib.win-amd64-3.6\polylearn
creating build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_cd_linear.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_common.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_factorization_machine.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_kernels.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\test_polynomial_network.py -> build\lib.win-amd64-3.6\polylearn\tests
copying polylearn\tests\__init__.py -> build\lib.win-amd64-3.6\polylearn\tests
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
Missing compiler_cxx fix for MSVCCompiler
customize MSVCCompiler using build_ext
building 'polylearn.loss_fast' extension
compiling C sources
creating build\temp.win-amd64-3.6\Release\polylearn
cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000
Warning: Assuming default configuration (polylearn\tests/{setup_tests,setup}.py was not found)error: Command "cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000" failed with exit status 127
----------------------------------------
ERROR: Command "'C:\Users\A123456\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\A123456\\AppData\\Local\\Temp\\pip-req-build-w040ohe6\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\A123456\AppData\Local\Temp\pip-record-rmbdph40\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\A123456\AppData\Local\Temp\pip-req-build-w040ohe6\
D:\Python instalations\polylearn-master\polylearn-master>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#13?email_source=notifications&email_token=AAB3AUI4O5B23XKICKLK4GDQDMWC3A5CNFSM4EMXZSQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZTWJA#issuecomment-519256868>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB3AUOEW7OQLV5QE7HURWLQDMWC3ANCNFSM4EMXZSQQ>
.
|
The error in the example must be connected to changes in scikit-learn. What
version of scikit-learn do you have installed? It may be older than
supported, try upgrading.
(If you are running the latest version, I might have to update the example)
…On Wed, Aug 7, 2019, 21:30 Vlad Niculae ***@***.***> wrote:
Create the file.
On Wed, Aug 7, 2019, 21:29 Sandy4321 ***@***.***> wrote:
> I try to install polylern on another computer but on the computer there
> is no
> distutils.cfg file
> to do this change
> may you kindly advise what can be done in this case?
> [build]
> compiler=mingw32
> now try to change it to
> [build]
> compiler=msvc
>
> error massage is
>
> D:\Python instalations\polylearn-master\polylearn-master>pip install .
>
> Processing d:\python instalations\polylearn-master\polylearn-master
>
> Building wheels for collected packages: polylearn
>
> Building wheel for polylearn (setup.py) ... error
>
> ERROR: Complete output from command 'C:\Users\A123456\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\A123456\\AppData\\Local\\Temp\\pip-req-build-w040ohe6\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\A123456\AppData\Local\Temp\pip-wheel-bksd8kww' --python-tag cp36:
>
> ERROR: Appending polylearn.tests configuration to polylearn
>
> Ignoring attempt to set 'name' (from 'polylearn' to 'polylearn.tests')
>
> Appending polylearn configuration to
>
> Ignoring attempt to set 'name' (from '' to 'polylearn')
>
> 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 "polylearn.loss_fast" sources
>
> building extension "polylearn.cd_direct_fast" sources
>
> building extension "polylearn.cd_linear_fast" sources
>
> building extension "polylearn.cd_lifted_fast" sources
>
> build_src: building npy-pkg config files
>
> running build_py
>
> creating build
>
> creating build\lib.win-amd64-3.6
>
> creating build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\base.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\factorization_machine.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\kernels.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\loss.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\polynomial_network.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\setup.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\__init__.py -> build\lib.win-amd64-3.6\polylearn
>
> creating build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_cd_linear.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_common.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_factorization_machine.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_kernels.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_polynomial_network.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\__init__.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> running build_ext
>
> No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
>
> customize MSVCCompiler
>
> customize MSVCCompiler using build_ext
>
> No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
>
> customize MSVCCompiler
>
> Missing compiler_cxx fix for MSVCCompiler
>
> customize MSVCCompiler using build_ext
>
> building 'polylearn.loss_fast' extension
>
> compiling C sources
>
> creating build\temp.win-amd64-3.6\Release\polylearn
>
> cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000
>
>
>
> Warning: Assuming default configuration (polylearn\tests/{setup_tests,setup}.py was not found)error: Command "cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000" failed with exit status 127
>
> ----------------------------------------
>
> ERROR: Failed building wheel for polylearn
>
> Running setup.py clean for polylearn
>
> Failed to build polylearn
>
> Installing collected packages: polylearn
>
> Running setup.py install for polylearn ... error
>
> ERROR: Complete output from command 'C:\Users\A123456\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\A123456\\AppData\\Local\\Temp\\pip-req-build-w040ohe6\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\A123456\AppData\Local\Temp\pip-record-rmbdph40\install-record.txt' --single-version-externally-managed --compile:
>
> ERROR: Appending polylearn.tests configuration to polylearn
>
> Ignoring attempt to set 'name' (from 'polylearn' to 'polylearn.tests')
>
> Appending polylearn configuration to
>
> Ignoring attempt to set 'name' (from '' to 'polylearn')
>
> 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 extension "polylearn.loss_fast" sources
>
> building extension "polylearn.cd_direct_fast" sources
>
> building extension "polylearn.cd_linear_fast" sources
>
> building extension "polylearn.cd_lifted_fast" sources
>
> build_src: building npy-pkg config files
>
> running build_py
>
> creating build
>
> creating build\lib.win-amd64-3.6
>
> creating build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\base.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\factorization_machine.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\kernels.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\loss.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\polynomial_network.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\setup.py -> build\lib.win-amd64-3.6\polylearn
>
> copying polylearn\__init__.py -> build\lib.win-amd64-3.6\polylearn
>
> creating build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_cd_linear.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_common.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_factorization_machine.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_kernels.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\test_polynomial_network.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> copying polylearn\tests\__init__.py -> build\lib.win-amd64-3.6\polylearn\tests
>
> running build_ext
>
> No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
>
> customize MSVCCompiler
>
> customize MSVCCompiler using build_ext
>
> No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
>
> customize MSVCCompiler
>
> Missing compiler_cxx fix for MSVCCompiler
>
> customize MSVCCompiler using build_ext
>
> building 'polylearn.loss_fast' extension
>
> compiling C sources
>
> creating build\temp.win-amd64-3.6\Release\polylearn
>
> cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000
>
>
>
> Warning: Assuming default configuration (polylearn\tests/{setup_tests,setup}.py was not found)error: Command "cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include -IC:\Users\A123456\AppData\Local\Continuum\anaconda3\include /EHsc /Tppolylearn\loss_fast.cpp /Fobuild\temp.win-amd64-3.6\Release\polylearn\loss_fast.obj /Zm1000" failed with exit status 127
>
> ----------------------------------------
>
> ERROR: Command "'C:\Users\A123456\AppData\Local\Continuum\anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\A123456\\AppData\\Local\\Temp\\pip-req-build-w040ohe6\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\A123456\AppData\Local\Temp\pip-record-rmbdph40\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\A123456\AppData\Local\Temp\pip-req-build-w040ohe6\
>
>
>
> D:\Python instalations\polylearn-master\polylearn-master>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#13?email_source=notifications&email_token=AAB3AUI4O5B23XKICKLK4GDQDMWC3A5CNFSM4EMXZSQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZTWJA#issuecomment-519256868>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAB3AUOEW7OQLV5QE7HURWLQDMWC3ANCNFSM4EMXZSQQ>
> .
>
|
I installed successfully on Windows computer
by using conda
but still have error
polylearn_master_Jan21_2018\polylearn\tests\test_factorization_machine.py", line 14, in
from polylearn.kernels import _poly_predict
ImportError: No module named polylearn.kernels
prove of correct installation is below
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
D:\Factorisatoin_Machines\code>conda install -c conda-forge sklearn-contrib-ligh
tning
Fetching package metadata .............
Solving package specifications: .
Package plan for installation in environment C:\Users\SanderOct27\Anaconda2:
The following NEW packages will be INSTALLED:
The following packages will be UPDATED:
onda-forge
openssl: 1.0.2j-vc9_0 --> 1.0.2n-vc9_0 c
onda-forge [vc9]
The following packages will be SUPERSEDED by a higher-priority channel:
onda-forge
Proceed ([y]/n)? y
ca-certificate 100% |###############################| Time: 0:00:00 851.73 kB/s
conda-env-2.6. 100% |###############################| Time: 0:00:00 64.56 kB/s
openssl-1.0.2n 100% |###############################| Time: 0:00:05 838.18 kB/s
vc-9-0.tar.bz2 100% |###############################| Time: 0:00:00 51.50 kB/s
sklearn-contri 100% |###############################| Time: 0:00:00 1.35 MB/s
conda-4.3.32-p 100% |###############################| Time: 0:00:00 1.32 MB/s
D:\Factorisatoin_Machines\code>
The text was updated successfully, but these errors were encountered: