Hi,
Iam having an error when I try to install sphinx on windows 7.
Ive already installed Python 2.7.9, added C:\Python27 and
C:\Python27\Scripts to the to the environment variable PATH, installed the
easy_install command (setuptools 12.2) and finally tried to install sphinx
with easy_install, but I obtain this:
C:\>easy_install sphinx
Searching for sphinx
Best match: Sphinx 1.2.3
Adding Sphinx 1.2.3 to easy-install.pth file
Installing sphinx-apidoc-script.py script to C:\Python27\Scripts
Installing sphinx-apidoc.exe script to C:\Python27\Scripts
Installing sphinx-build-script.py script to C:\Python27\Scripts
Installing sphinx-build.exe script to C:\Python27\Scripts
Installing sphinx-quickstart-script.py script to C:\Python27\Scripts
Installing sphinx-quickstart.exe script to C:\Python27\Scripts
Installing sphinx-autogen-script.py script to C:\Python27\Scripts
Installing sphinx-autogen.exe script to C:\Python27\Scripts
Using c:\python27
Processing dependencies for sphinx
error: [Errno 2] No such file or directory:
'c:\\python27\\Sphinx-1.2.3.dist-info\\METADATA'
I've created a new folder "METADATA" inside Sphinx-1.2.3.dist-info but then
I receive this:
C:\>easy_install sphinx
Searching for sphinx
Best match: Sphinx 1.2.3
Adding Sphinx 1.2.3 to easy-install.pth file
Installing sphinx-apidoc-script.py script to C:\Python27\Scripts
Installing sphinx-apidoc.exe script to C:\Python27\Scripts
Installing sphinx-build-script.py script to C:\Python27\Scripts
Installing sphinx-build.exe script to C:\Python27\Scripts
Installing sphinx-quickstart-script.py script to C:\Python27\Scripts
Installing sphinx-quickstart.exe script to C:\Python27\Scripts
Installing sphinx-autogen-script.py script to C:\Python27\Scripts
Installing sphinx-autogen.exe script to C:\Python27\Scripts
Using c:\python27
Processing dependencies for sphinx
error: [Errno 13] Permission denied:
'c:\\python27\\Sphinx-1.2.3.dist-info\\METADATA'
When I try to run the build command *sphinx-build* on the command prompt
the result is:
C:\Python27>sphinx-build
Traceback (most recent call last):
File "C:\Python27\Scripts\sphinx-build-script.py", line 5, in <module>
from pkg_resources import load_entry_point
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line
3020, in <module>
working_set = WorkingSet._build_master()
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 614,
in _build_master
ws.require(__requires__)
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 920,
in require
needed = self.resolve(parse_requirements(requirements))
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 815,
in resolve
new_requirements = dist.requires(req.extras)[::-1]
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line
2552, in requires
dm = self._dep_map
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line
2753, in _dep_map
self.__dep_map = self._compute_dependencies()
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line
2775, in _compute_dependencies
for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line
2744, in _parsed_pkg_info
metadata = self.get_metadata(self.PKG_INFO)
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line
1581, in get_metadata
return self._get(self._fn(self.egg_info, name))
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line
1692, in _get
with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied:
'c:\\python27\\Sphinx-1.2.3.dist-info\\METADATA'
And if I run sphinx-quickstart the results are the same.
Thanks for your help!
Javi
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.