PyD: Hello World program do not compile.
Georgios Papanikolaou
gpap1995 at yahoo.gr
Wed Oct 30 13:28:22 UTC 2019
Hi, for those who do not know this is the github repository for
the PyD I am using:
https://github.com/ariovistus/pyd
I just stared with PyD and I am trying to make it work. I have
downloaded the latest release version and unzipped it in my
working directory. Also I copied the two files from the
documentation (the kind of "hello world" program). I am using
windows 10 and python 2.7.12 so I run the command python
.\setup.py pydexe but I get the following error:
travis_fold:end:pyd_compile-dcaf5080-fb16-11e9-84a3-f859714c6a61
Traceback (most recent call last):
File ".\setup.py", line 10, in <module>
build_deimos=True, d_lump=True
File "C:\Users\PapaniGe\Desktop\learning\project
earth\pydtest\pyd\support.py", line 230, in setup
base_setup(*args, **kwargs)
File
"C:\Users\PapaniGe\AppData\Local\Continuum\Anaconda2\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File
"C:\Users\PapaniGe\AppData\Local\Continuum\Anaconda2\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File
"C:\Users\PapaniGe\AppData\Local\Continuum\Anaconda2\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Users\PapaniGe\Desktop\learning\project
earth\pydtest\pyd\support.py", line 128, in run
self.per_ext(ext)
File "C:\Users\PapaniGe\Desktop\learning\project
earth\pydtest\pyd\support.py", line 169, in per_ext
target_lang=language)
File
"C:\Users\PapaniGe\AppData\Local\Continuum\Anaconda2\lib\distutils\ccompiler.py", line 700, in link_executable
debug, extra_preargs, extra_postargs, None, target_lang)
File "C:\Users\PapaniGe\Desktop\learning\project
earth\pydtest\pyd\dcompiler.py", line 750, in link
return DCompiler.link(self, *args, **kwargs)
File "C:\Users\PapaniGe\Desktop\learning\project
earth\pydtest\pyd\dcompiler.py", line 520, in link
library_dirs = list(set(_build_ext_library_dirs() +
library_dirs))
TypeError: unsupported operand type(s) for +: 'NoneType' and
'list'
It appears that it tries to add two lists but the one is empty,
so it breaks. Any thoughts?
More information about the Digitalmars-d-learn
mailing list