Comments (9)
@rickecon Thanks for this detailed report and for drilling down on the source of the errors.
I'm getting the same errors your report when I try to create the environment on my machine (running Mac OS 11.5.2). Note that in PR #22, the GH Actions were able to build the environment without problem on Linux and Windows.
from og-uk.
Per @nikhilwoodruff's suggestion, I set python<=3.7.11
and my environment built and I can create the oguk
package and run the model.
from og-uk.
I commented out the - git+https://github.com/PSLmodels/openfisca-uk
line in environment.py
, cleared any old oguk-dev
conda environment material, and created the new oguk-dev
environment. Everything went well and smoothly, although it took 26 minutes (2 minutes for the initial environment dependencies and 24 minutes for the pip install of OG-Core
). But it worked. So the conflict is definitely being generated by the pip install of openfisca-uk
.
@jdebacker @nikhilwoodruff @MaxGhenis @jpycroft
from og-uk.
- We need to find out why this is not working on Mac OSX.
- We need to confirm that the environment can build on a Windows and/or Linux machine (e.g., like @jpycroft's or @nikhilwoodruff's)
- Should we add OSX to the
matrix.os
in the OG-UK GH Action?
from og-uk.
@rickecon I should be able to test this later, but at first glance it looks like the (or at least one) issue is that the Python version is 3.9 - currently we're only building OpenFisca-UK on 3.7.7, so might need to add a <= condition in the version requirement?
from og-uk.
@rickecon asks:
Should we add OSX to the matrix.os in the OG-UK GH Action?
Unfortunately, adding OS X to the testing matrix isn't straight-forward (see this Tax-Calculator PR for discussion and links to more info).
from og-uk.
@rickecon Can you try again using the main
branch now that I've merged PR #29?
from og-uk.
@jdebacker @rickecon @nikhilwoodruff
Hi Jason,
I’ve been trying out the new oguk-dev environment and (drum roll please … ) it installs! The conda activate oguk-dev worked fine. And no errors with the “pip install -e .” I've attached the conda output below.
Then I thought I’d try to run the example “python run_oguk.py” in the “examples/” folder. This generated over 5000 lines of errors. Many errors reference matplotlib (I checked that my matplotlib is up-to-date, of course). I've also attached that output below.
Best, Jon
Conda_output-oguk-dev_08sep2021.txt
Conda_output-run_oguk_08sep2021.txt
from og-uk.
@jpycroft Thank you for the report!
I'll close this issue (since you were able install the environment). And I'll take a look at the tracebacks from your trying to run the example. I'll also open up an issue to discuss that.
from og-uk.
Related Issues (20)
- Change directory and environment names HOT 1
- OG-UK set up HOT 27
- Unable to solve the steady-state equilibrium HOT 5
- Can't find the steady-state with DEP tax function HOT 17
- Allow for multiple budget years HOT 1
- Error running the example script HOT 41
- Highly negative MTRs HOT 5
- Possible 25x speedup in steady-state `inner_loop` function
- [Security] Workflow check_black.yml is using vulnerable action actions/checkout
- GH actions issues
- Very long matplotlib warning on run of example script HOT 1
- Solving the steady-state HOT 4
- Documentation of OpenFisca-UK describes Tax-Calculator HOT 2
- Something is broken in download option in eurostat package HOT 2
- UK proposed corporate tax reform results
- Update OpenFisca-UK to PolicyEngine-UK HOT 1
- Update `calibrate.py` due to new tax function parameters
- Add UK synthetic dataset
- Updates to be compatible with latest OG-Core HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from og-uk.