Closed ranok92 closed 6 years ago
Why did you decide to run python setup.py build_ext --inplace
instead of just pip install .
?
For some reason, it is trying to compile as C, not C++. When googling your error, I found people reporting it when they were using too old setuptools.
I'm afraid I cannot really help you any more as I'm not on Windows, but I'd definitely try installing it with pip.
PS: I edited your message to format it correctly by surrounding the output snippet by three backticks (````), please do so yourself in the future, your issue was completely unreadable!
I tried using pip install but the inline function round() in permutoheadral.cpp was throwing an error. So, I had to comment those lines and then run the setup. So, do you think I should try to update the setuptools or something?
On Sun, Apr 1, 2018 at 4:58 PM, Lucas Beyer notifications@github.com wrote:
Why did you decide to run python setup.py build_ext --inplace instead of just pip install .?
For some reason, it is trying to compile as C, not C++. When googling your error, I found people reporting it when they were using too old setuptools.
I'm afraid I cannot really help you any more as I'm not on Windows, but I'd definitely try installing it with pip.
PS: I edited your message to format it correctly by surrounding the output snippet by three backticks (````), please do so yourself in the future, your issue was completely unreadable!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucasb-eyer/pydensecrf/issues/60#issuecomment-377816275, or mute the thread https://github.com/notifications/unsubscribe-auth/Acm2uVP_R06jGdepiHO3FfQuL4Lqfo0_ks5tkT-AgaJpZM4TC1IW .
I have fixed the round
issue as it was already reported in #44, seems to be a windows problem. I have also updated the version on PyPI, so you can try installing the latest version (1.0r3) again as pip install pydensecrf
and see if it works.
If it still doesn't work, you can re-open this issue, although I will not have any new ideas to help you, I'm afraid!
Hey, so I tried to install in ubuntu 16.04 used pip, it installed properly, but when i use the import :
import pydensecrf.densecrf as dcrf
i get this error.
/home/abhisek/.local/lib/python2.7/site-packages/pydensecrf/densecrf.so: undefined symbol: PyFPE_jbuf
Any clue??
On Sun, Apr 1, 2018 at 6:54 PM, Lucas Beyer notifications@github.com wrote:
I have fixed the round issue as it was already reported in #44 https://github.com/lucasb-eyer/pydensecrf/issues/44, seems to be a windows problem. I have also updated the version on PyPI, so you can try installing the latest version again as pip install pydensecrf and see if it works.
If it still doesn't work, you can re-open this issue, although I will not have any new ideas to help you, I'm afraid!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucasb-eyer/pydensecrf/issues/60#issuecomment-377823149, or mute the thread https://github.com/notifications/unsubscribe-auth/Acm2uXzESobQDghZpKoscFI19HDATMwMks5tkVrAgaJpZM4TC1IW .
Hey, I restarted my computer and tried again it seem to work now. Strange.
On Sun, Apr 1, 2018 at 10:09 PM, Abhisek Konar konarabhisek@gmail.com wrote:
Hey, so I tried to install in ubuntu 16.04 used pip, it installed properly, but when i use the import :
import pydensecrf.densecrf as dcrf
i get this error.
/home/abhisek/.local/lib/python2.7/site-packages/pydensecrf/densecrf.so: undefined symbol: PyFPE_jbuf
Any clue??
On Sun, Apr 1, 2018 at 6:54 PM, Lucas Beyer notifications@github.com wrote:
I have fixed the round issue as it was already reported in #44 https://github.com/lucasb-eyer/pydensecrf/issues/44, seems to be a windows problem. I have also updated the version on PyPI, so you can try installing the latest version again as pip install pydensecrf and see if it works.
If it still doesn't work, you can re-open this issue, although I will not have any new ideas to help you, I'm afraid!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucasb-eyer/pydensecrf/issues/60#issuecomment-377823149, or mute the thread https://github.com/notifications/unsubscribe-auth/Acm2uXzESobQDghZpKoscFI19HDATMwMks5tkVrAgaJpZM4TC1IW .
Also, I was wondering if this has provisions to be extended to a 3D CRF?
On Mon, Apr 2, 2018 at 9:06 AM, Abhisek Konar konarabhisek@gmail.com wrote:
Hey, I restarted my computer and tried again it seem to work now. Strange.
On Sun, Apr 1, 2018 at 10:09 PM, Abhisek Konar konarabhisek@gmail.com wrote:
Hey, so I tried to install in ubuntu 16.04 used pip, it installed properly, but when i use the import :
import pydensecrf.densecrf as dcrf
i get this error.
/home/abhisek/.local/lib/python2.7/site-packages/pydensecrf/densecrf.so: undefined symbol: PyFPE_jbuf
Any clue??
On Sun, Apr 1, 2018 at 6:54 PM, Lucas Beyer notifications@github.com wrote:
I have fixed the round issue as it was already reported in #44 https://github.com/lucasb-eyer/pydensecrf/issues/44, seems to be a windows problem. I have also updated the version on PyPI, so you can try installing the latest version again as pip install pydensecrf and see if it works.
If it still doesn't work, you can re-open this issue, although I will not have any new ideas to help you, I'm afraid!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucasb-eyer/pydensecrf/issues/60#issuecomment-377823149, or mute the thread https://github.com/notifications/unsubscribe-auth/Acm2uXzESobQDghZpKoscFI19HDATMwMks5tkVrAgaJpZM4TC1IW .
Please keep issues on-topic and open a new issue for new problems.
Regarding your last question, please read the README file more carefully, there is a section about non-2D (and N-D) use.
Sorry. My bad. I will keep that in mind in future. Thanks for the info though. (Y)
On Mon, Apr 2, 2018 at 10:22 AM, Lucas Beyer notifications@github.com wrote:
Please keep issues on-topic and open a new issue for new problems.
Regarding your last question, please read the README file more carefully, there is a section about non-2D (and N-D) use.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lucasb-eyer/pydensecrf/issues/60#issuecomment-377939972, or mute the thread https://github.com/notifications/unsubscribe-auth/Acm2uZh1qd_9VY0VUTyEZQidPAdYpsuLks5tkjQxgaJpZM4TC1IW .
Hey, I tried to install the package. It installed properly. But when I tried to actually use it in python, this is what I am getting. Any idea why? I am using python 2.7. Also, I ran the setup.py file manually : python setup.py build_ext --inplace and I am using windows if that matters.
Thanks, Abhisek