You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I am using anaconda and used the command:
conda install -c conda-forge pynco
to install pynco in my Windows10 machine and simply used the commands
from nco import Nco
nco = Nco()
I get the error below. Will appreciate help to resolve the issue.
TypeError Traceback (most recent call last)
in ()
1 from nco import Nco
----> 2 nco = Nco()
~\Anaconda3\lib\ntpath.py in split(p)
202 Return tuple (head, tail) where tail is everything after the final slash.
203 Either part may be empty."""
--> 204 p = os.fspath(p)
205 seps = _get_bothseps(p)
206 d, p = splitdrive(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered:
@mohar123 - sorry for the very slow response. We have not tested pynco on python so I would be surprised if it works out of the box. If you've managed to get things to work here or would like to contribute some windows tests or fixes, please feel free to check back in and reopen this issue.
Hi there,
I am using anaconda and used the command:
conda install -c conda-forge pynco
to install pynco in my Windows10 machine and simply used the commands
from nco import Nco
nco = Nco()
I get the error below. Will appreciate help to resolve the issue.
TypeError Traceback (most recent call last)
in ()
1 from nco import Nco
----> 2 nco = Nco()
~\Anaconda3\lib\site-packages\nco\nco.py in init(self, returnCdf, returnNoneOnError, forceOutput, cdfMod, debug, **kwargs)
52 self.NCOpath = os.environ['NCOpath']
53 else:
---> 54 self.NCOpath = os.path.split(which('ncks'))[0]
55
56 self.operators = operators
~\Anaconda3\lib\ntpath.py in split(p)
202 Return tuple (head, tail) where tail is everything after the final slash.
203 Either part may be empty."""
--> 204 p = os.fspath(p)
205 seps = _get_bothseps(p)
206 d, p = splitdrive(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered: