Hello,
I am trying to install it in windows, I have not succeeded yet, and I need your help with a function but I will tell you about the process in case it works for someone else, at first I thought that everything had worked well, since the installation using "python setup.py install" did not mark any error. But then when running it
PS D:\Zettelkasten\verzettler-master> zk_web
Traceback (most recent call last):
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\Scripts\zk_web-script.py", line 11, in <module>
load_entry_point('verzettler==0.1.0', 'console_scripts', 'zk_web')()
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2862, in load_entry_point
return ep.load()
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2462, in load
return self.resolve()
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2468, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\verzettler-0.1.0-py3.8.egg\verzettler\bin\zk_web.py", line 9, in <module>
from verzettler.cli_util import init_zk_from_cli
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\verzettler-0.1.0-py3.8.egg\verzettler\cli_util.py", line 8, in <module>
import readline
ModuleNotFoundError: No module named 'readline'
This library is not available, fortunately there is a replacement
PS D:\Zettelkasten\verzettler-master> python -m pip install pyreadline
Collecting pyreadline
Downloading pyreadline-2.1.zip (109 kB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 109 kB 1.1 MB/s
Building wheels for collected packages: pyreadline
Building wheel for pyreadline (setup.py) ... done
Created wheel for pyreadline: filename=pyreadline-2.1-py3-none-any.whl size=93844 sha256=9f11d34fbb35bb5fd4c2031fc5ac0ac911012870d85ec5ad22f3e7d18e4498b1
Stored in directory: c:\users\pablo2m\appdata\local\pip\cache\wheels\0e\6e\9d\402aa64e362e59c7032231a2e6942e647a6c12508d2c77fc4d
Successfully built pyreadline
Installing collected packages: pyreadline
Successfully installed pyreadline-2.1
A second try showed another error
PS D:\Zettelkasten\verzettler-master> zk_web
Traceback (most recent call last):
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\Scripts\zk_web-script.py", line 11, in <module>
load_entry_point('verzettler==0.1.0', 'console_scripts', 'zk_web')()
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2862, in load_entry_point
return ep.load()
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2462, in load
return self.resolve()
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 2468, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\verzettler-0.1.0-py3.8.egg\verzettler\bin\zk_web.py", line 9, in <module>
from verzettler.cli_util import init_zk_from_cli
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\verzettler-0.1.0-py3.8.egg\verzettler\cli_util.py", line 16, in <module>
from verzettler.util.paths import get_zk_base_dirs_from_env, pass_fct
ModuleNotFoundError: No module named 'verzettler.util'
Strangely, the two files inside the \ verzettler \ util folder are not copied, that is easily solved
Now we come to the problem that I can't solve
PS D:\Zettelkasten\verzettler-master> zk_web -i playground
Traceback (most recent call last):
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\Scripts\zk_web-script.py", line 11, in <module>
load_entry_point('verzettler==0.1.0', 'console_scripts', 'zk_web')()
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\verzettler-0.1.0-py3.8.egg\verzettler\bin\zk_web.py", line 57, in cli
output_format_to_converter[args.output.suffix](zk, args.output)
File "C:\Users\Pablo2m\AppData\Local\Programs\Python\Python38\lib\site-packages\verzettler-0.1.0-py3.8.egg\verzettler\bin\zk_web.py", line 31, in _output_html
outf.write(format_dot_html(zk.dot_graph()))
AttributeError: 'Zettelkasten' object has no attribute 'dot_graph'
I've been looking everywhere and I can't find that function / attribute ('dot_graph'), am I doing something wrong?
Could you help me?
Thank you in advance