jrwnter / cddd

Implementation of the Paper "Learning Continuous and Data-Driven Molecular Descriptors by Translating Equivalent Chemical Representations" by Robin Winter, Floriane Montanari, Frank Noe and Djork-Arne Clevert.
MIT License
220 stars 72 forks source link

ERROR: Failed building wheel for cddd #16

Closed radaso closed 3 years ago

radaso commented 3 years ago

Dear, When installing the cddd package the ERROR: Failed building wheel for cddd is reported. Detailed output is below:

ERROR: Failed building wheel for cddd Running setup.py clean for cddd Failed to build cddd Installing collected packages: cddd Running setup.py install for cddd ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\erami\anaconda3\envs\cddd\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\erami\AppData\Local\Temp\pip-req-build-m0nh872q\setup.py'"'"'; file='"'"'C:\Users\erami\AppData\Local\Temp\pip-req-build-m0nh872q\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\erami\AppData\Local\Temp\pip-record-ckhscqxe\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\erami\anaconda3\envs\cddd\Include\cddd' cwd: C:\Users\erami\AppData\Local\Temp\pip-req-build-m0nh872q\ Complete output (73 lines): running install running build running build_py creating build creating build\lib creating build\lib\cddd copying cddd\evaluation.py -> build\lib\cddd copying cddd\hyperparameters.py -> build\lib\cddd copying cddd\inference.py -> build\lib\cddd copying cddd\input_pipeline.py -> build\lib\cddd copying cddd\models.py -> build\lib\cddd copying cddd\model_helper.py -> build\lib\cddd copying cddd\preprocessing.py -> build\lib\cddd copying cddd\run_cddd.py -> build\lib\cddd copying cddd\train.py -> build\lib\cddd copying cddd__init.py -> build\lib\cddd creating build\lib\cddd\data copying cddd\data\download_pretrained.py -> build\lib\cddd\data copying cddd\data__init__.py -> build\lib\cddd\data running egg_info writing cddd.egg-info\PKG-INFO writing dependency_links to cddd.egg-info\dependency_links.txt writing entry points to cddd.egg-info\entry_points.txt writing requirements to cddd.egg-info\requires.txt writing top-level names to cddd.egg-info\top_level.txt reading manifest file 'cddd.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'cddd.egg-info\SOURCES.txt' Traceback (most recent call last): File "", line 1, in File "C:\Users\erami\AppData\Local\Temp\pip-req-build-m0nh872q\setup.py", line 30, in 'cddd = cddd.run_cddd:main_wrapper', File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\init.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\command\install.py", line 545, in run self.run_command('build') File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 53, in run self.build_package_data() File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 118, in build_package_data for package, src_dir, build_dir, filenames in self.data_files: File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 66, in getattr__ self.data_files = self._get_data_files() File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 83, in _get_data_files return list(map(self._get_pkg_data_files, self.packages or ())) File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 95, in _get_pkg_data_files for file in self.find_data_files(package, src_dir) File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 114, in find_data_files return self.exclude_data_files(package, src_dir, files) File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 198, in exclude_data_files files = list(files) File "C:\Users\erami\anaconda3\envs\cddd\lib\site-packages\setuptools\command\build_py.py", line 234, in for pattern in raw_patterns File "C:\Users\erami\anaconda3\envs\cddd\lib\distutils\util.py", line 127, in convert_path raise ValueError("path '%s' cannot end with '/'" % pathname) ValueError: path 'data/default_model/' cannot end with '/'

ERROR: Command errored out with exit status 1: 'C:\Users\erami\anaconda3\envs\cddd\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\erami\AppData\Local\Temp\pip-req-build-m0nh872q\setup.py'"'"'; file='"'"'C:\Users\erami\AppData\Local\Temp\pip-req-build-m0nh872q\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\erami\AppData\Local\Temp\pip-record-ckhscqxe\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\erami\anaconda3\envs\cddd\Include\cddd' Check the logs for full command output.

Any hints are appreciated. Thanks