Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Compile error on OS X #151

Open
timkofu opened this issue Apr 1, 2019 · 6 comments
Open

Compile error on OS X #151

timkofu opened this issue Apr 1, 2019 · 6 comments

Comments

@timkofu
Copy link

timkofu commented Apr 1, 2019

pip install line_profiler does not compile on OS X.

Here is the log http://sprunge.us/Uxh1G8

@hylarucoder
Copy link

same +1

@hylarucoder
Copy link

@timkofu

I tried this and solved

pip install Cython git+https://github.com/rkern/line_profiler.git

@timkofu
Copy link
Author

timkofu commented Apr 10, 2019

@twocucao worked for me too. So the fix is in master df8dfc8

Will leave the issue open in case @caethan wants to close it after making a release with the bugfix.

@hylarucoder
Copy link

maybe its a Cython Problem? @timkofu

@timkofu
Copy link
Author

timkofu commented Apr 10, 2019

@twocucao I'm basing my conclusion on; in both cases the cython version is 0.29.6, but the line_profiler on pypi is 2.1.2, and the one installed directly from the github repo is actually older at 2.1.1
So being that line_profiler has the new version with the error and the older one without, that's where the problem is.

@hylarucoder
Copy link

@timkofu

I guess maybe there is something different from installation from githuburl or pypi. because

pip3 install line_profiler==2.1.1

not working too

Actually, I use Poetry to build my package, when i install from github url, it's fine. But When I install my built package which would install line_profiler again , the error comes again.

And I decide not to build line_profiler into mypackage.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants