You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is expected that the install python command installs first python and urbanopt dependencies.
Actual behavior
The command downloads the miniconda distribution correctly, but does not manage to install python in the folder, therefore when it tries to install the python libraries, it fails because doesn't find the python.exe.
When uo command is ready and usable, try to install python deps with uo install_python
You will find an error like this one:
Checking system.....
Python paths have not yet been initialized with URBANopt.
Installing Python 3.10...
Installing ThermalNetwork 0.3.3
C:/Users/rciria/Ruby32/lib/ruby/3.2.0/open3.rb:222:in `spawn': No such file or directory - C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/example_files/python_deps/python-3.10/Scripts/pip.exe install ThermalNetwork==0.3.3 (Errno::ENOENT)
from C:/Users/rciria/Ruby32/lib/ruby/3.2.0/open3.rb:222:in `popen_run'
from C:/Users/rciria/Ruby32/lib/ruby/3.2.0/open3.rb:103:in `popen3'
from C:/Users/rciria/Ruby32/lib/ruby/3.2.0/open3.rb:290:in `capture3'
from C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/lib/uo_cli.rb:1156:in `block in install_python_dependencies'
from C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/lib/uo_cli.rb:1144:in `each'
from C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/lib/uo_cli.rb:1144:in `install_python_dependencies'
from C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/lib/uo_cli.rb:1256:in `<module:CLI>'
from C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/lib/uo_cli.rb:23:in `<module:URBANopt>'
from C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/lib/uo_cli.rb:22:in `<top (required)>'
from <internal:C:/Users/rciria/Ruby32/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:C:/Users/rciria/Ruby32/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/Users/rciria/Ruby32/lib/ruby/gems/3.2.0/gems/urbanopt-cli-1.0.1/bin/uo:3:in `<top (required)>'
from C:/Users/rciria/Ruby32/bin/uo:32:in `load'
from C:/Users/rciria/Ruby32/bin/uo:32:in `<main>'
If you go to the folder ./example_files/python_deps/python-3.10/ you will find a conda installation but no Scripts folder, so no python installation can be found.
Version
URBANopt: 1.0.1
The text was updated successfully, but these errors were encountered:
Expected behavior
It is expected that the install python command installs first python and urbanopt dependencies.
Actual behavior
The command downloads the miniconda distribution correctly, but does not manage to install python in the folder, therefore when it tries to install the python libraries, it fails because doesn't find the python.exe.
To Reproduce
Steps to reproduce the behavior:
./example_files/python_deps/python-3.10/
you will find a conda installation but no Scripts folder, so no python installation can be found.Version
URBANopt:
1.0.1
The text was updated successfully, but these errors were encountered: