SOLVED: numpy would not load: libgcc_s vs. libgfortran
Mikhail T.
mi+thun at aldan.algebra.com
Mon Jan 4 23:13:46 UTC 2016
On 04.01.2016 18:59, Olivier Duchateau wrote:
>> > I wonder, if this has something to do with my setting PYTHONPATH -- I
>> > need the not-yet-installed mediagoblin packages to be found in ${WRKSRC}
>> > by the tests. What is the proper way of to do this?
> You can add module (and submodules) with sys module.
>
> For example in mediagoblin/tests/tools.py before line beginning by 'from mediagoblin ...'
>
> import sys
>
> # Full path of mediagoblin
> sys.append('/spare/usr/ports/www/py-mediagoblin/work/mediagoblin-0.8.1/mediagoblin')
Ouch! I was hoping, I could set an environment variable and be done with
it -- something like PATH or LD_LIBRARY_PATH or TCLPATH...
-mi
More information about the freebsd-python
mailing list