Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation problems on windows #29

Open
flothesof opened this issue Feb 27, 2018 · 10 comments
Open

installation problems on windows #29

flothesof opened this issue Feb 27, 2018 · 10 comments

Comments

@flothesof
Copy link

flothesof commented Feb 27, 2018

Hi,
I'm trying to install pisap under Windows. I've tried several approaches that all fail at the cmake compilation stage.

  • Python 3.6: compilation fails (cfits and boost)
  • Python 2.7: compilation fails (cfits and boost)
    This is the part of the log that seems relevant: (identical results were obtained for both Python versions)
 "C:\Users\FL232714\Desktop\pisap-master\build\temp.win-amd64-3.6\Release\ALL_BUILD.vcxproj" (cible par défaut) (1) ->
"C:\Users\FL232714\Desktop\pisap-master\build\temp.win-amd64-3.6\Release\cfitsio.vcxproj" (cible par défaut) (5) ->
(CustomBuild cible) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: Arrêt de
"cmd.exe" avec le code 9009. [C:\Users\FL232714\Desktop\pisap-master\build\temp.win-amd64-3.6\Release\cfitsio.vcxproj
]


"C:\Users\FL232714\Desktop\pisap-master\build\temp.win-amd64-3.6\Release\ALL_BUILD.vcxproj" (cible par défaut) (1) ->
"C:\Users\FL232714\Desktop\pisap-master\build\temp.win-amd64-3.6\Release\Boost.vcxproj" (cible par défaut) (4) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: Arrêt de
"cmd.exe" avec le code 9009. [C:\Users\FL232714\Desktop\pisap-master\build\temp.win-amd64-3.6\Release\Boost.vcxproj]

I've noticed that you've also setup Travis builds (https://github.com/neurospin/pisap/blob/master/.travis.yml) and realized that the installation on Travis is not python setup.py install but manual installation of dependencies with pip. So I'm assuming it's not necessary to follow the cmake build steps to get it working.

Do you have any hints on how I can manage to get pisap working, based on the above?

Thanks for your help,

Florian

@AGrigis
Copy link
Contributor

AGrigis commented Mar 2, 2018

Currently the module is in development and supports only LINUX and MAC.
We will clarify this point in the documentation.
If you are interested we suggest you to use a Virtual Machine with Ubuntu 16.04 LTS.

@flothesof
Copy link
Author

Ok, great. Thanks for your reply. Shall I leave the issue open until you clarify this point in the documentation?

Best regards,
Florian

@patquem
Copy link

patquem commented Mar 19, 2021

Hi @flothesof,
I try to install PySAP on Windows.
Did you succeed in finalizing your install ?
From my part, I am faced with error during the external lib compilation ('cftsio', the same one you report in the present issue)
Relative path related to .\configure seems to be wrong (basically : configure is and should be found in my case, in C:\dev\sw\pysap-master\build\temp.win-amd64-3.7\Release\cfitsio\src\cfitsio\configure)
Patrick

  Performing configure step for 'cfitsio'
  '.\configure' n'est pas reconnu en tant que commande interne
  ou externe, un programme exécutable ou un fichier de commandes.
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): error MSB8066: la build p ersonnalisée de 'C:\dev\sw\pysap-master\build\temp.win-amd64-3.7\Release\CMakeFiles\bdc00a12a0f03e2a5748192627b436e0\cfitsio-configure.rule;C:\dev\sw\ pysap-master\build\temp.win-amd64-3.7\Release\CMakeFiles\bdc00a12a0f03e2a5748192627b436e0\cfitsio-build.rule;C:\dev\sw\pysap-master\build\temp.win-amd 64-3.7\Release\CMakeFiles\bdc00a12a0f03e2a5748192627b436e0\cfitsio-install.rule;C:\dev\sw\pysap-master\build\temp.win-amd64-3.7\Release\CMakeFiles\ca7 c3e9dddb74eb81d81dbfc648a7718\cfitsio-complete.rule;C:\dev\sw\pysap-master\build\temp.win-amd64-3.7\Release\CMakeFiles\4a9652f420725b576b03c5d19840df3 f\cfitsio.rule' s'est arrêtée. Code 9009. [C:\dev\sw\pysap-master\build\temp.win-amd64-3.7\Release\cfitsio.vcxproj]

@flothesof
Copy link
Author

Hi @patquem
I never managed to get it to work.
Cheers
Florian

@sfarrens
Copy link
Contributor

Hi @patquem, unfortunately we don't currently have the resources (time and machines) to test and support PySAP on Windows.

We are currently preparing a new release of PySAP and I can try to include Docker container that may help.

@patquem
Copy link

patquem commented Mar 19, 2021

Hello @sfarrens,
Nice to hear.
Guillaume, a team-mate who passed all the week to install pySAP on Linux is happy to learn this information ;)
(Guillaume was previoulsy in the Philippe C. team for his student final year project. He joined us 2 weeks ago).

@sfarrens
Copy link
Contributor

Well we will certainly do our best to make it as easy to install as possible. 😅

Regards to Guillaume!

@philouc
Copy link
Contributor

philouc commented Mar 19, 2021

It was clear to me originally that Guillaume knew that PySAP is not yet compatible with Windows. I'm sorry about the waste of time.

@patquem
Copy link

patquem commented Mar 22, 2021

Don't worry about it @philouc.
Guillaume was in charge of Linux install and I was in charge of Windows install (trial).
Zineb and I had heard there were some problems in Windows, but I wanted to understand where and why. In the PySAP documentation, the sentence : The installation of PySAP has been extensively tested on Ubuntu and macOS, however we cannot guarantee it will work on every operating system (e.g. Windows). made me hope it could work on windows.
(I succeed in installing PySAP, but I am faced with dependancies "./configure". I stop the investigations now but I'll be back on these points later.. maybe)

@sfarrens sfarrens self-assigned this Mar 25, 2021
@sfarrens
Copy link
Contributor

@patquem @flothesof the latest release of PySAP (v0.0.5) comes with a Docker image available on Docker Hub. As Windows supports Docker, this may be a solution that could interest you.

To install the Docker image with PySAP pre-installed run:

$ docker pull ceacosmic/pysap

then to launch a Jupyter notebook that has access to your current working directory run:

$ docker run -p 8888:8888 -v ${PWD}:/home ceacosmic/pysap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants