[FIBERALLOC-6] Installation problem in a Python environment with anaconda Created: 15/Sep/17 Updated: 20/Mar/19 Resolved: 20/Mar/19 |
|
| Status: | Done |
| Project: | Target to fiber allocation and configuration |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | Kiyoto Yabe | Assignee: | Martin Reinecke |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Problem: Environment in test:
|
| Comments |
| Comment by cloomis [ 15/Sep/17 ] |
|
master? |
| Comment by Kiyoto Yabe [ 15/Sep/17 ] |
|
Yes, master branch. |
| Comment by cloomis [ 15/Sep/17 ] |
|
I am not sure that I have the correct answer, but I have one which works. Basically, python-config --ldflags does not provide the -L library path, and so the system's python framework is used instead of the anaconda python library. On OSX, otool -L pyETS.so shows the problem. On Linux, ldd pyETS.so would. Add -L$(shell $(PYTHON_CONFIG) --prefix)/lib to your PYFLAGS to get the right python library linked into your pyETS.so |
| Comment by Martin Reinecke [ 15/Sep/17 ] |
|
Thanks Craig! Craig, if you can spare the time, could you please have a look at the branch "setuptools-test"? I'm trying to write a portable setup.py there, which should in principle make the package installable via a simple pip install --user git+https://github.com/Subaru-PFS/ets_fiber_assigner.git@setuptools-test Do you think that this approach will be more promising in the longer term? |
| Comment by Kiyoto Yabe [ 15/Sep/17 ] |
|
I confirmed that it worked. Thank you. |
| Comment by Kiyoto Yabe [ 21/Sep/17 ] |
|
I also confirmed that it worked in Tomomi's environment. Now we are ready for the announcement. |
| Comment by Martin Reinecke [ 22/Sep/17 ] |
|
Fine with me! What is the procedure? |
| Comment by Kiyoto Yabe [ 25/Sep/17 ] |
|
I will send an e-mail to the collaboration this week. Martin Reinecke Could you add a release tag at the current point, please? |
| Comment by Martin Reinecke [ 01/Oct/17 ] |
|
I have tagged the code on Github with the release tag "v1.0". Please note that this does not yet contain the proposed fix for |
| Comment by Martin Reinecke [ 12/Mar/18 ] |
|
Which installation procedure did you try? If the Makefile-based approach described in README.md doesn't work, there is a chance that doing a python setup.py might work, or even
pip install --user git+https://github.com/Subaru-PFS/ets_fiber_assigner.git
(For this last command, you don't even need to clone the repository first.) If the problem persists, we will need the help of someone with access to MacOS Sierra, which I unfortunately do not have. |
| Comment by Martin Reinecke [ 20/Apr/18 ] |
|
Still waiting for additional information. Is there a way to set the Task to a "Waiting" status?
|