Hi Atsushi Odagiri,

I've got the solution. I've removed the folder as you sugested, and then I 
installed sphinx again with the pip comand. But then, there were an error 
with docutils, jinja2, and markupsafe. I've tried to uninstall all of them 
and then to install one by one. And it work! don't ask me how. This is what 
I've donne:

C:\Python27>pip install sphinx
Downloading/unpacking sphinx
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.3 in 
c:\python27\lib\site-packages\jinja2-2.7.3-py2.7.egg (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): Pygments>=1.2 in 
c:\python27\lib\site-packages\pygments-1.6-py2.7.egg (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): docutils>=0.7 in 
c:\python27\lib\site-packages\docutils-0.12-py2.7.egg (from sphinx)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in 
c:\python27\lib\site-packages\markupsafe-0.23-py2.7.egg (from 
Jinja2>=2.3->sphinx)
Installing collected packages: sphinx
Successfully installed sphinx
Cleaning up...

C:\Python27>sphinx-build
Error: The Docutils library cannot be found. Did you install Sphinx and its 
dependencies correctly?

C:\Python27>pip install docutils
Requirement already satisfied (use --upgrade to upgrade): docutils in 
c:\python27\lib\site-packages\docutils-0.12-py2.7.egg
Cleaning up...

C:\Python27>pip uninstall docutils
Uninstalling docutils:
  c:\python27\lib\site-packages\docutils-0.12-py2.7.egg
Proceed (y/n)? y
  Successfully uninstalled docutils

C:\Python27>pip install docutils
Downloading/unpacking docutils
  Running setup.py 
(path:c:\users\x046895\appdata\local\temp\pip_build_X046895\docutils\setup.py) 
egg_info for package docutils

    warning: no files found matching 'MANIFEST'
    warning: no files found matching '*' under directory 'extras'
    warning: no previously-included files matching '.cvsignore' found under 
directory '*'
    warning: no previously-included files matching '*.pyc' found under 
directory '*'
    warning: no previously-included files matching '*~' found under 
directory '*'
    warning: no previously-included files matching '.DS_Store' found under 
directory '*'
Installing collected packages: docutils
  Running setup.py install for docutils

    warning: no files found matching 'MANIFEST'
    warning: no files found matching '*' under directory 'extras'
    warning: no previously-included files matching '.cvsignore' found under 
directory '*'
    warning: no previously-included files matching '*.pyc' found under 
directory '*'
    warning: no previously-included files matching '*~' found under 
directory '*'
    warning: no previously-included files matching '.DS_Store' found under 
directory '*'
Successfully installed docutils
Cleaning up...

C:\Python27>sphinx-build
Error: The Jinja2 library cannot be found. Did you install Sphinx and its 
dependencies correctly?

C:\Python27>pip install jinja2
Requirement already satisfied (use --upgrade to upgrade): jinja2 in 
c:\python27\lib\site-packages\jinja2-2.7.3-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): markupsafe in 
c:\python27\lib\site-packages\markupsafe-0.23-py2.7.egg (from jinja2)
Cleaning up...

C:\Python27>sphinx-build
Error: The Jinja2 library cannot be found. Did you install Sphinx and its 
dependencies correctly?

C:\Python27>pip uninstall jinja2
Uninstalling jinja2:
  c:\python27\lib\site-packages\jinja2-2.7.3-py2.7.egg
Proceed (y/n)? y
  Successfully uninstalled jinja2

C:\Python27>pip install jinja2
Downloading/unpacking jinja2
  Running setup.py 
(path:c:\users\x046895\appdata\local\temp\pip_build_X046895\jinja2\setup.py) 
egg_info for package jinja2

    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under 
directory 'docs\_build'
    warning: no previously-included files matching '*.pyc' found under 
directory 'jinja2'
    warning: no previously-included files matching '*.pyc' found under 
directory 'docs'
    warning: no previously-included files matching '*.pyo' found under 
directory 'jinja2'
    warning: no previously-included files matching '*.pyo' found under 
directory 'docs'
Requirement already satisfied (use --upgrade to upgrade): markupsafe in 
c:\python27\lib\site-packages\markupsafe-0.23-py2.7.egg (from jinja2)
Installing collected packages: jinja2
  Running setup.py install for jinja2

    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under 
directory 'docs\_build'
    warning: no previously-included files matching '*.pyc' found under 
directory 'jinja2'
    warning: no previously-included files matching '*.pyc' found under 
directory 'docs'
    warning: no previously-included files matching '*.pyo' found under 
directory 'jinja2'
    warning: no previously-included files matching '*.pyo' found under 
directory 'docs'
Successfully installed jinja2
Cleaning up...

C:\Python27>sphinx-build
Error: The markupsafe module cannot be found. Did you install Sphinx and 
its dependencies correctly?

C:\Python27>pip install markupsafe
Requirement already satisfied (use --upgrade to upgrade): markupsafe in 
c:\python27\lib\site-packages\markupsafe-0.23-py2.7.egg
Cleaning up...

C:\Python27>pip uninstall markupsafe
Uninstalling markupsafe:
  c:\python27\lib\site-packages\markupsafe-0.23-py2.7.egg
Proceed (y/n)? y
  Successfully uninstalled markupsafe

C:\Python27>pip install markupsafe
Downloading/unpacking markupsafe
  Downloading MarkupSafe-0.23.tar.gz
  Running setup.py 
(path:c:\users\x046895\appdata\local\temp\pip_build_X046895\markupsafe\setup.py)
 
egg_info for package markupsafe

Installing collected packages: markupsafe
  Running setup.py install for markupsafe

    building 'markupsafe._speedups' extension
    
==========================================================================
    WARNING: The C extension could not be compiled, speedups are not 
enabled.
    Failure information, if any, is above.
    Retrying the build without the C extension now.


    
==========================================================================
    WARNING: The C extension could not be compiled, speedups are not 
enabled.
    Plain-Python installation succeeded.
    
==========================================================================
Successfully installed markupsafe
Cleaning up...

C:\Python27>sphinx-build
Error: Insufficient arguments.

Sphinx v1.2.3
Usage: C:\Python27\Scripts\sphinx-build [options] sourcedir outdir 
[filenames...]
....

C:\Python27>sphinx-quickstart
Welcome to the Sphinx 1.2.3 quickstart utility.

Please enter values for the following settings (just press Enter to
accept a default value, if one is given in brackets).

Enter the root path for documentation.
> Root path for the documentation [.]:




El miércoles, 18 de febrero de 2015, 14:29:33 (UTC+1), Atsushi Odagiri 
escribió:
>
> hi, Javi
>
> i think you should remove sphinx-1.2.3.dist-info before retrying.
> you have the old version metadata of sphinx.
>  
> On 2015年2月18日(水) 午後10:14 null <[email protected] <javascript:>> wrote:
>
>> Thanks for your reply. According to the instructions of sphinx site web:
>>
>> Ive traied now with PIP command, and it looks like the installation 
>> process works fine but then I tip *sphinx-build* and we have the same 
>> results as before:
>>
>> This is what I have:
>>
>> C:\>pip install sphinx
>> Requirement already satisfied (use --upgrade to upgrade): sphinx in 
>> c:\python27
>> Cleaning up...
>>
>> C:\>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 r
>> equire
>>     needed = self.resolve(parse_requirements(requirements))
>>   File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 
>> 815, in r
>> esolve
>>     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\\ME
>> TADATA'
>>
>> Regards,
>>
>> Javi
>>
>> El miércoles, 18 de febrero de 2015, 11:30:30 (UTC+1), Takayuki 
>> SHIMIZUKAWA escribió:
>>>
>>> Hi,
>>>
>>
>>>
>>> On Wed Feb 18 2015 at 17:54:45 <[email protected]> wrote:
>>>
>>>> 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:
>>>>
>>>
>>> My environment is Win8.1, Python-2.7.9, setuptools-12.2.
>>> However I can't reproduce your issue.
>>>
>>> Why don't you use pip instead of easy_install.
>>> Please refer to updated instruction page
>>> http://sphinx-doc.org/latest/install.html 
>>> <http://www.google.com/url?q=http%3A%2F%2Fsphinx-doc.org%2Flatest%2Finstall.html&sa=D&sntz=1&usg=AFQjCNE9aKbDIeXl5v9n3tQ9u8SeAxTndA>
>>>
>>> Regards,
>>> --
>>> Takayuki SHIMIZUKAWA
>>> http://about.me/shimizukawa
>>>
>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/sphinx-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.

Reply via email to