René's URL Explorer Experiment


Title: Error building in Linux · Issue #571 · pythonnet/pythonnet · GitHub

Open Graph Title: Error building in Linux · Issue #571 · pythonnet/pythonnet

X Title: Error building in Linux · Issue #571 · pythonnet/pythonnet

Description: Environment Pythonnet version: 2.4.0 Python version: 2.7.5 Operating System: Red Hat Enterprise Linux Server release 7.3 (Maipo) DotNet version: 2.0.0 Details Error restoring packages while trying to build from the command line in Linux ...

Open Graph Description: Environment Pythonnet version: 2.4.0 Python version: 2.7.5 Operating System: Red Hat Enterprise Linux Server release 7.3 (Maipo) DotNet version: 2.0.0 Details Error restoring packages while trying ...

X Description: Environment Pythonnet version: 2.4.0 Python version: 2.7.5 Operating System: Red Hat Enterprise Linux Server release 7.3 (Maipo) DotNet version: 2.0.0 Details Error restoring packages while trying ...

Opengraph URL: https://github.com/pythonnet/pythonnet/issues/571

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error building in Linux","articleBody":"### Environment\r\n\r\n-   Pythonnet version: 2.4.0\r\n-   Python version: 2.7.5\r\n-   Operating System: Red Hat Enterprise Linux Server release 7.3 (Maipo)\r\n-   DotNet version: 2.0.0\r\n### Details\r\n\r\n-   Error restoring packages while trying to build from the command line in Linux\r\n\r\n-   I used the following commands to create the issue:\r\n\r\n```python\r\n    pip install wheel\r\n    pip install pytest\r\n    git clone https://github.com/pythonnet/pythonnet.git\r\n    cd pythonnet\r\n    python setup.py bdist_wheel --xplat\r\n```\r\n\r\n-   Details of the error below:\r\n```python\r\nrunning bdist_wheel\r\nrunning build\r\nrunning build_ext\r\nMicrosoft (R) Build Engine version 15.3.409.57025 for .NET Core\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\n  Restore completed in 24.15 ms for /users/isys/icronyn/git/pythonnet/src/testing/Python.Test.15.csproj.\r\n  Restore completed in 24.16 ms for /users/isys/icronyn/git/pythonnet/src/console/Console.15.csproj.\r\n  Restore completed in 26.29 ms for /users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj.\r\n  Restore completed in 86.12 ms for /users/isys/icronyn/git/pythonnet/src/embed_tests/Python.EmbeddingTest.15.csproj.\r\nMicrosoft (R) Build Engine version 15.3.409.57025 for .NET Core\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nMicrosoft (R) Build Engine version 15.3.409.57025 for .NET Core\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\npyobject.cs(50,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\npythonexception.cs(64,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\ndelegatemanager.cs(204,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\npyscope.cs(534,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\n  Python.Runtime.15 -\u003e /users/isys/icronyn/git/pythonnet/src/runtime/bin/Python.Runtime.dll\r\npyobject.cs(50,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\ndelegatemanager.cs(204,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\npythonexception.cs(64,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\npyscope.cs(534,13): warning CS0162: Unreachable code detected [/users/isys/icronyn/git/pythonnet/src/runtime/Python.Runtime.15.csproj]\r\n  Python.Runtime.15 -\u003e /users/isys/icronyn/git/pythonnet/src/runtime/bin/netstandard2.0/Python.Runtime.dll\r\n  Console.15 -\u003e /users/isys/icronyn/git/pythonnet/src/console/bin/nPython.exe\r\n  Python.Test.15 -\u003e /users/isys/icronyn/git/pythonnet/src/testing/bin/Python.Test.dll\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.' [/users/isys/icronyn/git/pythonnet/src/embed_tests/Python.EmbeddingTest.15.csproj]\r\n  Python.EmbeddingTest.15 -\u003e /users/isys/icronyn/git/pythonnet/src/embed_tests/bin/Python.EmbeddingTest.dll\r\n  Python.Test.15 -\u003e /users/isys/icronyn/git/pythonnet/src/testing/bin/netstandard2.0/Python.Test.dll\r\n  Console.15 -\u003e /users/isys/icronyn/git/pythonnet/src/console/bin/netcoreapp2.0/nPython.dll\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.' [/users/isys/icronyn/git/pythonnet/src/embed_tests/Python.EmbeddingTest.15.csproj]\r\n  Python.EmbeddingTest.15 -\u003e /users/isys/icronyn/git/pythonnet/src/embed_tests/bin/netcoreapp2.0/Python.EmbeddingTest.dll\r\nMicrosoft (R) Build Engine version 15.3.409.57025 for .NET Core\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\n  Python.Runtime.15 -\u003e /users/isys/icronyn/git/pythonnet/src/runtime/bin/netstandard2.0/Python.Runtime.dll\r\n  Console.15 -\u003e /users/isys/icronyn/git/pythonnet/src/console/bin/netcoreapp2.0/nPython.dll\r\n  Console.15 -\u003e /users/isys/icronyn/git/pythonnet/build/lib.linux-x86_64-2.7/netcoreapp2.0/\r\n  Python.EmbeddingTest.15 -\u003e /users/isys/icronyn/git/pythonnet/src/embed_tests/bin/netcoreapp2.0/Python.EmbeddingTest.dll\r\n  Python.EmbeddingTest.15 -\u003e /users/isys/icronyn/git/pythonnet/src/embed_tests/bin/netcoreapp2.0_publish/\r\nPackage mono-2 was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `mono-2.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'mono-2' found\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 522, in \u003cmodule\u003e\r\n    zip_safe=False,\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/core.py\", line 151, in setup\r\n    dist.run_commands()\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"setup.py\", line 470, in run\r\n    return bdist_wheel.bdist_wheel.run(self)\r\n  File \"/users/isys/icronyn/pyenvs/pythonnet/lib/python2.7/site-packages/wheel-0.30.0-py2.7.egg/wheel/bdist_wheel.py\", line 204, in run\r\n    self.run_command('build')\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/cmd.py\", line 326, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/command/build.py\", line 127, in run\r\n    self.run_command(cmd_name)\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/cmd.py\", line 326, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/command/build_ext.py\", line 339, in run\r\n    self.build_extensions()\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/distutils/command/build_ext.py\", line 448, in build_extensions\r\n    self.build_extension(ext)\r\n  File \"setup.py\", line 270, in build_extension\r\n    self._build_monoclr()\r\n  File \"setup.py\", line 284, in _build_monoclr\r\n    mono_libs = _check_output(\"pkg-config --libs mono-2\", shell=True)\r\n  File \"setup.py\", line 98, in _check_output\r\n    output = subprocess.check_output(*args, **kwargs)\r\n  File \"/opt/man/releases/python-medusa/27-1/lib/python2.7/subprocess.py\", line 573, in check_output\r\n    raise CalledProcessError(retcode, cmd, output=output)\r\nsubprocess.CalledProcessError: Command 'pkg-config --libs mono-2' returned non-zero exit status 1\r\n```\r\n","author":{"url":"https://github.com/Cronan","@type":"Person","name":"Cronan"},"datePublished":"2017-11-14T09:53:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/571/pythonnet/issues/571"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:09533886-52d1-fb49-9836-dc3f17236b58
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8ACC:351792:C317FD:11328E1:69725A8E
html-safe-noncecd6e19dab11e87a2b45b3f31a39568b35e56edac1a6a3c140653857bdd015d69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUNDOjM1MTc5MjpDMzE3RkQ6MTEzMjhFMTo2OTcyNUE4RSIsInZpc2l0b3JfaWQiOiI1MzM3NzIxOTM2NDkyODU3NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccfda4217964ed967520a30640d420ec7694ece248c935ebb0714c7b2e39032e1
hovercard-subject-tagissue:273729059
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/571/issue_layout
twitter:imagehttps://opengraph.githubassets.com/448e2104e92341d3c5d41a85f6f53cf26ac23d76851e2ffb8b18ac1f3689b713/pythonnet/pythonnet/issues/571
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/448e2104e92341d3c5d41a85f6f53cf26ac23d76851e2ffb8b18ac1f3689b713/pythonnet/pythonnet/issues/571
og:image:altEnvironment Pythonnet version: 2.4.0 Python version: 2.7.5 Operating System: Red Hat Enterprise Linux Server release 7.3 (Maipo) DotNet version: 2.0.0 Details Error restoring packages while trying ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCronan
hostnamegithub.com
expected-hostnamegithub.com
Nonef5a890431069e39e7eb98c8c81da83629b10b51afe674db42bf829dbc0abba43
turbo-cache-controlno-preview
go-importgithub.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git
octolytics-dimension-user_id6050430
octolytics-dimension-user_loginpythonnet
octolytics-dimension-repository_id14748123
octolytics-dimension-repository_nwopythonnet/pythonnet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14748123
octolytics-dimension-repository_network_root_nwopythonnet/pythonnet
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26c781f26acd529068611189d77d95c57099561a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/issues/571#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fissues%2F571
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fissues%2F571
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pythonnet%2Fpythonnet
Reloadhttps://github.com/pythonnet/pythonnet/issues/571
Reloadhttps://github.com/pythonnet/pythonnet/issues/571
Reloadhttps://github.com/pythonnet/pythonnet/issues/571
pythonnet https://github.com/pythonnet
pythonnethttps://github.com/pythonnet/pythonnet
Notifications https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Fork 770 https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Star 5.4k https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Code https://github.com/pythonnet/pythonnet
Issues 155 https://github.com/pythonnet/pythonnet/issues
Pull requests 18 https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects 0 https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/pythonnet/pythonnet/security
Please reload this pagehttps://github.com/pythonnet/pythonnet/issues/571
Insights https://github.com/pythonnet/pythonnet/pulse
Code https://github.com/pythonnet/pythonnet
Issues https://github.com/pythonnet/pythonnet/issues
Pull requests https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security https://github.com/pythonnet/pythonnet/security
Insights https://github.com/pythonnet/pythonnet/pulse
New issuehttps://github.com/login?return_to=https://github.com/pythonnet/pythonnet/issues/571
New issuehttps://github.com/login?return_to=https://github.com/pythonnet/pythonnet/issues/571
Error building in Linuxhttps://github.com/pythonnet/pythonnet/issues/571#top
https://github.com/dmitriyse
https://github.com/Cronan
https://github.com/Cronan
Cronanhttps://github.com/Cronan
on Nov 14, 2017https://github.com/pythonnet/pythonnet/issues/571#issue-273729059
dmitriysehttps://github.com/dmitriyse
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.