You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use pythonnet with some other compiled libraries like numpy, scipy, theano, and overall keras. Pythonnet allows me too get the data I want, to treat them with keras.
The production machine config is a as follows:
Windows 7 64
Visual Studio 2012 Professionnal
Python 3.4
Anyway, when I try to load my application on the production machine I get, similarly to #182:
This error happened at the import keras call in my code, and it is an issue I did not have on the development machine...
Given that it seems that this error has been patched on the master branch, I'm trying to build the library from pythonnet-master. But when I run setup.py install, I get the following messages (sorry for the French language):
running install
running bdist_egg
running egg_info
writing pythonnet.egg-info\PKG-INFO
writing top-level names to pythonnet.egg-info\top_level.txt
writing dependency_links to pythonnet.egg-info\dependency_links.txt
reading manifest file 'pythonnet.egg-info\SOURCES.txt'
writing manifest file 'pythonnet.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
Tous les packages répertoriés dans packages.config sont déjà installés.
Using mt.exe from Windows Kit 8.0
Microsoft (R) Manifest Tool version 6.2.9200.16384
Copyright (c) Microsoft Corporation 2012.
All rights reserved.
Microsoft (R) Build Engine, version 4.0.30319.18408
[Microsoft .NET Framework, Version 4.0.30319.18444]
Copyright (C) Microsoft Corporation. Tous droits réservés.
Microsoft (R) Build Engine, version 4.0.30319.18408
[Microsoft .NET Framework, Version 4.0.30319.18444]
Copyright (C) Microsoft Corporation. Tous droits réservés.
assemblymanager.cs(206,37): warning CS0168: La variable 'e' est déclarée, mais jamais utilisée [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
classderived.cs(789,90): error CS1525: Terme d'expression non valide '.' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
classderived.cs(789,91): error CS1003: Erreur de syntaxe, ':' attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
classderived.cs(789,100): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
classderived.cs(789,100): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
classderived.cs(789,101): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
classderived.cs(789,101): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,75): error CS1525: Terme d'expression non valide '.' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,76): error CS1003: Erreur de syntaxe, ':' attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,85): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,85): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,86): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,86): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,87): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,87): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(231,88): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(965,57): error CS1525: Terme d'expression non valide '.' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(965,58): error CS1003: Erreur de syntaxe, ':' attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(965,67): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(965,67): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(965,68): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
converter.cs(965,68): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pyobject.cs(975,67): error CS1525: Terme d'expression non valide '.' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pyobject.cs(975,68): error CS1003: Erreur de syntaxe, ':' attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pyobject.cs(975,77): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pyobject.cs(975,77): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pythonengine.cs(490,69): error CS1525: Terme d'expression non valide '.' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pythonengine.cs(490,70): error CS1003: Erreur de syntaxe, ':' attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pythonengine.cs(490,79): error CS1002: ; attendu [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
pythonengine.cs(490,79): error CS1525: Terme d'expression non valide ')' [C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\runtime\Python.Runtime.csproj]
clrmodule -> C:\Users\user\Downloads\pythonnet-master\pythonnet-master\src\clrmodule\bin\x64\ReleaseWin\clrmodule.dll
Traceback (most recent call last):
File "C:\Users\user\Downloads\pythonnet-master\pythonnet-master\setup.py", line 358, in <module>
setup_requires=setup_requires
File "C:\Python34\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python34\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Python34\lib\site-packages\setuptools\command\install.py", line 109,in do_egg_install
self.run_command('bdist_egg')
File "C:\Python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\site-packages\setuptools\command\bdist_egg.py", line 160, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Python34\lib\site-packages\setuptools\command\bdist_egg.py", line 146, in call_command
self.run_command(cmdname)
File "C:\Python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\distutils\command\install_lib.py", line 88, in run
self.build()
File "C:\Python34\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Python34\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Python34\lib\distutils\command\build_ext.py", line 448, in build_extensions
self.build_extension(ext)
File "C:\Users\user\Downloads\pythonnet-master\pythonnet-master\setup.py", line 191, in build_extension
check_call(" ".join(cmd + ["/t:Build"]), shell=use_shell)
File "C:\Python34\lib\subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe" pythonnet.sln /p:Configuration=ReleaseWin /p:Platform=x64/p:DefineConstants="PYTHON34;UCS2" /p:PythonBuildDir="C:\Users\user\Downloads\pythonnet-master\pythonnet-master\build\lib.win-amd64-3.4" /p:PythonInteropFile="interop34.cs" /verbosity:minimal /p:PythonManifest="C:\Users\user\Downloads\pythonnet-master\pythonnet-master\build\lib.win-amd64-3.4\app.manifest" /t:Build' returned non-zero exit status 1
Those errors seems to be seen as syntax errors and this kind of things, which I can't understand.
Any idea of what could cause the build to fail?
The text was updated successfully, but these errors were encountered:
Hello everyone,
I try to use pythonnet with some other compiled libraries like numpy, scipy, theano, and overall keras. Pythonnet allows me too get the data I want, to treat them with keras.
The production machine config is a as follows:
Anyway, when I try to load my application on the production machine I get, similarly to #182:
This error happened at the
import keras
call in my code, and it is an issue I did not have on the development machine...Given that it seems that this error has been patched on the master branch, I'm trying to build the library from pythonnet-master. But when I run
setup.py install
, I get the following messages (sorry for the French language):Those errors seems to be seen as syntax errors and this kind of things, which I can't understand.
Any idea of what could cause the build to fail?
The text was updated successfully, but these errors were encountered: