Mike,

One question I realized that I forgot to ask here: Do you actually need to
be able to build the RDKit from source? Couldn't you just "conda install
rdkit" and go? If we get the cartridge working on windows via conda, then
you'll be able to install this the same way.

Unless you're planning on working on/modifying the RDKit code itself, you
likely don't need to build it.

-greg


On Tue, Nov 29, 2016 at 12:13 PM, Mike Mazanetz <
mi...@novadatasolutions.co.uk> wrote:

> Hello RDKit Forum,
>
>
>
> I’ve been using RDkit to several years through KNIME and have found it
> thoroughly useful.  I’ve taken the next step and decided to try the
> Postgres Cartridge, but I’ve had issues building RDKit on Windows.
>
> Has anyone encountered had success using Anaconda3 to build RDKit?  I get
> this message – which I’ve not found sufficient answers for from the conda
> github:
>
>
>
> Directory of C:\NovaData\Software\RDKit\conda-rdkit-master
>
>
>
> 28/11/2016  20:48    <DIR>          .
>
> 28/11/2016  20:48    <DIR>          ..
>
> 28/11/2016  05:45                 3 .gitignore
>
> 28/11/2016  05:45    <DIR>          boost
>
> 28/11/2016  05:45    <DIR>          cairocffi
>
> 28/11/2016  05:45    <DIR>          cairo_nox
>
> 28/11/2016  05:45    <DIR>          django-rdkit
>
> 28/11/2016  05:45             2,626 Dockerfile
>
> 28/11/2016  05:45    <DIR>          eigen
>
> 28/11/2016  05:45    <DIR>          ncurses
>
> 28/11/2016  05:45    <DIR>          nox
>
> 28/11/2016  05:45    <DIR>          pixman
>
> 28/11/2016  05:45    <DIR>          postgresql
>
> 28/11/2016  05:45    <DIR>          postgresql95
>
> 28/11/2016  05:45    <DIR>          rdkit
>
> 28/11/2016  05:45    <DIR>          rdkit-postgresql
>
> 28/11/2016  05:45    <DIR>          rdkit-postgresql95
>
> 28/11/2016  05:45             6,626 README.rst
>
>                3 File(s)          9,255 bytes
>
>               15 Dir(s)  360,784,285,696 bytes free
>
>
>
> C:\NovaData\Software\RDKit\conda-rdkit-master>conda build boost
>
> BUILD START: boost-1.59.0-py35_3
>
> updating index in: C:\Users\NovaData\conda-bld\win-64
>
> updating index in: C:\Users\NovaData\conda-bld\noarch
>
>
>
> The following packages will be downloaded:
>
>
>
>     package                    |            build
>
>     ---------------------------|-----------------
>
>     pip-9.0.1                  |           py35_0         1.7 MB
>
>
>
> The following NEW packages will be INSTALLED:
>
>
>
>     bzip2:          1.0.6-vc14_3  [vc14] (copy)
>
>     pip:            9.0.1-py35_0
>
>     python:         3.5.2-0       (copy)
>
>     setuptools:     27.2.0-py35_1 (copy)
>
>     vs2015_runtime: 14.0.25123-0  (copy)
>
>     wheel:          0.29.0-py35_0 (copy)
>
>     zlib:           1.2.8-vc14_3  [vc14] (copy)
>
>
>
> WARNING conda.lock:touch(53): Failed to create lock, do not run conda in
> parallel processes [errno 13]
>
> Traceback (most recent call last):
>
>   File "C:\Program Files\Anaconda3\Scripts\conda-build-script.py", line
> 5, in <module>
>
>     sys.exit(conda_build.cli.main_build.main())
>
>   File "C:\Program 
> Files\Anaconda3\lib\site-packages\conda_build\cli\main_build.py",
> line 246, in main
>
>     execute(sys.argv[1:])
>
>   File "C:\Program 
> Files\Anaconda3\lib\site-packages\conda_build\cli\main_build.py",
> line 238, in execute
>
>     already_built=None, config=config)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda_build\api.py",
> line 83, in build
>
>     need_source_download=need_source_download, config=config)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda_build\build.py",
> line 1004, in build_tree
>
>     config=recipe_config)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda_build\build.py",
> line 561, in build
>
>     create_env(config.build_prefix, specs, config=config)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda_build\build.py",
> line 431, in create_env
>
>     plan.execute_actions(actions, index, verbose=config.debug)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda\plan.py", line
> 643, in execute_actions
>
>     inst.execute_instructions(plan, index, verbose)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda\instructions.py",
> line 134, in execute_instructions
>
>     cmd(state, arg)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda\instructions.py",
> line 58, in EXTRACT_CMD
>
>     extract(arg)
>
>   File "C:\Program Files\Anaconda3\lib\site-packages\conda\install.py",
> line 801, in extract
>
>     t.extractall(path=temp_path)
>
>   File "C:\Program Files\Anaconda3\lib\tarfile.py", line 1996, in
> extractall
>
>     numeric_owner=numeric_owner)
>
>   File "C:\Program Files\Anaconda3\lib\tarfile.py", line 2038, in extract
>
>     numeric_owner=numeric_owner)
>
>   File "C:\Program Files\Anaconda3\lib\tarfile.py", line 2100, in
> _extract_member
>
>     os.makedirs(upperdirs)
>
>   File "C:\Program Files\Anaconda3\lib\os.py", line 231, in makedirs
>
>     makedirs(head, mode, exist_ok)
>
>   File "C:\Program Files\Anaconda3\lib\os.py", line 241, in makedirs
>
>     mkdir(name, mode)
>
> PermissionError: [WinError 5] Access is denied: 'C:\\Program
> Files\\Anaconda3\\pkgs\\vs2015_runtime-14.0.25123-0.tmp'
>
>
>
>
>
> I’m using Anaconda3 on Windows 10.
>
> Thanks for your help !
>
> ./mike
>
>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
------------------------------------------------------------------------------
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to