Replies: 3 comments 1 reply
-
**from the installation ** (base) C:\Users\roman_lenner_jr>pip install sectionproperties |
Beta Was this translation helpful? Give feedback.
-
Gday @rlenner, it looks like there is an issue with your I would recommend installing conda create --name sp python=3.12
conda activate sp
pip install sectionproperties You can choose any name you'd like, I've just chosen If you do want to use Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hi Robbie, perfect, all solved running the in sp environment Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi,
apologies if this question is completely rudimentary, but I have trouble running the section properties. The pip install seem to work fine, but when I try run some basic examples I get the following:
SystemError Traceback (most recent call last)
Cell In[3], line 1
----> 1 from sectionproperties.analysis import Section
2 from sectionproperties.pre import CompoundGeometry
File ~\AppData\Local\anaconda3\lib\site-packages\sectionproperties\analysis_init_.py:3
1 """sectionproperties analysis module."""
----> 3 from sectionproperties.analysis.section import Section
File ~\AppData\Local\anaconda3\lib\site-packages\sectionproperties\analysis\section.py:27
24 from shapely import Point, Polygon
25 from shapely.strtree import STRtree
---> 27 import sectionproperties.analysis.fea as fea
28 import sectionproperties.analysis.plastic_section as sp_plastic
29 import sectionproperties.analysis.solver as solver
File ~\AppData\Local\anaconda3\lib\site-packages\sectionproperties\analysis\fea.py:24
22 # numba is an optional dependency
23 try:
---> 24 from numba import njit
25 except ImportError:
27 def njit(**options: Any) -> Callable[[Any], Any]:
File ~\AppData\Local\anaconda3\lib\site-packages\numba_init_.py:42
38 from numba.core.decorators import (cfunc, generated_jit, jit, njit, stencil,
39 jit_module)
41 # Re-export vectorize decorators and the thread layer querying function
---> 42 from numba.np.ufunc import (vectorize, guvectorize, threading_layer,
43 get_num_threads, set_num_threads,
44 set_parallel_chunksize, get_parallel_chunksize,
45 get_thread_id)
47 # Re-export Numpy helpers
48 from numba.np.numpy_support import carray, farray, from_dtype
File ~\AppData\Local\anaconda3\lib\site-packages\numba\np\ufunc_init_.py:3
1 # -- coding: utf-8 --
----> 3 from numba.np.ufunc.decorators import Vectorize, GUVectorize, vectorize, guvectorize
4 from numba.np.ufunc._internal import PyUFunc_None, PyUFunc_Zero, PyUFunc_One
5 from numba.np.ufunc import _internal, array_exprs
File ~\AppData\Local\anaconda3\lib\site-packages\numba\np\ufunc\decorators.py:3
1 import inspect
----> 3 from numba.np.ufunc import _internal
4 from numba.np.ufunc.parallel import ParallelUFuncBuilder, ParallelGUFuncBuilder
6 from numba.core.registry import DelayedRegistry
SystemError: initialization of _internal failed without raising an exception
Beta Was this translation helpful? Give feedback.
All reactions