Comments (3)
I believe this is now working. There have been quite a few changes, but installing via pip should also work now.
from python-necpp.
Hi tmolteno - thank for sharing your necpp/PyNEC package. I am starting to learn using them.
Unfortunately I encountered the same exception:
$ python /Volumes/Data13/python/logperiodic_opt.py
Wavelength is 0.1224m, initial length is 0.0612m
Unoptimized antenna...
Traceback (most recent call last):
File "/Volumes/Data13/python/logperiodic_opt.py", line 225, in
show_report(initial_l1, initial_x1, initial_tau)
File "/Volumes/Data13/python/logperiodic_opt.py", line 168, in show_report
nec = geometry_logperiodic(l1, x1, tau)
File "/Volumes/Data13/python/logperiodic_opt.py", line 30, in geometry_logperiodic
nec.set_extended_thin_wire_kernel(True)
File "/Volumes/Data13/python/context_clean.py", line 104, in set_extended_thin_wire_kernel
self.context.set_extended_thin_wire_kernel(1)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/PyNEC.py", line 181, in set_extended_thin_wire_kernel
return _PyNEC.nec_context_set_extended_thin_wire_kernel(self, ekflag)
TypeError: in method 'nec_context_set_extended_thin_wire_kernel', argument 2 of type 'bool'
$
My installation:
$ pip freeze
cycler==0.10.0
kiwisolver==1.1.0
matplotlib==3.0.3
necpp==1.7.3.5
numpy==1.18.0
PyNEC==1.7.3.4
pyparsing==2.4.6
python-dateutil==2.8.1
scipy==1.4.1
six==1.13.0
$
from python-necpp.
Finally fixed. Thanks for reporting.
from python-necpp.
Related Issues (20)
- Do not require the SWIG as part of the build
- build.sh requires changes HOT 1
- pip install problem HOT 1
- install for python 3 HOT 2
- logperiodic_opt.py problems corrected HOT 1
- Geometry has one or fewer segments error
- Weird impedance for a regular dipole HOT 3
- Arch Linux fix HOT 2
- ModuleNotFoundError: No module named 'PyNEC' HOT 12
- Unclear difference between PyNEC and necpp python module HOT 3
- Tag Problem
- Documentation? HOT 7
- Ground does not seem to have an effect on antenna impedance HOT 1
- VSWR calculations gives negative values. VSWR cannot be negative. HOT 1
- Relicense under LGPL
- Problem with installation HOT 26
- Problem Pynec and Necpp HOT 3
- Upgrading python packaging distutils to setuptools
- Old syntax in pyNEC test folder 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 python-necpp.