Page MenuHome

problem trying to build blender docs (on windows 10)
Closed, ArchivedPublic

Description

i am trying to install the blender docs system on win 10 so that i can help edit the docs. i have followed or tried to follow the instructions on these pages:

https://docs.blender.org/manual/en/dev/about/contribute/install/windows.html
https://docs.blender.org/manual/en/dev/about/contribute/build/windows.html

things seemed to go all right with the install, though i got this text in red:

Exception:
Traceback (most recent call last):

File "c:\program files (x86)\python36-32\lib\site-packages\pip\basecommand.py", line 215, in main
  status = self.run(options, args)
File "c:\program files (x86)\python36-32\lib\site-packages\pip\commands\install.py", line 342, in run
  prefix=options.prefix_path,
File "c:\program files (x86)\python36-32\lib\site-packages\pip\req\req_set.py", line 784, in install
  **kwargs
File "c:\program files (x86)\python36-32\lib\site-packages\pip\req\req_install.py", line 851, in install
  self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "c:\program files (x86)\python36-32\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files
  isolated=self.isolated,
File "c:\program files (x86)\python36-32\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files
  clobber(source, lib_dir, True)
File "c:\program files (x86)\python36-32\lib\site-packages\pip\wheel.py", line 316, in clobber
  ensure_dir(destdir)
File "c:\program files (x86)\python36-32\lib\site-packages\pip\utils\__init__.py", line 83, in ensure_dir
  os.makedirs(path)
File "c:\program files (x86)\python36-32\lib\os.py", line 220, in makedirs
  mkdir(name, mode)

PermissionError: [WinError 5] Access is denied: 'c:\\program files (x86)\\python36-32\\Lib\\site-packages\\pytz'

also i got this in light green text:

You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

i tried to upgrade pip, but the upgrade failed. i have no idea whether any of the above matters - are they warnings or errors? well ok, they are exceptions, but i don't know what exception means in terms of severity.

the real problem, however, is when i try the 'make' command on the build page. i get this:

c:\blender_docs>make
No command given, defaulting to html.

'sphinx-build' is not recognized as an internal or external command, operable program or batch file.

i have tried explicitly installing babel in case it didn't get installed during the requirements.txt phase, but i still get the same error when i try the 'make' command. i completely stuck i think until and unless i can get past this blockage.

thanks,
julian

Event Timeline

Julian (juliand) lowered the priority of this task from 90 to Normal.Apr 4 2018, 3:28 PM
Julian (juliand) created this task.
Ray Molenkamp (LazyDodo) changed the task status from Unknown Status to Unknown Status.Apr 4 2018, 3:51 PM
Ray Molenkamp (LazyDodo) claimed this task.

from the bug report page

What not to report here

- Compile or build issues, ask on #blendercoders or mail bf-committers.

That being said, you installed python into program files, where you do not have write permissions as a regular user, install python somewhere else and you'll be allright. however due to tracker policy i do have to close this ticket.

You installed python 32 bit, are you really running 32bit windows 10? It seems you dont have read/write access to c:\program files (x86)\python36-32\

Try installing pip // run pip install as an admin.

I would recommend when installing python install it on a per-user basis so it gets installed into the AppData folder.

i don't know whether i am allowed to add anything here or whether it will just be rejected as the ticket is closed. anyway, thank you for the above comments which i will follow up on. i am using win 10 64 bit. i installed python quite a long time ago when doing a lynda.com python course. i did not know about not installing it to program files nor do i know why i have ended up with 32 bit python. i will try running the pip install from a c prompt started as admin and see whether that helps. i suppose running as admin might also solve with the installation problem too, though i appreciate that might not be what i am really supposed to do and it won't help the 32 bit problem!