Skip to content
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

Problem installing NWB Guide on Linux remote server #894

Closed
emosb opened this issue Jul 19, 2024 · 1 comment
Closed

Problem installing NWB Guide on Linux remote server #894

emosb opened this issue Jul 19, 2024 · 1 comment
Assignees

Comments

@emosb
Copy link

emosb commented Jul 19, 2024

Describe the issue

When trying to install python dependencies on our remote server, we ran into a disk quota error initially (as our home location on the remote server allows only 1GB of memory).

Steps to Reproduce

To create the environment in another location with more memory, we added a --prefix command (see command line prompt below):

conda create --file ./environments/environment-Linux.yml --prefix /projects/LEIFER/Emily/nwb-guide

but this generated the following error:

CondaValueError: could not parse 'name: nwb-guide' in: ./environments/environment-Linux.yml

Operating System

Linux

GUIDE Version

Linux branch

Code of Conduct

Yes

Did you confirm this issue was not already reported?

Yes

@CodyCBakerPhD CodyCBakerPhD self-assigned this Jul 19, 2024
@CodyCBakerPhD
Copy link
Collaborator

Thanks @emosb

For context, we discovered this during a joint meeting for the Leifer project

I think the solution would be to remove the hardcoded naming in our environment files, since that seems to be the incompatibility. The dev install instructions would need to be adjusted to call conda create --name instead of conda env create (which does not support --name or --prefix) with extra instructions for using --prefix instead of --name (which are not jointly compatible)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants