Comments (2)
Apologies - I made the changes outlined in #106 and it can now the import works
I cannot import skrf in python3.6:
import skfr as rf
Produces the following errors:
`...../scikit_rf-0.14.3-py3.6.egg/skrf/network.py in read_touchstone(self, filename)
1408 if self.name is None:
1409 try:
-> 1410 self.name = os.path.basename( os.path.splitext(filename)[0])
1411 # this may not work if filename is a file object
1412 except(AttributeError):
...../python3.6/posixpath.py in splitext(p)
118
119 def splitext(p):
--> 120 p = os.fspath(p)
121 if isinstance(p, bytes):
122 sep = b'/'
TypeError: expected str, bytes or os.PathLike object, not _io.TextIOWrapper
`
For some reason it is trying to load skrf/data/ntwk1.s2p file
from scikit-rf.
this got fixed. py36 is now tested on travis.
from scikit-rf.
Related Issues (20)
- Renumbering network should update port names HOT 2
- skrf.Network.read_zipped_touchstone misses filenames in zip archive
- Error with NanoVNA if frequency npoints = 1 HOT 2
- Replace simple DFFT by Chirp Z transform for higher resolution in Time domain processing HOT 2
- About COM_receiver_noise_filter HOT 1
- network_2_spreadsheet doesn't scale frequency with units
- About Circuit voltages HOT 4
- Test failing to capture warning HOT 3
- Improve Time Domain Gating technique ? HOT 3
- IEEEP370 example: import problem from skrf.calibration. HOT 6
- TouchStone with complex reference impedance does not renormalize correctly HOT 3
- network.concat_ports do not update port_modes HOT 1
- Network.plot_z_time_step() ignore port references with different impedances HOT 4
- Y axis label wanished from plot in master
- Network.delay() swap ports when nports == 2
- Weird result when de-embedding bad transmission line using IEEEP370_SE_ZC_2XThru HOT 8
- Touchstone 2.0 format does not seem to work for [Matrix Format] Upper HOT 20
- ynp file type support HOT 1
- error in the def load_file(self, fid: typing.TextIO) HOT 2
- Unexpected behavior in Circuit with network ports not explicitly connected HOT 2
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 scikit-rf.