Opened 11 years ago
Last modified 5 years ago
#41750 new defect
py-mahotas and py-pymorph not available after install
Reported by: | j_molineux@… | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | py-mohotas py-pymorph |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I have tried to install the py-mahotas and py-pymorph packages. Everything appears to go OK...following returned
---> Computing dependencies for py-mahotas ---> Cleaning py-mahotas ---> Scanning binaries for linking errors: 100.0% ---> No broken files found.
However, when I go to import either module they can't be found. When I list available modules neither is listed. All the other modules I have installed work properly. I am running Mavericks.
Change History (4)
comment:1 follow-up: 2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to stromnov@… |
comment:2 follow-up: 3 Changed 11 years ago by j_molineux@…
I installed the py27-mahotas module. Looking at the installed ports it shows as installed and active. However, when I start python (27) and look at available modules it still doesn't show. Am I missing a step?
comment:3 Changed 11 years ago by stromnov (Andrey Stromnov)
Replying to j_molineux@…:
I installed the py27-mahotas module. Looking at the installed ports it shows as installed and active. However, when I start python (27) and look at available modules it still doesn't show. Am I missing a step?
Please, provide output of those commands:
port contents py27-mahotas python2.7 -c 'import sys, pprint; pprint.pprint(sys.path); import mahotas'
The output you showed above shows that those ports were already installed before you ran the commands.
Modules whose names begin with "py-" are stubs; they don't actually install anything. Each of our Python modules is available for several different versions of Python. Install the one for the specific version of Python you want. For example, if you want to use py-mahotas with MacPorts python27, install py27-mahotas.
py-pymorph appears to be available only for MacPorts python26, so you'll have to install py26-pymorph and use python26. I don't know if this is due to an oversight or due to an incompatibility with other Python versions.