Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
0

Issues Installing Buildstockbatch locally

asked 2023-06-20 17:56:18 -0500

Akasha's avatar

updated 2023-06-28 08:23:46 -0500

I am trying to install buildstockbatch to run and manage batch simulations of ResStock, by applying the buildstockbatch python library installation method (https://buildstockbatch.readthedocs.i...). To my understanding of the images below, it says that it has installed the library, but when I make an attempt to verify if so by buildstock_local -h, buildstock_local is not defined. Can someone please help me understand where I may have interpreted the installation instructions incorrectly or not have executed something properly?

>>import os
>>os.chdir("Downloads")
>>os.chdir(r"C:\Users\akasha.fobbs\Downloads\buildstockbatch-2023.05.0\buildstockbatch-2023.05.0")

>>pip install -e . --user
Successfully installed buildstockbatch
Note: you may need to restart the kernel to use updated packages.
WARNING: s3fs 0.4.2 does not provide the extra 'boto3'

>>buildstock_local -h

File "C:\Users\AKASHA~1.FOB\AppData\Local\Temp/ipykernel_32752/1927210971.py", line 1, in <module>
    buildstock_local -h

NameError: name 'buildstock_local' is not defined
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-22 10:09:46 -0500

nmerket's avatar

The buildstock_local is a command line interface to the program. It shouldn't be run from within a python terminal. It should be run from either bash (Mac and Linux) or cmd.exe, anaconda shell, or power shell (Windows).

edit flag offensive delete link more

Comments

I ran the installation script in the correct directory using Anaconda powershell and still reached the same issue where after applying "pip install -e . --user", the shell reported that it "Successfully installed buildstockbatch", but when I try to call on buildstockbatch using "buildstock_local -h" the command was "not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.". Thoughts?

Akasha's avatar Akasha  ( 2023-06-26 10:47:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2023-06-20 17:56:18 -0500

Seen: 96 times

Last updated: Jun 22 '23