Closed Harleylee closed 6 years ago
Unfortunately, I don't use Windows, so it's next to impossible for me to debug this. The first few lines indicate that you don't have Boost installed, so that would be the first step.
Thanks so much for your reply, I do have boost-python(1.63). I followed the instruction of Boost (http://www.boost.org/) and installed it by Visual Studio 2015.. I am not sure is this the problem or should I install it directly on python?
You don't need boost-python, but you need all the rest of Boost. I'm not quite sure how this works with Visual Studio, but the point is that CMake is not finding Boost.
for anyone else coming to this problem on Ubuntu, and since Boost's install instructions are awkward, check the ubuntu package repos, this solved it for me:
apt install libboost-all-dev
Hi, I get an installation error when trying to install "dionysus 2" under Windows 10 x64. python 3.6 when I do pip install --verbose dionysus, the error shows below (I have the updated pip, setuptools and wheel ) please tell me if need any more information
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Boost_INCLUDE_DIR (ADVANCED) used as include directory in directory C:/Users/HL~~~/AppData/Local/Temp/pip-build-bh2npfav/dionysus/bindings/python used as include directory in directory C:/Users/HL~~~/AppData/Local/Temp/pip-build-bh2npfav/dionysus/bindings/python
Cleaning up... Removing source in C:\Users\HL~~~\AppData\Local\Temp\pip-build-bh2npfav\dionysus Command "E:\PYTHON\python.exe -u -c "import setuptools, tokenize;file='C:\Users\HL
~\AppData\Local\Temp\pip-build-bh2npfav\dionysus\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\HL~\AppData\Local\Temp\pip-__2fd0ic-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\HL~~~\AppData\Local\Temp\pip-build-bh2npfav\dionysus\ Exception information: Traceback (most recent call last): File "E:\PYTHON\lib\site-packages\pip\basecommand.py", line 215, in main status = self.run(options, args) File "E:\PYTHON\lib\site-packages\pip\commands\install.py", line 342, in run prefix=options.prefix_path, File "E:\PYTHON\lib\site-packages\pip\req\req_set.py", line 784, in install **kwargs File "E:\PYTHON\lib\site-packages\pip\req\req_install.py", line 878, in install spinner=spinner, File "E:\PYTHON\lib\site-packages\pip\utils__init.py", line 707, in call_subprocess % (command_desc, proc.returncode, cwd)) pip.exceptions.InstallationError: Command "E:\PYTHON\python.exe -u -c "import setuptools, tokenize;file='C:\Users\HL~~~\AppData\Local\Temp\pip-build-bh2npfav\dionysus\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\HL~~~\AppData\Local\Temp\pip-2fd0ic-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\HL~~~\AppData\Local\Temp\pip-build-bh2npfav\dionysus\