-
Notifications
You must be signed in to change notification settings - Fork 752
latest master cannot be installed with pip+git #555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have the same problem
|
I described a temporary workaround here:
https://github.com/pythonnet/pythonnet/wiki/Installation
…On Wed, Oct 18, 2017, 3:02 AM vkh ***@***.***> wrote:
I have the same problem
MAC:~ vh$ USE_OSX_FRAMEWORKS=0 ARCHFLAGS="-arch x86_64" pip install git+https://github.com/pythonnet/pythonnet
Collecting git+https://github.com/pythonnet/pythonnet
Cloning https://github.com/pythonnet/pythonnet to /private/var/folders/rr/czhl9xgd6r570kqjb_4p6lnc0000gn/T/pip-k0mwha74-build
Installing collected packages: pythonnet
Running setup.py install for pythonnet ... error
Complete output from command /Users/vh/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/rr/czhl9xgd6r570kqjb_4p6lnc0000gn/T/pip-k0mwha74-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/rr/czhl9xgd6r570kqjb_4p6lnc0000gn/T/pip-rdu2fvtq-record/install-record.txt --single-version-externally-managed --compile:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
----------------------------------------
Command "/Users/vh/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/rr/czhl9xgd6r570kqjb_4p6lnc0000gn/T/pip-k0mwha74-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/rr/czhl9xgd6r570kqjb_4p6lnc0000gn/T/pip-rdu2fvtq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/rr/czhl9xgd6r570kqjb_4p6lnc0000gn/T/pip-k0mwha74-build/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#555 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHgZ5Q6sVX44zYA2Tx4uUF_iNsKhIxLcks5stbChgaJpZM4Pytvi>
.
|
hi, thanks.
this gives
PS: I'm trying this on OSX |
Remove |
Related, thanks to @dmitriyse and @hjaekel for the deprecated |
On OSX for the following worked.
Thank you @denfromufa |
Pitching in here, I've been trying to get pythonnet installed for a few days on macOS 10.13.1 with no luck. I've tried all of the work-arounds and solutions which I've found between here and #465. Obvious differences between setups like @vkhombal's and mine is that I'm using MacPorts instead of Homebrew, and that since the From above, Any advice is appreciated. I've starred the repo and will update if I figure anything out. |
@nsbruce more detailed error would be really helpful, but my understanding is that macports is a lot less used than homebrew and so we cannot support yet another scenario. Also please provide versions for all dependencies. |
Dependency versions:
When I run
|
I've found mono-2.pc at I tried to link it into
But I see the same error,
I thought that Something funky is going on. The above doesn't make sense to me. I'll update this comment as I go. I'm trying to force mono-2 into the path but there must be an issue with the order of my PATH variable? Similar issue Currently, for me:
|
@nsbruce please downgrade to mono 5.2, there is a bug with mono 5.4, it fails few tests. |
@denfromufa same error at 5.2.0.224 |
@nsbruce like I mentioned, macports is not supported scenario for pythonnet and mono. please move your comments from this issue to a new issue with title about macports and osx. someone may have done this before: https://mail.python.org/pipermail/pythondotnet/2013-June/001383.html |
Side effect of this
Python.Runtime.dll and clr.pyd are left in place. |
I'm using Python 3.8.1 with pip 20.0.2 on Windows 10, and when I do a "pip install pythonnet", I still get --single-version-externally-managed not recognized. |
Running Python 3.8.5 with Mono 6.10.0 on OSX Catalina, as able to get pip install pythonnet by setting a PKG_CONFIG_PATH as below. Hope this helps!
|
This path does not seem to exist on Linux systems. Is there an alternative? |
The text was updated successfully, but these errors were encountered: