Hello,
I am just getting started with developing Galaxy.
I cloned the repository onto my local computer - MacOS running High Sierra 10.13.6.
Next, I created a virtual environment, activated it, and then tried the run.sh script.
A lot of things were downloaded and installed, but then the script died with this error:
Requirement already satisfied: setuptools in ./.venv/lib/python2.7/site-packages (from sphinx==1.7.2->-r ./lib/galaxy/dependencies/dev-requirements.txt (line 32)) (41.0.1)
Unsetting $PYTHONPATH
Activating virtualenv at .venv
galaxy.tools.deps DEBUG 2019-05-30 17:32:26,193 Unable to find config file './dependency_resolvers_conf.xml'
executing: .venv/bin/uwsgi --module 'galaxy.webapps.galaxy.buildapp:uwsgi_app()' --virtualenv /Users/aloraine/galaxy/.venv --pythonpath lib --threads 4 --buffer-size 16384 --http localhost:8080 --static-map /static/style=/Users/aloraine/galaxy/static/style/blue --static-map /static=/Users/aloraine/galaxy/static --die-on-term --hook-master-start 'unix_signal:2 gracefully_kill_them_all' --hook-master-start 'unix_signal:15 gracefully_kill_them_all' --enable-threads --py-call-osafterfork
Traceback (most recent call last):
File ".venv/bin/uwsgi", line 6, in <module>
from uwsgi import run
ImportError: dlopen(/Users/aloraine/galaxy/.venv/lib/python2.7/site-packages/uwsgi.so, 2): Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /Users/aloraine/galaxy/.venv/lib/python2.7/site-packages/uwsgi.so
Reason: image not found
The python I am running in my virtual environment (called âgalaxyâ):
(galaxy) $ python
Python 2.7.10 (default, Oct 6 2017, 22:29:07)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
Type âhelpâ, âcopyrightâ, âcreditsâ or âlicenseâ for more information.
I used pip to install wsgi in my environment, and it seems to have worked:
(galaxy) $ pip install uwsgi
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 wonât be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: uwsgi in /Users/aloraine/.virtualenvs/galaxy/lib/python2.7/site-packages (2.0.18)
Tips on what to do next would be great!
Many thanks,
Ann Loraine