Installing Bisue Using source-code on Windows10

71 views
Skip to first unread message

satish yadav

unread,
Jul 4, 2018, 5:27:37 PM7/4/18
to bisque bioimage
Hi

I am facing the below error while installing Bisque on my laptop(Windows10) from scratch.

 C:\Users\yadav\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DMODULE_NAME=\"pysqlite2.dbapi2\" -I'{' -Iis -Inot -Irecognized -Ias -Ian -Iinternal -Ior -Iexternal -Icommand, -Ioperable -Iprogram -Ior -Ibatch -Ifile. -IC:\Users\yadav\Anaconda2\include -IC:\Users\yadav\Anaconda2\PC /Tcsrc/module.c /Fobuild\temp.win-amd64-2.7\Release\src/module.obj
  module.c
  c:\users\yadav\appdata\local\temp\pip-install-zzbljv\pysqlite\src\connection.h(33) : fatal error C1083: Cannot open include file: 'sqlite3.h': No such file or directory
  error: command 'C:\\Users\\yadav\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2

  ----------------------------------------
  Failed building wheel for PySqlite
  Running setup.py clean for PySqlite

 writing pygraphviz.egg-info\PKG-INFO
  writing top-level names to pygraphviz.egg-info\top_level.txt
  writing dependency_links to pygraphviz.egg-info\dependency_links.txt
  reading manifest file 'pygraphviz.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '*~' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '.svn' found anywhere in distribution
  no previously-included directories found matching 'doc\build'
  writing manifest file 'pygraphviz.egg-info\SOURCES.txt'
  copying pygraphviz\graphviz.i -> build\lib.win-amd64-2.7\pygraphviz
  copying pygraphviz\graphviz_wrap.c -> build\lib.win-amd64-2.7\pygraphviz
  running build_ext
  building 'pygraphviz._graphviz' extension
  creating build\temp.win-amd64-2.7
  creating build\temp.win-amd64-2.7\Release
  creating build\temp.win-amd64-2.7\Release\pygraphviz
  C:\Users\yadav\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Users\yadav\Anaconda2\include -IC:\Users\yadav\Anaconda2\PC /Tcpygraphviz/graphviz_wrap.c /Fobuild\temp.win-amd64-2.7\Release\pygraphviz/graphviz_wrap.obj
  graphviz_wrap.c
  pygraphviz/graphviz_wrap.c(2954) : fatal error C1083: Cannot open include file: 'graphviz/cgraph.h': No such file or directory
  error: command 'C:\\Users\\yadav\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2

  ----------------------------------------
  Failed building wheel for pygraphviz
  Running setup.py clean for pygraphviz
Failed to build PySqlite pygraphviz
tgext-registration 0.1.dev0 requires repoze.who.plugins.openid>=0.5, which is not installed.
tgext-registration 0.1.dev0 requires tw.jquery, which is not installed.
distributed 1.21.8 requires msgpack, which is not installed.
grin 1.2.1 requires argparse>=1.1, which is not installed.
tgapp-registration 0.9.3 has requirement TurboGears2>=2.3.1, but you'll have turbogears2 2.1.5 which is incompatible.
linesman 0.3.2 has requirement networkx==1.7, but you'll have networkx 1.8 which is incompatible.
jinja2 2.10 has requirement MarkupSafe>=0.23, but you'll have markupsafe 0.21 which is incompatible.
sphinx 1.7.4 has requirement Pygments>=2.0, but you'll have pygments 1.6 which is incompatible.
tgext-pluggable 0.7.2 has requirement TurboGears2>=2.2.0, but you'll have turbogears2 2.1.5 which is incompatible.



I search for the same problem on various forums.People have faced similar problems with "Graphviz" installation.
Various solutions were provided.

Solution Available : 

# Windows
# Unknown - use command line -I and -L switches to set
library_dirs='C:/Program Files (x86)/Graphviz2.38/lib/release/lib'
include_dirs='C:/Program Files (x86)/Graphviz2.38/include'
I tried downloading Graphvoz for windows but could not find it. tried it downloading for anaconda and directly for Windows. Then i downloaded the package "graphviz-2.38" for windows
explicitly and kept it directly at the path 'C:/Program Files (x86).

Still got the same error
Then provided the path as 
pip install --global-option=build_ext --global-option="-IC:\Program Files (x86)\Graphviz2.38\include" --global-option="-LC:\Program Files (x86)\Graphviz2.38\lib\release\lib" pygraphviz
Still the same problem
Please suggest the soltuion to this. I have attached the complete logs file in attachment.

Thank you
Logs.txt

kgk

unread,
Jul 4, 2018, 10:26:06 PM7/4/18
to bisque-...@googlegroups.com
We suggest using libraries from here: https://www.lfd.uci.edu/~gohlke/pythonlibs/

--
You received this message because you are subscribed to the Google Groups "bisque bioimage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bisque-bioima...@googlegroups.com.
To post to this group, send email to bisque-...@googlegroups.com.
Visit this group at https://groups.google.com/group/bisque-bioimage.
For more options, visit https://groups.google.com/d/optout.


--
Kristian G. Kvilekval (kkvil...@gmail.com) 805-636-1599

satish yadav

unread,
Jul 10, 2018, 2:24:26 PM7/10/18
to bisque bioimage
e1: Services enabled [engine_service]? engine_service
e1: Services disabled []?
Created paster config:  .\config\e1_paster.cfg
CALLING  <function install_mail at 0x0000000009F5FE48>
An Unknown exception occured 'mail.smtp.server'
During setup:
Exception:
Traceback (most recent call last):

  File "C:\Users\yadav\bisque\bqcore\bq\setup\bisque_setup.py", line 3127, in setup
    r  = bisque_installer(options, args)

  File "C:\Users\yadav\bisque\bqcore\bq\setup\bisque_setup.py", line 2940, in bisque_installer
    params, runtime_params = step (params, runtime_params)

  File "C:\Users\yadav\bisque\bqcore\bq\setup\bisque_setup.py", line 1918, in install_mail
    params['mail.smtp.server'] = os.getenv('MAIL_SERVER', params['mail.smtp.server'])

KeyError: 'mail.smtp.server'


I am facing this error
Can anyone suggest?

Regards
Satish 

kgk

unread,
Jul 10, 2018, 2:38:24 PM7/10/18
to bisque-...@googlegroups.com
You did not provide a valid email server.  You need a mail server that can accept smtp connection and deliver an email to an internet host.  This can be installed on your local server or your institution may have one available 

satish yadav

unread,
Jul 10, 2018, 4:00:32 PM7/10/18
to bisque bioimage
Thank you Kris for the reply.
It did not ask for any email server during the question answer during the setup. Can you please tell me where specifically do i need to put ?
Reply all
Reply to author
Forward
0 new messages