I am trying out Anaconda on OS X and need to install the python package "npTDMS".
I tried
conda install nptdms
which gave me an error
Error: No packages found in current osx-64 channels matching: nptdms You can search for this package on Binstar with
binstar search -t conda nptdms
So I tried that which found a package auto/nptdms for linux-64, which I assume won't work.
So, after some digging, I found instructions here
and tried
conda skeleton pypi npTDMS
conda build npTMDS
which seemed to work (the tests passed.)
But then
import nptmds
returns
ImportError: No module named nptdms
So I tried
conda pipbuild nptdms
which finished after a while with the error
Error: package/name must be lowercase, got: u'npTDMS'
Can someone point me to a better set of instruction?
pip install npTDMS
There's nothing magical about Python run by Conda. It can have access to Python packages anywhere, so long as they're in your path. Installing a package through the simplest way (generally pip or easy_install) should work fine.
(Also, "import nptmds
" is not correct; try "from nptdms import TdmsFile
")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With