rl-institut / RAMP

Repository of the open-source RAMP model for generating multi-energy loads profiles
European Union Public License 1.2
3 stars 0 forks source link

[Bug] Installation and Setup no longer working #31

Open GregoryIreland opened 1 year ago

GregoryIreland commented 1 year ago

There seem to be breaking changes to the setup process.

Tried using conda and pip instructions as well as setup.py method

The latest setup.py file itself seems to have breaking changes? (examples below)

OS: Windows 11 Branch: feature/vectorize_only_apps (it may affect all others - have not tested)

Process and commands executed:

Conda + pip installation attempt:

Created new conda environment for ramp using: conda create -n ramp python=3.8

Activated environment with: conda activate ramp

Attempted to install using pip with: pip install rampdemand

Gives the following errors:

image

Attempt using direct setup.py method:

Downloaded and unzipped source code to known folder and use command: python setup.py

Gives the following consistent error as above:

image

TEMPORARY FIX

If in setup.py I comment out BOTH lines 10 AND 16 as below:

... #long_description = open("README.rst").read(), ... #python_requires = ">.3.6.0", ...

Then setup works using pip install -e .

ALSO: pip install tdqm and pip install configuration were required for ramp to function. Perhaps add to the requirements list.

The normal python setup.py still fails with the following:

image