Comments (4)
The full error message reads:
2023-06-18 16:20:25.717 - amici.de_export - DEBUG - Finished compiling cpp code + (2.79E+01s)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3251, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 4, in
problem_benchmark_collection = importer_benchmark_collection.create_problem()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pypesto/petab/importer.py", line 679, in create_problem
objective = self.create_objective(**kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pypesto/petab/importer.py", line 413, in create_objective
model = self.create_model(force_compile=force_compile)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pypesto/petab/importer.py", line 279, in create_model
self.compile_model(**kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pypesto/petab/importer.py", line 345, in compile_model
amici.petab_import.import_model(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/amici/logging.py", line 198, in wrapper_timer
rval = func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/amici/petab_import.py", line 707, in import_model_sbml
model_module = amici.import_model_module(model_name, model_output_dir)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/amici/init.py", line 187, in import_model_module
return importlib.import_module(module_name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/jvanhoefer/Dokumente/PhD/Projects/Temporal Uncertainties/amici_models/Brannmark_JBC2010/Brannmark_JBC2010/init.py", line 17, in
from .Brannmark_JBC2010 import *
File "/Applications/PyCharm Edu.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/Users/jvanhoefer/Dokumente/PhD/Projects/Temporal Uncertainties/amici_models/Brannmark_JBC2010/Brannmark_JBC2010/Brannmark_JBC2010.py", line 13, in
from . import _Brannmark_JBC2010
ImportError: cannot import name '_Brannmark_JBC2010' from partially initialized module 'Brannmark_JBC2010' (most likely due to a circular import) (/Users/jvanhoefer/Dokumente/PhD/Projects/Temporal Uncertainties/amici_models/Brannmark_JBC2010/Brannmark_JBC2010/init.py)
from amici.
downgrading to 16.0 resolved the problem for the moment...
from amici.
Hi @jvanhoefer, can you please try manually deleting /Users/jvanhoefer/Dokumente/PhD/Projects/Temporal Uncertainties/amici_models/Brannmark_JBC2010/
before importing the model and see if it works then?
from amici.
Assuming this works now.
from amici.
Related Issues (20)
- `Benchmark Collection` workflow fails for Lang_PLOSComputBiol2024 HOT 2
- cmake: replace explicit checks for CMAKE_BUILD_TYPE
- TimeCourse Implementation
- Piecewise function HOT 1
- PEtab import: Estimated initial conditions specified via the conditions table aren't handled correctly
- Remove deprecated functionality for PEtab import from individual files instead of petab.Problem
- Replace deprecated `petab.Problem.from_files` in `amici.petab.cli.import_petab._main`
- Handle reserved names in PEtab parameter mapping HOT 3
- 'reduce' is not a member of 'std' std::reduce(idlist.begin(), idlist.end()) HOT 2
- CMake Error during AMICI installation on WSL HOT 4
- Illegal value in CVodeGetDky
- Survey: MATLAB users / continuation of AMICI's MATLAB interface
- Set CMP0167 for CMake 3.30
- GHA: -Werror only for amici repo
- Uncaught C exceptions HOT 7
- Wrong conservation laws for pysb models
- Segmentation fault when importing amici on Mac HOT 9
- Add tests for installing amici under conda
- Test amici with no-GIL Python
- Assertion error in ForwardProblem::getSimulationStateTimepoint
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 amici.