René's URL Explorer Experiment


Title: Libraries missing after setup.py install on OSX · Issue #392 · pythonnet/pythonnet · GitHub

Open Graph Title: Libraries missing after setup.py install on OSX · Issue #392 · pythonnet/pythonnet

X Title: Libraries missing after setup.py install on OSX · Issue #392 · pythonnet/pythonnet

Description: Environment Pythonnet version: v2.2.0-dev1-26-gb1cd3d1 (git describe --tags), branch mac-osx Python version: Python 3.5.2 :: Anaconda 4.3.0 (x86_64) Operating System: OSX El Capitan 10.11.6 Details Checked out the branch, and run python ...

Open Graph Description: Environment Pythonnet version: v2.2.0-dev1-26-gb1cd3d1 (git describe --tags), branch mac-osx Python version: Python 3.5.2 :: Anaconda 4.3.0 (x86_64) Operating System: OSX El Capitan 10.11.6 Details...

X Description: Environment Pythonnet version: v2.2.0-dev1-26-gb1cd3d1 (git describe --tags), branch mac-osx Python version: Python 3.5.2 :: Anaconda 4.3.0 (x86_64) Operating System: OSX El Capitan 10.11.6 Details...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Libraries missing after setup.py install on OSX","articleBody":"### Environment\r\n\r\n-   Pythonnet version: v2.2.0-dev1-26-gb1cd3d1 (`git describe --tags`), branch `mac-osx`\r\n-   Python version: Python 3.5.2 :: Anaconda 4.3.0 (x86_64)\r\n-   Operating System: OSX El Capitan 10.11.6\r\n\r\n### Details\r\n\r\n1. Checked out the branch, and run `python setup.py install`. This worked, after setting \r\n'PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/pkgconfig`\r\n(see dump below)\r\n\r\n2. Import fails\r\n```python \r\n(py35) vasilios@exumas:~/Temp/pythonnet [mac-osx | ✚1 …2]\r\n└─ $ python -c \"import clr\"\r\nThe assembly mscorlib.dll was not found or could not be loaded.\r\nIt should have been installed in the `/usr/local/anaconda/envs/py35/lib/mono/4.5/mscorlib.dll' directory.\r\n```\r\n\r\n3. Manually added a symbolic link to the respective mono folder, and trying import again\r\n```bash\r\nvasilios@exumas: /usr/local/anaconda/envs/py35/lib\r\n└─ $ ln -s /Library/Frameworks/Mono.framework/Versions/Current/lib/mono\r\n```\r\n\r\n```python\r\n(py35) vasilios@exumas:~/Temp/pythonnet [mac-osx | ✚1 …2]\r\n└─ $ python -c \"import clr\"\r\nTraceback (most recent call last):\r\n  File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\nImportError: System.TypeInitializationException: The type initializer for 'Mono.Unix.Native.Stdlib' threw an exception. ---\u003e System.DllNotFoundException: MonoPosixHelper\r\n  at (wrapper managed-to-native) Mono.Unix.Native.Stdlib:GetDefaultSignal ()\r\n  at Mono.Unix.Native.Stdlib..cctor () [0x00006] in \u003cebe430c916fe49219627b20fd4c89313\u003e:0 \r\n   --- End of inner exception stack trace ---\r\n  at Mono.Unix.UnixMarshal.AllocHeap (System.Int64 size) [0x00018] in \u003cebe430c916fe49219627b20fd4c89313\u003e:0 \r\n  at Mono.Unix.UnixMarshal.StringToHeap (System.String s, System.Int32 index, System.Int32 count, System.Text.Encoding encoding) [0x00061] in \u003cebe430c916fe49219627b20fd4c89313\u003e:0 \r\n  at Mono.Unix.UnixMarshal.StringToHeap (System.String s, System.Text.Encoding encoding) [0x00008] in \u003cebe430c916fe49219627b20fd4c89313\u003e:0 \r\n  at Python.Runtime.Utf32Marshaler.MarshalManagedToNative (System.Object obj) [0x00019] in \u003ce8f6e1fa95374383b3f862986f3e768c\u003e:0 \r\n  at (wrapper managed-to-native) Python.Runtime.Runtime:PyUnicode_FromKindAndString (int,string,int)\r\n  at Python.Runtime.Runtime.PyUnicode_FromUnicode (System.String s, System.Int32 size) [0x00000] in \u003ce8f6e1fa95374383b3f862986f3e768c\u003e:0 \r\n  at Python.Runtime.Runtime.PyUnicode_FromString (System.String s) [0x00007] in \u003ce8f6e1fa95374383b3f862986f3e768c\u003e:0 \r\n  at Python.Runtime.Runtime.Initialize () [0x0010f] in \u003ce8f6e1fa95374383b3f862986f3e768c\u003e:0 \r\n  at Python.Runtime.PythonEngine.Initialize () [0x00014] in \u003ce8f6e1fa95374383b3f862986f3e768c\u003e:0 \r\n  at Python.Runtime.PythonEngine.InitExt () [0x00000] in \u003ce8f6e1fa95374383b3f862986f3e768c\u003e:0 \r\n```\r\n\r\nStill looking at this issue, just though this may take you a step further. Any help would appreciated.\r\n\r\n\r\n#### Output of Step 1\r\n```python\r\n(py35) vasilios@exumas:~/Temp/pythonnet [mac-osx | ✔]\r\n└─ $ set | grep PKG\r\nPKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/pkgconfig\r\n\r\n(py35) vasilios@exumas:~/Temp/pythonnet [mac-osx | ✔]\r\n└─ $ python setup.py install\r\n/usr/local/anaconda/envs/py35/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/setuptools/dist.py:331: UserWarning: Normalizing '2.2.0-dev1' to '2.2.0.dev1'\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.6-x86_64/egg\r\nrunning install_lib\r\nrunning build_ext\r\nChecking for updates from https://www.nuget.org/api/v2/.\r\nCurrently running NuGet.exe 3.5.0.\r\nNuGet.exe is up to date.\r\nMSBuild auto-detection: using msbuild version '14.1' from '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/msbuild/14.1/bin/'.\r\nAll packages listed in packages.config are already installed.\r\nXBuild Engine Version 14.0\r\nMono, Version 4.6.2.0\r\nCopyright (C) 2005-2013 Various Mono authors\r\n/Users/vasilios/Temp/pythonnet/pythonnet.sln:  warning : The project configuration for project 'clrmodule' corresponding to the solution configuration 'ReleaseMono|x64' was not found.\r\nXBuild Engine Version 14.0\r\nMono, Version 4.6.2.0\r\nCopyright (C) 2005-2013 Various Mono authors\r\n\t\tConfiguration: ReleaseMono Platform: x64\r\nassemblymanager.cs(206,37): warning CS0168: The variable `e' is declared but never used\r\nclassderived.cs(143,26): warning CS0219: The variable `fb' is assigned but its value is never used\r\nclassderived.cs(832,17): warning CS0219: The variable `t' is assigned but its value is never used\r\nmethodbinder.cs(145,36): warning CS0219: The variable `typeArgs' is assigned but its value is never used\r\nmethodbinding.cs(114,25): warning CS0219: The variable `len' is assigned but its value is never used\r\nmethodbinding.cs(153,24): warning CS0219: The variable `superType' is assigned but its value is never used\r\nruntime.cs(2063,16): warning CS0472: The result of comparing value type `System.IntPtr' with null is always `true'\r\nconverter.cs(26,21): warning CS0414: The private field `Python.Runtime.Converter.decimalType' is assigned but its value is never used\r\n/Users/vasilios/Temp/pythonnet/pythonnet.sln:  warning : The project configuration for project 'clrmodule' corresponding to the solution configuration 'ReleaseMono|x64' was not found.\r\nConfiguration: ReleaseMono Platform: x64\r\nfieldtest.cs(21,17): warning CS0219: The variable `i' is assigned but its value is never used\r\nfieldtest.cs(22,17): warning CS0219: The variable `j' is assigned but its value is never used\r\narraytest.cs(45,23): warning CS0414: The private field `Python.Test.PrivateArrayTest.items' is assigned but its value is never used\r\nConfiguration: ReleaseMono Platform: x64\r\npyimport.cs(47,17): warning CS0219: The variable `r' is assigned but its value is never used\r\nConfiguration: Release Platform: x64\r\nassemblyinfo.cs(13,50): warning CS0618: `System.Security.Permissions.SecurityAction.RequestMinimum' is obsolete: `This requests should not be used'\r\npythonconsole.cs(18,28): warning CS0219: The variable `a' is assigned but its value is never used\r\ncreating build/bdist.macosx-10.6-x86_64\r\ncreating build/bdist.macosx-10.6-x86_64/egg\r\ncopying build/lib.macosx-10.6-x86_64-3.5/clr.cpython-35m-darwin.so -\u003e build/bdist.macosx-10.6-x86_64/egg\r\ncreating stub loader for clr.cpython-35m-darwin.so\r\nbyte-compiling build/bdist.macosx-10.6-x86_64/egg/clr.py to clr.cpython-35.pyc\r\ninstalling package data to build/bdist.macosx-10.6-x86_64/egg\r\nrunning install_data\r\ncopying /Users/vasilios/Temp/pythonnet/build/lib.macosx-10.6-x86_64-3.5/Python.Runtime.dll -\u003e build/bdist.macosx-10.6-x86_64/egg/../../../../../../../usr/local/anaconda/envs/py35/lib/python3.5/site-packages\r\ncreating build/bdist.macosx-10.6-x86_64/egg/EGG-INFO\r\ncopying pythonnet.egg-info/PKG-INFO -\u003e build/bdist.macosx-10.6-x86_64/egg/EGG-INFO\r\ncopying pythonnet.egg-info/SOURCES.txt -\u003e build/bdist.macosx-10.6-x86_64/egg/EGG-INFO\r\ncopying pythonnet.egg-info/dependency_links.txt -\u003e build/bdist.macosx-10.6-x86_64/egg/EGG-INFO\r\ncopying pythonnet.egg-info/not-zip-safe -\u003e build/bdist.macosx-10.6-x86_64/egg/EGG-INFO\r\ncopying pythonnet.egg-info/top_level.txt -\u003e build/bdist.macosx-10.6-x86_64/egg/EGG-INFO\r\nwriting build/bdist.macosx-10.6-x86_64/egg/EGG-INFO/native_libs.txt\r\ncreating 'dist/pythonnet-2.2.0.dev1-py3.5-macosx-10.6-x86_64.egg' and adding 'build/bdist.macosx-10.6-x86_64/egg' to it\r\nremoving 'build/bdist.macosx-10.6-x86_64/egg' (and everything under it)\r\nProcessing pythonnet-2.2.0.dev1-py3.5-macosx-10.6-x86_64.egg\r\nremoving '/usr/local/anaconda/envs/py35/lib/python3.5/site-packages/pythonnet-2.2.0.dev1-py3.5-macosx-10.6-x86_64.egg' (and everything under it)\r\ncreating /usr/local/anaconda/envs/py35/lib/python3.5/site-packages/pythonnet-2.2.0.dev1-py3.5-macosx-10.6-x86_64.egg\r\nExtracting pythonnet-2.2.0.dev1-py3.5-macosx-10.6-x86_64.egg to /usr/local/anaconda/envs/py35/lib/python3.5/site-packages\r\npythonnet 2.2.0.dev1 is already the active version in easy-install.pth\r\n\r\nInstalled /usr/local/anaconda/envs/py35/lib/python3.5/site-packages/pythonnet-2.2.0.dev1-py3.5-macosx-10.6-x86_64.egg\r\nProcessing dependencies for pythonnet==2.2.0.dev1\r\nFinished processing dependencies for pythonnet==2.2.0.dev1\r\n```\r\n\r\n","author":{"url":"https://github.com/fractus","@type":"Person","name":"fractus"},"datePublished":"2017-02-18T15:42:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/392/pythonnet/issues/392"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ac34e0c3-6385-93a6-2ed3-3ee78caf1ee4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBCBC:199F7E:2A86FAD:3BCE7FC:69710381
html-safe-noncef74931bde347deda52937cb2a525a9a8de263d95c17fa1edf97ddacf3ba3bc8e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0JDOjE5OUY3RToyQTg2RkFEOjNCQ0U3RkM6Njk3MTAzODEiLCJ2aXNpdG9yX2lkIjoiNTE0NTQ3ODc5MzU1OTg2ODI4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbf7b15542ad33f1ab4851b3ed96d18eb15760d9eadfa747434e6e2761ccfc7df
hovercard-subject-tagissue:208649187
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/392/issue_layout
twitter:imagehttps://opengraph.githubassets.com/936c00959e37315f037685d6a3ed902123249d1dbf719a8ac3991ed630696539/pythonnet/pythonnet/issues/392
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/936c00959e37315f037685d6a3ed902123249d1dbf719a8ac3991ed630696539/pythonnet/pythonnet/issues/392
og:image:altEnvironment Pythonnet version: v2.2.0-dev1-26-gb1cd3d1 (git describe --tags), branch mac-osx Python version: Python 3.5.2 :: Anaconda 4.3.0 (x86_64) Operating System: OSX El Capitan 10.11.6 Details...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefractus
hostnamegithub.com
expected-hostnamegithub.com
None2d17fd2bbd784dc91f3a78a2f1d2c41d9f4f8ce86136d09833e3cf21b2bde1b7
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
releasee053d923fb27a9d948f8cefae8ba3bf43f7b938f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/issues/392#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fissues%2F392
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%2F392
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/392
Reloadhttps://github.com/pythonnet/pythonnet/issues/392
Reloadhttps://github.com/pythonnet/pythonnet/issues/392
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/392
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/392
New issuehttps://github.com/login?return_to=https://github.com/pythonnet/pythonnet/issues/392
Libraries missing after setup.py install on OSXhttps://github.com/pythonnet/pythonnet/issues/392#top
documentationhttps://github.com/pythonnet/pythonnet/issues?q=state%3Aopen%20label%3A%22documentation%22
https://github.com/fractus
https://github.com/fractus
fractushttps://github.com/fractus
on Feb 18, 2017https://github.com/pythonnet/pythonnet/issues/392#issue-208649187
documentationhttps://github.com/pythonnet/pythonnet/issues?q=state%3Aopen%20label%3A%22documentation%22
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.