Code Monkey home page Code Monkey logo

Comments (3)

aleksandra-kim avatar aleksandra-kim commented on September 26, 2024

Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Commit 9711597 added the ability to specify a custom data directory in the environment variable BRIGHTWAY2_DIR, e.g.:

> export BRIGHTWAY2_DIR=/my/custom/directory
> ipython
IPython 4.0.1 -- An enhanced Interactive Python.

In [1]: from brightway2 import *
Using environment variable BRIGHTWAY2_DIR for data directory:
/my/custom/directory

This directory must already exist.

See also the Revised documentation.

Does this make sense to you?

from brightway2-data.

aleksandra-kim avatar aleksandra-kim commented on September 26, 2024

Original comment by giuseppe cardellini (Bitbucket: cardosan, GitHub: cardosan).


yes definitely,
I also found a way to set permanently an environment variable locally for a conda virual env, so do not have to set BRIGHTWAY2_DIR any time I activate the enviro, see
https://groups.google.com/a/continuum.io/d/msg/anaconda/B0EqTdrKiMw/oMrg0HmtDwAJ

what about adding this to the documentation?

I can do it if you wish

from brightway2-data.

aleksandra-kim avatar aleksandra-kim commented on September 26, 2024

Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


OK, added need for more documentation here: https://bitbucket.org/cmutel/brightway2/issues/9/add-documentation-for-how-to-set

Would be great if you did a first crack at this!

from brightway2-data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.