-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue Description
Installation of the latest version of CityLearn (2.3.0) fails on macOS with Apple Silicon due to dependency conflicts and compilation errors, particularly with openstudio and scikit-learn dependencies.
Expected Behavior
The installation of CityLearn 2.3.0 should complete successfully with all dependencies properly installed, allowing the package to be imported and used in Python scripts.
Actual Behavior
- Cannot find a compatible version of openstudio<=3.3.0 for the current system architecture
- Compilation errors with scikit-learn 1.0.2 related to OpenMP support
- Circular dependency issues between doe-xstock and openstudio
Steps to Reproduce
Error Messages
ERROR: Could not find a version that satisfies the requirement openstudio<=3.3.0 (from versions: 3.5.0, 3.5.1, 3.6.0, 3.6.1, 3.7.0rc1, 3.7.0, 3.8.0, 3.9.0)
ERROR: No matching distribution found for openstudio<=3.3.0
Environment
- CityLearn version: Attempted to install 2.3.0 (latest)
- Dataset name/link: N/A (installation issue)
- Operating System: macOS (Apple Silicon/ARM64)
- Python version: 3.11
Possible Solution
If you have any ideas for how to fix the issue, please describe them here.
Additional Notes
- The issue appears to be specific to Apple Silicon Macs, which require ARM64-compatible binaries
- CityLearn 2.1.1 can be successfully installed using the --no-deps approach and works for basic functionality
- The OpenMP compilation error is a common issue on macOS systems and not specific to CityLearn
- Future versions of CityLearn should consider providing more flexible dependency specifications to accommodate different system architectures
- I am not that good when it comes to these installation issues, so would really help the guidance and working fix
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working