Comments (6)
Hi @laurelboyd,
I'm not able to reproduce this error. Could you give a few more details? How did you install? (virtual environment? Did you use pip or from source?). Thanks!
from covasim.
Not able to reproduce
from covasim.
I have the same error . I flow all steps ,but I can't run any example . the only example I can run is the first . any one can help me with this. this my first time with python .
from covasim.
Hi @khmoud75 -- the model uses advanced Python features so if this is your first time using Python, it may be quite challenging to get up to speed. We recommend that you first complete an online course for scientific computing in Python, e.g.:
https://scipy-lectures.org/
https://www.enthought.com/courses/python-for-scientists-and-engineers/
from covasim.
Hi @ckerr-IDM thank you for your answer . yes I new with python, but I can learn fast. I get the below error message . I need find solution to it can you help me please?
C:\Users\User\Downloads\covasim-master>python examples/run_sim.py
Importing...
Covasim 0.23.5 (2020-04-06) β Β© 2020 by IDM
Note: synthpops (for detailed demographic data) is not available (No module named 'synthpops')
Configuring...
Making sim...
Running...
Creating 20000 people...
Traceback (most recent call last):
File "examples/run_sim.py", line 43, in
sim.run(verbose=verbose)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\sim.py", line 436, in run
self.initialize()
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\sim.py", line 160, in initialize
self.init_people(**kwargs) # Create all the people (slow)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\sim.py", line 264, in init_people
cvppl.make_people(self, verbose=verbose, id_len=id_len, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\people.py", line 255, in make_people
import synthpops as sp # Optional import
ModuleNotFoundError: No module named 'synthpops'
from covasim.
Hi @khmoud75 -- please reinstall Covasim, I see you are using version 0.23.5 but the current version is 0.28.6. I suggest checking the documentation regularly for updates:
https://institutefordiseasemodeling.github.io/covasim-docs
from covasim.
Related Issues (20)
- bug within the analysis.py (not able to pass **kwargs) HOT 2
- Error in cv.make_synthpop HOT 2
- Faulty error message: rel_imm_variant is not a valid key HOT 2
- Set vaccine efficacy via vaccinate_num() HOT 1
- Analyzer and sim.compute_fit() give different `n_dead` HOT 1
- Hanging comma on `plots` value in defaults.get_default_plots() causes `sim.plot(to_plot='seir')` to fail HOT 1
- FAQ: Counting tests, diagnoses & infections?
- Release log date bug HOT 1
- No impact from changing the βnab_effβ parameter HOT 1
- Covasim tutorials on Binder fail on sciris import HOT 2
- The copyright footer needs to be updated to MIT
- Not all agents are present in household layer in a hybrid population HOT 5
- Best way to use decision making models for each person in a population HOT 1
- Interaction between the pop_scale, pop_infected, and rescale parameters
- how to load custom location.json generated by SynthPops? HOT 1
- Bug in tut_intro.ipynb when calling cv.MultiSim HOT 2
- Contact between identical agentid? HOT 2
- covasim - local doc build failing (make html) HOT 6
- Economics / Costing Analysis
- The footer.html customization isn't being applied in the Sphinx PyData theme 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 covasim.