-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup issue #59
Comments
thanks for the report :) this bug might be related |
alternatively you can call |
Thanks, Josua! I ran a complete fresh install as you recommended. But I
still got the same error:
…------------------ Console output:
186590cd8e57:patient-viz maggjin$ ./setup.sh --ccs --omop --psql
downloading
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-12.1.1.tar.gz?md5=901ecbf302f5de9fdb31d843290b7217
########################################################################
100.0%
New python executable in .venv/bin/python
Installing setuptools, pip...
Complete output from command /Users/maggjin/Docum...viz/.venv/bin/python
-c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/Users/maggjin/Documents/patient-viz/virtualenv-12.1.1/virtualenv_support/pip-6.1.1-py2.py3-none-any.whl/pip/__init__.py",
line 13, in <module>
File
"/Users/maggjin/Documents/patient-viz/virtualenv-12.1.1/virtualenv_support/pip-6.1.1-py2.py3-none-any.whl/pip/utils/__init__.py",
line 14, in <module>
File "/Users/maggjin/anaconda/lib/python2.7/zipfile.py", line 6, in
<module>
import io
File "/Users/maggjin/anaconda/lib/python2.7/io.py", line 51, in <module>
import _io
ImportError:
dlopen(/Users/maggjin/Documents/patient-viz/.venv/lib/python2.7/lib-dynload/_io.so,
2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
Referenced from:
/Users/maggjin/Documents/patient-viz/.venv/lib/python2.7/lib-dynload/_io.so
Expected in: flat namespace
in
/Users/maggjin/Documents/patient-viz/.venv/lib/python2.7/lib-dynload/_io.so
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
File "virtualenv-12.1.1/virtualenv.py", line 2352, in <module>
main()
File "virtualenv-12.1.1/virtualenv.py", line 825, in main
symlink=options.symlink)
File "virtualenv-12.1.1/virtualenv.py", line 993, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "virtualenv-12.1.1/virtualenv.py", line 961, in install_wheel
'PIP_NO_INDEX': '1'
File "virtualenv-12.1.1/virtualenv.py", line 903, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /Users/maggjin/Docum...viz/.venv/bin/python -c "import
sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error
code 1
setup failed!
Maggie
On Thu, May 18, 2017 at 11:39 AM, Josua Krause ***@***.***> wrote:
alternatively you can call setup.sh without using pip (that is: ./setup.sh
--ccs --omop --psql) and make sure all required packages
<https://github.com/nyuvis/patient-viz/blob/master/requirements.txt> are
installed via anaconda (before doing so clean the directory using ./setup.sh
--clean and make sure the folder .venv doesn't exist). It appears the
anaconda guys argue that with their python you don't need virtualenv so
they likely won't fix the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHvi_CC8d8h1tzWS20QQANiJDwJ1beQmks5r7JBSgaJpZM4NdQWX>
.
|
Oh my bad -- I forgot that |
Yes, I was able to install the project without complains. But when I tried
to run the example: ./start.sh -p json/AEF023C2029F05BC.json --start
there is no patient image loaded in the event panel, with error "Failed
loading file json/AEF023C2029F05BC.json". Is it because I don't have
patient's data? Are there any sample patient's data provided?
Thanks!
…On Fri, May 19, 2017 at 10:36 AM, Josua Krause ***@***.***> wrote:
Oh my bad -- I forgot that --psql needs pip as well.
Please make sure to have [psycopg2](https://github.com/psycopg/psycopg2)
installed if you want database access (that is the case with --omop) and
then run the command on a clean directory without --psql:
./setup.sh --ccs --omop
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHvi_N3fX0lZ9o3WgY2TVugxmflg8Hryks5r7dMdgaJpZM4NdQWX>
.
|
yes, you have to download and process the example data. you can follow instructions here. keep in mind, that since you don't use
This may take a while. Also, you don't have to clean up before executing the command. All those things will be created in addition to what you have already. |
I was trying to install this project on my Mac. I have Anaconda v2.7 distribution installed. I have all the required packages installed as well. Here is the console output that I got by running
./setup.sh --default-omop
:The text was updated successfully, but these errors were encountered: