conda libnetcdf issues (AGAIN)
Similar to Issue #11, I am experiencing issues with the netcdf version. I am running pyfes 2.9.2 and my conda libnetcdf is 4.7.4, but pyfes is looking for libnetcdf 4.7.3. I am affarid, that I cannot downgrade my netcdf due to other package dependencies.
Comments (3)
-
repo owner -
reporter Thanks for answering!
This may not be you concern, but I am not able to make the build.
"conda build" fails, when it tries to find the pyfes version (see below). I think it is some linking that goes wrong, but I am not so strong in cMake files. If I stands in the git directory where I have downloaded the package I can both run version.py and /nfs/g5/procdata/skr/anaconda3/conda-bld/pyfes_1601280572183/work/version.py without any trouble. The output is 2 9 3, but it does not work when I run conda build from the same directory.
…
Traceback (most recent call last):
File "/nfs/g5/procdata/skr/anaconda3/conda-bld/pyfes_1601280572183/work/version.py", line 87, in <module>
main()
File "/nfs/g5/procdata/skr/anaconda3/conda-bld/pyfes_1601280572183/work/version.py", line 83, in main
sys.stdout.write("%d %d %d" % revision(path, args.update))
File "/nfs/g5/procdata/skr/anaconda3/conda-bld/pyfes_1601280572183/work/version.py", line 45, in revision
(major, minor, patch) = (int(item) for item in match.group(1).split("."))
AttributeError: 'NoneType' object has no attribute 'group'
CMake Error at CMakeLists.txt:36 (string):
string sub-command REPLACE requires at least four arguments.-- FES version: NOTFOUND.NOTFOUND.NOTFOUND
…
-
reporter - changed status to resolved
I have solved it by making a new conda environment.
- Log in to comment
The conda package was built from the "main" channel. If you want to use the "conda-forge" channel you have to generate your package. To do this, you clone the project and then execute the command "conda build . " at the root of the project.