Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 pip installing package using c++ boost in windows
#1
I'm trying to install the dionysus package in windows.
I've installed Visual studio 2017 (to get the c++ compiler), I've installed boost and it works if I link the directory in the VS editor.

But as soon as I try installing (from VS x64 native tools command prompt)
Quote:pip install dionysus
I get an error

Quote:...
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
...

What happens is that that the cl compiler does not know where boost is installed. I've tried fresh installing at least 10 times and searched through the internet, but still do not know how to tell the compiler in the pip process that boost is located at c:/boost.
Quote
#2
There is a issue reported.
Author @mrzv reply that he has not tested in Windows.

In setup.py
if platform.system() == "Windows":
    cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1))
    if cmake_version < '3.1.0':
        raise RuntimeError("CMake >= 3.1.0 is required on Windows")
So it look for CMake,
What happens after that is a little sketchy,as Author @mrzv has never tested his library in Windows.
So maybe quicker to use VirtualBox and fire up a linux distro.
Quote
#3
(Feb-16-2018, 05:54 PM)snippsat Wrote: There is a issue reported.
Author @mrzv reply that he has not tested in Windows.

In setup.py
if platform.system() == "Windows":
    cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1))
    if cmake_version < '3.1.0':
        raise RuntimeError("CMake >= 3.1.0 is required on Windows")
So it look for CMake,
What happens after that is a little sketchy,as Author @mrzv has never tested his library in Windows.
So maybe quicker to use VirtualBox and fire up a linux distro.

Yes, I am running it in virtual box, but I got a bit tired of that, since I plan to work with the module quite a lot and I'm running some cpu intensive simulations, which the virtual os is not that happy about.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Installing a new package using pip in conda environment firebolt7 1 360 Nov-18-2019, 12:31 PM
Last Post: snippsat
  Installing pip windows 10 jcg36 9 843 Sep-13-2019, 12:44 PM
Last Post: snippsat
  Compiling a Python Package on Windows nagymusic 2 902 Jan-29-2019, 12:08 AM
Last Post: nagymusic
  pip not installing any package on windows royhimo855 0 1,088 Dec-10-2018, 07:58 AM
Last Post: royhimo855
  Installing and running a python web scraping app from github to a windows 8.1 system eugenioca 17 2,424 Oct-06-2018, 08:14 AM
Last Post: eugenioca
  Error while installing python3.6.4 on windows 10 SaurabhMaheshwari 1 1,211 Feb-18-2018, 09:36 PM
Last Post: sparkz_alot
  Problems installing Python - Failed to install MSI package Johnnyq70 1 2,159 Oct-29-2017, 08:50 PM
Last Post: Larz60+
  Problem installing urlparse4 package BobLoblaw 2 2,757 Oct-06-2017, 05:16 PM
Last Post: BobLoblaw
  Installing cartopy on Windows 10 varung1985 1 2,937 Mar-27-2017, 11:01 AM
Last Post: Larz60+

Forum Jump:


Users browsing this thread: 1 Guest(s)