View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0002636 | Slicer4 | Core: Scripting (Wrapping, Python) | public | 2012-10-12 10:29 | 2017-06-07 23:27 | 
| Reporter | mgrauer | Assigned To | jcfr | ||
| Priority | normal | Severity | feature | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed | ||
| Product Version | Slicer 4.1.1 | ||||
| Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.2.0 | ||
| Summary | 0002636: package pyconfig.h with Slicer to enable pip installation | ||||
| Description | To install pip in my Slicer Python, I needed pyconfig.h at the following location SLICER_INSTALL_DIR/lib/Python/include/python2.6/pyconfig.h Could this file be packaged with the nightly binary builds? An alternative would be to include pip with the nightly binary, but perhaps installing other Python modules would need pyconfig.h.  | ||||
| Tags | No tags attached. | ||||
| 
	 Fixed in r21191  | 
|
| 
	 I tested this with nightly binary from 10-16-2012, it works great, thanks.  | 
|
| 
	 Fix committed to 1683-launcher-with-output branch.  | 
|
| 
	 Slicer: 1683-launcher-with-output 9bbd0780 2012-10-15 18:28:52 Details Diff | 
COMP: Install pyconfig.h required to install distribute in an installed tree It will fix the following error: error: invalid Python installation: unable to open /home/jchris/Projects/Slicer4-Superbuild-Debug/Slicer-build/_CPack_Packages/linux-amd64/TGZ/Slicer-4.1.0-2012-10-15-linux-amd64/lib/Python/include/python2.6/pyconfig.h (No such file or directory) Something went wrong during the installation. occurring when install distribute applying the following steps: 1) curl -O http://python-distribute.org/distribute_setup.py 2) ./Slicer --launch /usr/bin/python2.6 distribute_setup.py Note: A different error occurs when "distribute_setup.py" is executed directly using Slicer executable: Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 8, in <module> os.chdir(os.path.dirname(os.path.abspath(__file__))) NameError: name '__file__' is not defined This is tracked by issue 0002649 See http://www.na-mic.org/Bug/view.php?id=2636 Fixes 0002636 git-svn-id: http://svn.slicer.org/Slicer4/trunk@21191 3bd1e089-480b-0410-8dfb-8563597acbee  | 
||
| mod - CMake/SlicerBlockInstallPython.cmake | Diff File | ||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2012-10-12 10:29 | mgrauer | New Issue | |
| 2012-10-12 10:29 | mgrauer | Status | new => assigned | 
| 2012-10-12 10:29 | mgrauer | Assigned To | => jcfr | 
| 2012-10-12 11:05 | jcfr | Target Version | => Slicer 4.2.0 - coming release | 
| 2012-10-12 11:05 | jcfr | Relationship added | related to 0002637 | 
| 2012-10-15 14:08 | jcfr | Relationship added | related to 0002649 | 
| 2012-10-15 14:29 | jcfr | Note Added: 0006552 | |
| 2012-10-15 14:29 | jcfr | Status | assigned => resolved | 
| 2012-10-15 14:29 | jcfr | Fixed in Version | => Slicer 4.2.0 - coming release | 
| 2012-10-15 14:29 | jcfr | Resolution | open => fixed | 
| 2012-10-16 08:06 | mgrauer | Note Added: 0006565 | |
| 2012-10-16 08:06 | mgrauer | Status | resolved => closed | 
| 2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 1683-launcher-with-output 9bbd0780 | 
| 2017-06-07 23:27 | jcfr | Note Added: 0014549 |