pytorch-forecasting icon indicating copy to clipboard operation
pytorch-forecasting copied to clipboard

Installation fails due to Pyperclip dependency

Open mtomic123 opened this issue 3 years ago • 0 comments

  • PyTorch-Forecasting version: Latest
  • PyTorch version: Latest
  • Python version: 3.10.6
  • Operating System: Linux on Google Cloud (No GUI)

Expected behavior

Install PyTorch-Forecasting on a linux machine without GUI.

Actual behavior

I wanted to train a PyTorch-Forecasting model on Google Cloud linux environment with a GPU. When I tried installing PyTorch-Forecasting with Poetry package manager, I got an error as package Pyperclip failed to install which is a dependency for PyTorch-Forecasting. The issue is that Pyperclip requires a GUI and obviously Google Cloud does not have one, its solely a terminal to which a user opens an SSH connection.

I installed all prerequisites for Pyperclip as outlined in their Github page.

Code to reproduce the problem

poetry add pytorch-forecasting (or pip install pytorch-forecasting).

mtomic123 avatar Sep 16 '22 18:09 mtomic123