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
{{ message }}
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
I tried to install this in a Python 3.5 virtual environment, and it complained about missing parentheses in a sphinx-fortran print statement. What python version is this intended to work with?
Thanks,
Liz
PS Full error message:
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.4.6
Exception occurred:
File "/Users/EDobbins/anaconda2/envs/sphinx/lib/python3.5/site-packages/Sphinx-1.4.6-py3.5.egg/sphinx/application.py", line 473, in setup_extension
mod = import(extension, None, None, ['setup'])
File "/Users/EDobbins/anaconda2/envs/sphinx/lib/python3.5/site-packages/sphinxfortran/fortran_autodoc.py", line 1290
print 'Wrong fortran module name: '+module
^
SyntaxError: Missing parentheses in call to 'print'
The text was updated successfully, but these errors were encountered:
I have developed it in 2.7 but I do have the ambition that it should work in 3.X. Just got back from a week of traveling - give me a day or two to take a look at the problem
I did get it to work using Python2.7 and conda. The requirements.txt file is a little out-of-date. "pip install sphinx-fortran" worked to install that package instead of the github build command. I can give more details if you want them.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to install this in a Python 3.5 virtual environment, and it complained about missing parentheses in a sphinx-fortran print statement. What python version is this intended to work with?
Thanks,
Liz
PS Full error message:
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.4.6
Exception occurred:
File "/Users/EDobbins/anaconda2/envs/sphinx/lib/python3.5/site-packages/Sphinx-1.4.6-py3.5.egg/sphinx/application.py", line 473, in setup_extension
mod = import(extension, None, None, ['setup'])
File "/Users/EDobbins/anaconda2/envs/sphinx/lib/python3.5/site-packages/sphinxfortran/fortran_autodoc.py", line 1290
print 'Wrong fortran module name: '+module
^
SyntaxError: Missing parentheses in call to 'print'
The text was updated successfully, but these errors were encountered: