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

Server Setup Issues #77

Open
rbrox opened this issue Oct 26, 2024 · 0 comments
Open

Server Setup Issues #77

rbrox opened this issue Oct 26, 2024 · 0 comments

Comments

@rbrox
Copy link

rbrox commented Oct 26, 2024

Describe the bug

While setting up the TensorMap backend using both Docker and a virtual environment (venv) as described in the README, I encountered errors at different stages that prevented successful installation.

In the Docker setup, the poetry install command fails. Similarly, when attempting a manual setup in a virtual environment, the installation of h5py fails due to backend dependencies.

To Reproduce

  1. Clone the repository and navigate to the tensormap-server directory.
  2. For Docker setup:
    • Run the following command:
      docker compose up
    • The error occurs at step 6/8 during poetry install.
  3. For venv setup:
    • Create a virtual environment and activate it:
      python3 -m venv venv
      source venv/bin/activate
    • Install dependencies:
      pip install -r requirements.txt
    • The error occurs while installing h5py~=3.1.0 due to a failure in installing backend dependencies.

Expected behavior

Both the Docker and venv installations should complete successfully, allowing me to run the Flask application as per the project setup.

Screenshots
Docker Error:
Screenshot 2024-10-26 at 11 09 26 AM

venv Error:
Screenshot 2024-10-26 at 11 07 08 AM

Desktop (please complete the following information):

  • OS: macOS 14.6.1 (23G93)
  • Python Version: Python 3.13.0

Additional context

The issues may stem from compatibility between specific packages and Python 3.13.0.

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

1 participant