Open chenmingzhang opened 6 years ago
I have the similar problems running the setup on Windows.. (Also I had to remove "SetuptoolsVersion" from the .egg folder \pyscaffold\utils.py row 207 "from pkg_resources import parse_version, SetuptoolsVersion".
"use_pyscaffold" is called until the recursion depth is maximum..
I tried both 32, 64 bits Python3.5 and Python3.6.
For me I "solved" the problem by using a newer version of pyscaffold in the setup_requires and also I had to compile it with a Intel Fortan compilator.
One question though, why is only the data and wafo/data set to be built in add_data_dir? Why not the entire wafo folder? I changed it to include the wafo folder and was finally able to built it, now I can import it and work with it, however I get the following errors:
C:\Python36_32\lib\site-packages\wafo\kdetools\demo.py:15: UserWarning: fig import only supported on Windows warnings.warn('fig import only supported on Windows') C:\Python36_32\lib\site-packages\wafo\gaussian.py:14: UserWarning: mvn not found. Check its compilation. warnings.warn('mvn not found. Check its compilation.') C:\Python36_32\lib\site-packages\wafo\gaussian.py:19: UserWarning: mvnprdmod not found. Check its compilation. warnings.warn('mvnprdmod not found. Check its compilation.') C:\Python36_32\lib\site-packages\wafo\gaussian.py:24: UserWarning: rindmod not found. Check its compilation. warnings.warn('rindmod not found. Check its compilation.') C:\Python36_32\lib\site-packages\wafo\spectrum\core.py:42: UserWarning: Compile the cov2mod.pyd again! warnings.warn('Compile the cov2mod.pyd again!') fig import only supported on Windows
i am running this under a linux machine and your solution may not work for me.
Hi had the same error and I solved it by using setuptools<39.0.0 setuptools_scm<2.0.0 and pbr<4.0
when i was trying to install pywafo by running
according to README
it shows:
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/_vendor/pyparsing.py", line 1383, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/usr/local/lib/python2.7/dist-packages/pkg_resources/_vendor/pyparsing.py", line 2779, in parseImpl ret = ParseResults(result.group()) File "/usr/local/lib/python2.7/dist-packages/pkg_resources/_vendor/pyparsing.py", line 359, in init if isinstance(toklist, list): RuntimeError: maximum recursion depth exceeded while calling a Python object error in wafo setup command: Error parsing /home/osboxes/Downloads/git2/pywafo/setup.cfg: RuntimeError: maximum recursion depth exceeded while calling a Python object