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

windows installation #118

Open
ricardomga opened this issue Apr 3, 2018 · 5 comments
Open

windows installation #118

ricardomga opened this issue Apr 3, 2018 · 5 comments

Comments

@ricardomga
Copy link

ricardomga commented Apr 3, 2018

First of all, thank you for the contribution. This was exactly what I was looking for.
Can someone please help me with this problem:

Traceback (most recent call last):
  File "setup.py", line 73, in <module>
    library_dirs.append(os.path.dirname(libmatches[0]))
IndexError: list index out of range
@jakirkham
Copy link
Member

Thanks for the report.

This suggests that either the LIB environment variable is not set or boost_container.lib cannot be found in that path. Either LIB should be set to include the path or paths to a working copy of boost_container.lib in a ; separated list or Boost should be installed somewhere. So please double check these things.

Alternatively we provide prebuilt conda packages through conda-forge. More details on how to install at the rank_filter feedstock. Should you wish to build the conda packages from source. Please see the recipe directory in the feedstock.

Hope that helps. Please let us know if you have any more questions.

@ricardomga
Copy link
Author

Thank you for the reply. I was able to add those environment variables and now I am stuck in another point.
imagem

It would be realy great if you support wheels, they just simplify so much the dependencies problems.

The conda solution woul work great, but my project is in a pipenv, is there a way to install conda packages in a pipenv virtual environment?

Thanks a lot for the help :)

@jakirkham
Copy link
Member

Are you using Setuptools? Do you have Cython installed? The error is complaining about not having Cython basically.

@ricardomga
Copy link
Author

ricardomga commented Apr 3, 2018

I have cython installed, I installed it from Pypi.
Could you please generate the whl, with all the dependencies?
I am sorry for disturbing, but I am a python begginer and packaging and managing dependencies is still a bit hard.

Is there a way to generate a wheel file from a conda package?

@jakirkham
Copy link
Member

Unfortunately I don't have regular access to a Windows computer. :(

Have been in discussions with conda-build and conda-forge about how to better support wheels either via conversion or building them alongside conda packages. Though there are some technical challenges that would need to be addressed.

If you're able to use the conda package, that's the easiest way forward ATM.

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

No branches or pull requests

2 participants