I am just trying to install Girder with virtualenv. Have you seen this error message?
(girder_env) sulsj@ssul-dm ~$ pip install girder
Collecting girder
Using cached https://files.pythonhosted.org/packages/1e/47/0ccb4923851fe66c106a114af4033a9cc4b81f10ea5df15169b0e24df256/girder-2.5.0.tar.gz
Complete output from command python setup.py egg_info:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘python_requires’
warnings.warn(msg)
error in girder setup command: ‘install_requires’ must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in funcsigs ; python_version < ‘3’ at ; python_version < ‘3’
----------------------------------------
Command “python setup.py egg_info” failed with error code 1 in /private/var/folders/8b/khv7605j59s7cdm9_xfm_jf00000gp/T/pip-install-6_CNhk/girder/
It’s possible --ignore-installed would force it to install setuptools in the virtualenv.
It’s probably best to avoid using the system python. On a Mac, I usually install an external python using homebrew (brew install python). That should install the latest version of setuptools in an isolated python environment for you.
(girder_env) sulsj@ssul-dm ~$ pip install girder
Collecting girder
Using cached https://files.pythonhosted.org/packages/1e/47/0ccb4923851fe66c106a114af4033a9cc4b81f10ea5df15169b0e24df256/girder-2.5.0.tar.gz
Complete output from command python setup.py egg_info:
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘python_requires’
warnings.warn(msg)
error in girder setup command: ‘install_requires’ must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in funcsigs ; python_version < ‘3’ at ; python_version < ‘3’
----------------------------------------
Command “python setup.py egg_info” failed with error code 1 in /private/var/folders/8b/khv7605j59s7cdm9_xfm_jf00000gp/T/pip-install-mi0ggQ/girder/
There is no older version of Girder installed. Again I am using conda and executed “pip install girder” to install it.
And I’ve tested with “girder-server” and found this.
(qaqc2) sulsj@ssul-dm ~/work/git-repos/girder$ girder-server serve
Traceback (most recent call last):
File “/Users/sulsj/miniconda2/envs/qaqc2/bin/girder-server”, line 7, in
from girder.main import main
ImportError: cannot import name main
It definitely looks like you have scripts left over from girder 2.4. I just tried installing with miniconda3, and it worked fine. I wonder if you might have an installation of girder from conda-forge. Could you try looking at conda list to see if girder 2.4 is listed? You might also need to make an new virtualenv if the old version cannot be cleaned up successfully.
With a clean env, it works like a charm. Thanks for the help.
One more question. Is there any use case to use Girder for bridging geographically remote file systems or HPSSs? Have you seen any 3rd party plugin related with that?
One more question. Is there any use case to use Girder for bridging geographically remote file systems or HPSSs? Have you seen any 3rd party plugin related with that?
I think we’ve done some experimenting with Globus integration, but I don’t know what the status is. @Zach_Mullen can probably tell you more.
A few of us on the Girder team are talking with some Globus developers tomorrow to try and see what further integrations we can do between the technologies. If we decide on anything to do then, I will update this thread.