Title: Mac / Centos6.9 / Ubuntu install pythonnet failed · Issue #502 · pythonnet/pythonnet · GitHub
Open Graph Title: Mac / Centos6.9 / Ubuntu install pythonnet failed · Issue #502 · pythonnet/pythonnet
X Title: Mac / Centos6.9 / Ubuntu install pythonnet failed · Issue #502 · pythonnet/pythonnet
Description: Environment Pythonnet version: python net-2.3.0 Python version: python2.7 Operating System: Mac / Centos6.9 / Ubuntu 16.04 Details Install pythonnet on Mac / Centos6.9 / Ubuntu16.04 error running install running bdist_egg running egg_inf...
Open Graph Description: Environment Pythonnet version: python net-2.3.0 Python version: python2.7 Operating System: Mac / Centos6.9 / Ubuntu 16.04 Details Install pythonnet on Mac / Centos6.9 / Ubuntu16.04 error running i...
X Description: Environment Pythonnet version: python net-2.3.0 Python version: python2.7 Operating System: Mac / Centos6.9 / Ubuntu 16.04 Details Install pythonnet on Mac / Centos6.9 / Ubuntu16.04 error running i...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/502
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mac / Centos6.9 / Ubuntu install pythonnet failed","articleBody":"### Environment\r\n\r\n- Pythonnet version: python net-2.3.0\r\n- Python version: python2.7\r\n- Operating System: Mac / Centos6.9 / Ubuntu 16.04\r\n\r\n### Details\r\n\r\n- Install pythonnet on Mac / Centos6.9 / Ubuntu16.04\r\n\r\n \r\n\r\n- error\r\n\r\n```\r\nrunning install\r\nrunning bdist_egg\r\nrunning egg_info\r\nwriting pythonnet.egg-info/PKG-INFO\r\nwriting top-level names to pythonnet.egg-info/top_level.txt\r\nwriting dependency_links to pythonnet.egg-info/dependency_links.txt\r\nreading manifest file 'pythonnet.egg-info/SOURCES.txt'\r\nwriting manifest file 'pythonnet.egg-info/SOURCES.txt'\r\ninstalling library code to build/bdist.macosx-10.12-x86_64/egg\r\nrunning install_lib\r\nrunning build_ext\r\n正在检查来自 https://www.nuget.org/api/v2/ 的更新。\r\n当前正在运行 NuGet.exe 4.1.0。\r\nNuGet.exe 是最新的。\r\nMSBuild auto-detection: using msbuild version '15.0' from '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/msbuild/15.0/bin/'.\r\npackages.config 中列出的所有程序包均已安装。\r\n\r\n\u003e\u003e\u003e\u003e xbuild tool is deprecated and will be removed in future updates, use msbuild instead \u003c\u003c\u003c\u003c\r\n\r\nXBuild Engine Version 14.0\r\nMono, Version 5.0.1.0\r\nCopyright (C) 2005-2013 Various Mono authors\r\n\r\n\u003e\u003e\u003e\u003e xbuild tool is deprecated and will be removed in future updates, use msbuild instead \u003c\u003c\u003c\u003c\r\n\r\nXBuild Engine Version 14.0\r\nMono, Version 5.0.1.0\r\nCopyright (C) 2005-2013 Various Mono authors\r\n\t\tConfiguration: ReleaseMono Platform: x64\r\n\tConfiguration: ReleaseMono Platform: x64\r\n/Users/kevin/repositories/pythonnet-2.3.0/src/testing/Python.Test.csproj: error : Error executing task Copy: Error converting Property named 'SourceFiles' with value '$(TargetAssemblyPdb)' to type Microsoft.Build.Framework.ITaskItem[]: Can't concatenate Item list with other strings where an item list is expected ('@(_OutDirItem-\u003e'%(FullPath)')', 'Python.Test.pdb'). Use semi colon to separate items.\r\n\tConfiguration: ReleaseMono Platform: x64\r\ndynamic.cs(121,28): warning CS0618: 'PythonEngine.RunString(string, IntPtr?, IntPtr?)' is obsolete: 'RunString is deprecated and will be removed. Use Exec/Eval/RunSimpleString instead.'\r\nTestPythonEngineProperties.cs(171,17): warning CS0162: Unreachable code detected\r\n/Users/kevin/repositories/pythonnet-2.3.0/src/embed_tests/Python.EmbeddingTest.csproj: error : Error executing task Copy: Error converting Property named 'SourceFiles' with value '$(TargetAssemblyPdb)' to type Microsoft.Build.Framework.ITaskItem[]: Can't concatenate Item list with other strings where an item list is expected ('@(_OutDirItem-\u003e'%(FullPath)')', 'Python.EmbeddingTest.pdb'). Use semi colon to separate items.\r\nConfiguration: ReleaseMono Platform: x64\r\nTraceback (most recent call last):\r\n File \"setup.py\", line 405, in \u003cmodule\u003e\r\n zip_safe=False,\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py\", line 151, in setup\r\n dist.run_commands()\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n self.run_command(cmd)\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"/usr/local/lib/python2.7/site-packages/setuptools/command/install.py\", line 67, in run\r\n self.do_egg_install()\r\n File \"/usr/local/lib/python2.7/site-packages/setuptools/command/install.py\", line 109, in do_egg_install\r\n self.run_command('bdist_egg')\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"/usr/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py\", line 161, in run\r\n cmd = self.call_command('install_lib', warn_dir=0)\r\n File \"/usr/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py\", line 147, in call_command\r\n self.run_command(cmdname)\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py\", line 92, in run\r\n self.build()\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py\", line 111, in build\r\n self.run_command('build_ext')\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py\", line 340, in run\r\n self.build_extensions()\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py\", line 449, in build_extensions\r\n self.build_extension(ext)\r\n File \"setup.py\", line 222, in build_extension\r\n subprocess.check_call(\" \".join(cmd + [\"/t:Build\"]), shell=use_shell)\r\n File \"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py\", line 186, in check_call\r\n raise CalledProcessError(retcode, cmd)\r\nsubprocess.CalledProcessError: Command 'xbuild pythonnet.sln /p:Configuration=ReleaseMono /p:Platform=x64 /p:DefineConstants=\"PYTHON27,PYTHON2,UCS2,MONO_OSX,PYTHON_WITHOUT_ENABLE_SHARED\" /p:PythonBuildDir=\"/Users/kevin/repositories/pythonnet-2.3.0/build/lib.macosx-10.12-x86_64-2.7\" /p:PythonInteropFile=\"interop27.cs\" /verbosity:minimal /t:Build' returned non-zero exit status 1\r\n```\r\n- I have read the Issue #471 , modify Python.Runtime.csproj\r\n```\r\n\u003cImport Project=\"$(MSBuildBinPath)\\Microsoft.CSHARP.Targets\" /\u003e\r\n \u003cPropertyGroup\u003e\r\n \u003cTargetAssembly\u003e$(TargetPath)\u003c/TargetAssembly\u003e\r\n \u003cTargetAssemblyPdb\u003e$(TargetPath).pdb\u003c/TargetAssemblyPdb\u003e\r\n \u003c/PropertyGroup\u003e\r\n \u003cTarget Name=\"AfterBuild\"\u003e\r\n \u003cCopy SourceFiles=\"$(TargetAssembly)\" DestinationFolder=\"$(PythonBuildDir)\" /\u003e\r\n \u003cCopy SourceFiles=\"$(TargetAssemblyPdb)\" Condition=\"Exists('$(TargetAssemblyPdb)')\" DestinationFolder=\"$(PythonBuildDir)\" /\u003e\r\n \u003c/Target\u003e\r\n```","author":{"url":"https://github.com/kevin0107","@type":"Person","name":"kevin0107"},"datePublished":"2017-06-21T02:18:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/502/pythonnet/issues/502"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a966b025-d82b-1f0b-274b-f578c1cff041 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C25A:EF5D6:2935B58:39CB1F2:69710379 |
| html-safe-nonce | 2d51fab29794836eb01916048a79636da8325249fb95b2f776b27f033cfad9a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjVBOkVGNUQ2OjI5MzVCNTg6MzlDQjFGMjo2OTcxMDM3OSIsInZpc2l0b3JfaWQiOiI1NTAzODQwNTY5NzAxNDk5NzY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 61b6d0c892b70530d58a784ab655e2cc169b41b2fa73364b83d9730001f54abd |
| hovercard-subject-tag | issue:237396389 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/502/issue_layout |
| twitter:image | https://opengraph.githubassets.com/48167d44b1553d3d38e5bd702341ae83be8bab47d4931f7e147d606418b421de/pythonnet/pythonnet/issues/502 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/48167d44b1553d3d38e5bd702341ae83be8bab47d4931f7e147d606418b421de/pythonnet/pythonnet/issues/502 |
| og:image:alt | Environment Pythonnet version: python net-2.3.0 Python version: python2.7 Operating System: Mac / Centos6.9 / Ubuntu 16.04 Details Install pythonnet on Mac / Centos6.9 / Ubuntu16.04 error running i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kevin0107 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2d17fd2bbd784dc91f3a78a2f1d2c41d9f4f8ce86136d09833e3cf21b2bde1b7 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e053d923fb27a9d948f8cefae8ba3bf43f7b938f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width