Open astorfi opened 4 years ago
From looking at the Python Package documentation, there appears to be a small error in the setup.py file for Cortex where they use a dictionary {} instead of a list [].
To fix it I simply went into the setup.py file and changed:
dependency_links={'git+https://github.com/facebookresearch/visdom.git'},
To (the 'git+' is unnecessary so I dropped it):
dependency_links=['https://github.com/facebookresearch/visdom.git'],
Thank you, @DEUCE1957. Can you create a pull request? I think it may help many folks if the owner agrees with it and approves it.
wow, I have met that problem. Your answer is very very useful.Thank you very much
From looking at the Python Package documentation, there appears to be a small error in the setup.py file for Cortex where they use a dictionary {} instead of a list [].
To fix it I simply went into the setup.py file and changed:
dependency_links={'git+https://github.com/facebookresearch/visdom.git'},
To (the 'git+' is unnecessary so I dropped it):dependency_links=['https://github.com/facebookresearch/visdom.git'],
wow, I have met that problem. Your answer is very very useful.Thank you very much
Thank you, @DEUCE1957. Can you create a pull request? I think it may help many folks if the owner agrees with it and approves it.
i agree
From looking at the Python Package documentation, there appears to be a small error in the setup.py file for Cortex where they use a dictionary {} instead of a list [].
To fix it I simply went into the setup.py file and changed:
dependency_links={'git+https://github.com/facebookresearch/visdom.git'},
To (the 'git+' is unnecessary so I dropped it):dependency_links=['https://github.com/facebookresearch/visdom.git'],
I wonder if a pull request has been created for this one. I recently faced this exact same issue and the suggested change worked.
There is indeed a pull request: https://github.com/rdevon/cortex/pull/210
Hi, Thank you for your great effort to create this repository.
I cannot setup cortex. I will encounter the following error:
ERROR: Command errored out with exit status 1: command: /home/sina/.conda/envs/pytorch/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-0y42isk4/setup.py'"'"'; file='"'"'/tmp/pip-req-build-0y42isk4/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: /tmp/pip-req-build-0y42isk4/ Complete output (24 lines): Traceback (most recent call last): File "/home/sina/.conda/envs/pytorch/lib/python3.6/site-packages/setuptools/dist.py", line 220, in assert_string_list assert isinstance(value, (list, tuple)) AssertionError
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Any hint? Thank you