Bug #651
closed
MATLABPATH error when using setup.py install
Added by Scott Stagg over 14 years ago.
Updated over 14 years ago.
Description
When you use setup.py install to install appion, you still need to set the MATLABPATH environment variable to point to the appion ace directory. I don't think that it is currently in the documentation for users to update their rc files to include MATLABPATH.
- Category set to Documentation
- Status changed from New to Assigned
- Assignee set to Scott Stagg
- Target version set to Appion/Leginon 2.0.1
Scott, would you mind adding a quick note about this in the wiki documentation?
I tried and failed to figure out which files to edit. I think the note should go after installation, but when I tried to edit that, this is what I see:
include(appion:Install Appion Packages Shared
How does one edit that file? Also, do the docs say something somewhere about making an alias to start.py for leginon? How do y'all do it there? It may make sense to have the install scripts copy or link start.py to usr/local/bin just like you do with the appion executables.
I'm not sure about start.py for leginon. Jim, any comments?
Here is a link to the wiki page to edit: http://emg.nysbc.org/projects/appion/wiki/Install_Appion_Packages_Shared
To find included pages, look to the sidebar link for "Index by title". This gives a list of all the wiki pages in the project. In cases that a page applies to both leginon and appion, we put the information on a single wiki page then use the include macro to display it in a seperate wiki page that preserves the specific project navigation. We may do another iteration of the documentation that will hopefully simplify the relationship between appion and leginon and make organization easier.
- Status changed from Assigned to In Code Review
- Assignee changed from Scott Stagg to Amber Herold
- Status changed from In Code Review to Assigned
- Assignee changed from Amber Herold to Jim Pulokas
Looks good Scott, thanks.
Jim, I'm assigning to you to address Scott's comment on start.py in leginon.
- Status changed from Assigned to In Test
- Assignee changed from Jim Pulokas to Anchi Cheng
For a standard Leginon installation, it is not necessary to create an alias or modify the search path. A script called start-leginon.py is installed in /usr/bin, or whatever script path you specify to setup.py install (r3373). You may be recalling how we often set up aliases or path modifications for our local sandbox versions of Leginon. This ensures that the correct sandbox gets used instead of the officially installed version. Also, on Windows you need to create a shortcut to start.py if you want to launch it from the desktop or start menu.
Anchi can confirm this is all correct.
- Status changed from In Test to Closed
- Status changed from Closed to In Test
- Assignee changed from Anchi Cheng to Scott Stagg
Scott,
Reopen just so that you see Jim's comment. Close it after you've read it.
- Status changed from In Test to Closed
Yep, start-leginon.py is in my path. Thanks!
Also available in: Atom
PDF