Error installing Urbanopt 0.14.0 #498
Unanswered
crossingchen
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @crossingchen, Here is one thing to try: in your project gemfile, above the line that references openstudio-common-measures, add this line: Then you can rerun bundle install and hopefully that will fix the issue. Let me know how it goes and we can troubleshoot further if needed! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I installed Urbanopt 0.14.0 on Mac using the installer downloaded from http://urbanopt-cli-installers.s3-website-us-west-2.amazonaws.com/ and followed the instructions.
Then I was able to create a project, generate the scenario files. But when I tried run the project using
uo run --feature <path/to/GHP/featurefile.json> --scenario <path/to/SCENARIOFILE.csv>
, I got an error saying some gem is missing and I need to runbundle install
to install the missing gems.When I ran
bundle install
, I got an error,rchardet-1.9.0 requires ruby version >= 3.0.0, which is incompatible with the current version, ruby 2.7.2p137
.It seems that rchardet-1.9.0 is not explicitly listed in Gemfile but is requested by the following block:
if allow_local && File.exist?('../openstudio-common-measures-gem')
gem 'openstudio-common-measures', path: '../../openstudio-common-measures-gem'
elsif allow_local
gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop'
else
gem 'openstudio-common-measures', '~> 0.9.0'
end
Looks like this version of Urbanopt using ruby v2.7, but openstudio / rchardet-1.9.0 asks for > v3.0. How can I reconcile this?
Beta Was this translation helpful? Give feedback.
All reactions