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

PySpecTools installation on Windows #15

Open
laserkelvin opened this issue Jul 11, 2020 · 1 comment
Open

PySpecTools installation on Windows #15

laserkelvin opened this issue Jul 11, 2020 · 1 comment
Labels
CI Continuous integration issues windows Issues with running on Windows

Comments

@laserkelvin
Copy link
Owner

This was raised by Houston Smith from UW-Madison, trying to install PySpecTools through the Anaconda Navigator on Windows, returning this error:

ResolvePackageNotFound: 
- ncurses=6.2
- libstdcxx-ng=9.1.0
- libgcc-ng=9.1.0
- libedit=3.1.20191231
- libgfortran-ng=7.3.0
- readline=8.0
- ptyprocess=0.6.0
- libffi=3.3
- ld_impl_linux-64=2.33.1

I believe these are Linux only packages, and for whatever reason --no-build when creating conda.yml left them in. Will remove these in conda.yml and see if it solves this issue.

laserkelvin added a commit that referenced this issue Jul 11, 2020
This hopefully addresses issue [#15], where a Windows installation
tries to look for Linux-only libraries.
laserkelvin added a commit that referenced this issue Jul 13, 2020
Previously I had implemented some "fast" routines using Cython which
were poorly written loops that were marginally faster than looping using
NumPy arrays. These have now been superceded by comparably faster
routines using JIT compilation in Numba, which now reside in the
`lineshapes` module.

For this reason, I am removing Cython routines from the library, which
in turn means we no longer need to run cythonize during setup time,
which had always plagued Windows installations. This references issue
[#15].
@laserkelvin
Copy link
Owner Author

Seems like removing Cython routines largely helped with getting the installation to work on Windows. Ideally I'd like to have CI setup to build in Windows environments, but apparently this is not yet so straightforward.

@laserkelvin laserkelvin added windows Issues with running on Windows CI Continuous integration issues labels Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration issues windows Issues with running on Windows
Projects
None yet
Development

No branches or pull requests

1 participant