You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for this repository uses an older version of dynet(1.1) and gives error on running with the latest version.
However, installing the older version of dynet seems tricky because:
The installer tries to clone the repository for the library 'Eigen' but gets a 404 not found error.
I tried to manually update the command to the current URL for Eigen but it further gives the following error:
Running setup.py clean for dyNET
Failed to build dyNET
Installing collected packages: dyNET
Running setup.py install for dyNET ... error
ERROR: Command errored out with exit status 1:
command: /home/webis/anaconda3/envs/vishal_arg_3_6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-yupx_wwp/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-yupx_wwp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mt6j83jp/install-record.txt --single-version-externally-managed --compile --install-headers /home/webis/anaconda3/envs/vishal_arg_3_6/include/python3.6m/dyNET
cwd: /tmp/pip-req-build-yupx_wwp/
Complete output (93 lines):
running install
running build
INFO:root:==============================
INFO:root:CMake path: /usr/bin/cmake
INFO:root:Make path: /usr/bin/make
INFO:root:Make flags: -j 16
INFO:root:Mercurial path: /home/webis/anaconda3/envs/vishal_arg_3_6/bin/hg
INFO:root:C compiler path: /usr/bin/gcc
INFO:root:CXX compiler path: /usr/bin/g++
INFO:root:---
INFO:root:Script directory: /tmp/pip-req-build-yupx_wwp
INFO:root:Build directory: /tmp/pip-req-build-yupx_wwp/build/py3.6-64bit
INFO:root:Library installation directory: /home/webis/anaconda3/envs/vishal_arg_3_6/lib/python3.6/site-packages/../../..
INFO:root:Python executable: /home/webis/anaconda3/envs/vishal_arg_3_6/bin/python
INFO:root:==============================
cmake version 2.8.12.2
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
INFO:root:Creating build directory /tmp/pip-req-build-yupx_wwp/build/py3.6-64bit
INFO:root:Cloning Eigen (gitlab)...
Cloning into 'eigen'...
INFO:root:Configuring...
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):
Unable to find the requested Boost libraries.
Boost version: 1.54.0
Boost include path: /usr/include
Could not find the following Boost libraries:
boost_regex
boost_serialization
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:111 (find_package)
-- Boost dir is /usr/include
-- BACKEND not specified, defaulting to eigen.
-- Eigen dir is /tmp/pip-req-build-yupx_wwp/build/py3.6-64bit/eigen
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):
Unable to find the requested Boost libraries.
Boost version: 1.54.0
Boost include path: /usr/include
Could not find the following Boost libraries:
boost_unit_test_framework
boost_serialization
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
tests/CMakeLists.txt:4 (find_package)
-- Found Cython version 0.29.22
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-req-build-yupx_wwp/build/py3.6-64bit/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-req-build-yupx_wwp/build/py3.6-64bit/CMakeFiles/CMakeError.log".
error: /usr/bin/cmake /tmp/pip-req-build-yupx_wwp -DCMAKE_INSTALL_PREFIX=/home/webis/anaconda3/envs/vishal_arg_3_6/lib/python3.6/site-packages/../../.. -DEIGEN3_INCLUDE_DIR=/tmp/pip-req-build-yupx_wwp/build/py3.6-64bit/eigen -DPYTHON=/home/webis/anaconda3/envs/vishal_arg_3_6/bin/python
----------------------------------------
ERROR: Command errored out with exit status 1: /home/webis/anaconda3/envs/vishal_arg_3_6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-yupx_wwp/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-yupx_wwp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mt6j83jp/install-record.txt --single-version-externally-managed --compile --install-headers /home/webis/anaconda3/envs/vishal_arg_3_6/include/python3.6m/dyNET Check the logs for full command output.
Is there a way to work around this issue? If you could share the zip file containing the Eigen repository(for the revision required by dynet 1.1), that would be really helpful.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
The code for this repository uses an older version of dynet(1.1) and gives error on running with the latest version.
However, installing the older version of dynet seems tricky because:
Is there a way to work around this issue? If you could share the zip file containing the Eigen repository(for the revision required by dynet 1.1), that would be really helpful.
Thanks in advance.
The text was updated successfully, but these errors were encountered: