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
When running the command "uo install_python", I got an error about execution policies and missing python files. I changed my execution policy for scripts and got past that error, but I seem to still be stuck on the same kind of error where it's missing some files. Is there a way to check if the script execution is still not running properly vs if my build might be missing something?
$ uo install_python
Installing python and dependencies
Checking system.....
C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:222:in spawn': No such file or directory - C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/example_files/python_deps/python-3.10/python.exe -V (Errno::ENOENT) from C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:222:in popen_run'
from C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:103:in popen3' from C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:290:in capture3'
from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:1009:in check_python' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:1094:in install_python_dependencies'
from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:1294:in <module:CLI>' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:23:in module:URBANopt'
from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:22:in <top (required)>' from <internal:C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in require'
from internal:C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:85:in require' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/bin/uo:3:in <top (required)>'
from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/bin/uo:25:in load' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/bin/uo:25:in
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When running the command "uo install_python", I got an error about execution policies and missing python files. I changed my execution policy for scripts and got past that error, but I seem to still be stuck on the same kind of error where it's missing some files. Is there a way to check if the script execution is still not running properly vs if my build might be missing something?
$ uo install_python
Installing python and dependencies
'Checking system.....
C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:222:in
spawn': No such file or directory - C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/example_files/python_deps/python-3.10/python.exe -V (Errno::ENOENT) from C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:222:inpopen_run'from C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:103:in
popen3' from C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/open3.rb:290:incapture3'from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:1009:in
check_python' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:1094:ininstall_python_dependencies'from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:1294:in
<module:CLI>' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:23:inmodule:URBANopt'from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/lib/uo_cli.rb:22:in
<top (required)>' from <internal:C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:inrequire'from internal:C:/urbanopt-cli-1.1.0/ruby/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:85:in
require' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/gems/urbanopt-cli-1.1.0/bin/uo:3:in<top (required)>'from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/bin/uo:25:in
load' from C:/urbanopt-cli-1.1.0/gems/ruby/3.2.0/bin/uo:25:inBeta Was this translation helpful? Give feedback.
All reactions