11/7/2022 0 Comments Conda install ipython![]() ![]() The following line causes the following error. I'm also running python 2.7, would that cause any errors? Should it be there? That's what initially made me think it's not installed correctly. What does this mean? What am I doing wrong?ĭolfin does not appear in the list produced by running pip.get_installed_distributions(). TypeError: in method 'Parameters_add', argument 3 of type 'std::string' fslhome/apack/anaconda2/envs/fenicsproject/lib/python2.7/site-packages/dolfin/cpp/common.pyc in add(self, args) fslhome/apack/anaconda2/envs/fenicsproject/lib/python2.7/site-packages/dolfin/cpp/common.pyc in new_Parameter_init(self, *args, **kwargs)Ģ815 raise TypeError("expected a range tuple of size 2 for 'str' values and 3 for scalars")Ģ819 Parameters._init_ = _new_Parameter_init_ > 28 form_compiler_parameters = Parameters("form_compiler", **default_jit_parameters())Ģ9 parameters.add(form_compiler_parameters) fslhome/apack/anaconda2/envs/fenicsproject/lib/python2.7/site-packages/dolfin/common/globalparameters.py in ()Ģ6 # Add form compiler parameters to global parameter setĢ7 if not parameters.has_parameter_set("form_compiler"): fslhome/apack/anaconda2/envs/fenicsproject/lib/python2.7/site-packages/dolfin/common/ init.py in () fslhome/apack/anaconda2/envs/fenicsproject/lib/python2.7/site-packages/dolfin/ init.pyc in () TypeError Traceback (most recent call last) After following your approach when I run 'from dolfin import *' i get the following error. Maybe I am trying to import dolfin incorrectly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |