[OpenStack-docs] Trying to run tox -e py27

Gauvain Pocentek gauvain.pocentek at objectif-libre.com
Wed May 27 04:03:21 UTC 2015


Hi,

Le 2015-05-26 17:56, Randy_Perryman at Dell.com a écrit :
> DELL - INTERNAL USE - CONFIDENTIAL
> 
> Apologies,
> 
> I should of updated my install inforomaiton
> 
> I decided as the getting started are written from a Linux
> perspective, I should try that and understand how they work before
> porting into Windows.
> 
> I am now running on Fedora 20 VM with 4 CPU/8GBRAM/40GBHDD
> 
> Installed
> 
> Python 2.7.5
> 
> pip 1.4.1 from /usr/lib/python2.7/site-packages (python 2.7)
> 
> tox 2.0.1 imported from 
> /usr/lib/python2.7/site-packages/tox/__init__.pyc
> 
> When I run
> 
> tox –e py27  from openstack-manuals top level I get the following:
> 
> ERROR:   py27: could not install deps
> [-r/home/randy/Github/openstack/openstack-manuals/test-requirements.txt];
> v =
> InvocationError('/home/randy/Github/openstack/openstack-manuals/.tox/py27/bin/pip
> install
> -r/home/randy/Github/openstack/openstack-manuals/test-requirements.txt
> (see
> /home/randy/Github/openstack/openstack-manuals/.tox/py27/log/py27-1.log)',
> 1)
> 
> Looking at the log the first error listed is:
> 
> Building wheels for collected packages: lxml
> 
>   Running setup.py bdist_wheel for lxml
> 
>   Complete output from command
> /home/randy/Github/openstack/openstack-manuals/.tox/py27/bin/python2.7
> -c "import
> setuptools;__file__='/tmp/pip-build-RnsK67/lxml/setup.py';exec(compile(open(__file__).read().replace('rn',
> 'n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpdQjRs9pip-wheel-:
> 
>   /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown
> distribution option: 'bugtrack_url'
> 
>     warnings.warn(msg)
> 
>   Building lxml version 3.4.4.
> 
>   Building without Cython.
> 
>   ERROR: /bin/sh: xslt-config: command not found

You need to install the libxslt development package. I'm not sure how 
it's called in fedora, maybe something like libxslt-devel.

Gauvain

> 
> -Randy
> 
> FROM: Matt Kassawara [mailto:mkassawara at gmail.com]
> SENT: Tuesday, May 26, 2015 10:14 AM
> TO: Perryman, Randy
> CC: openstack-docs at lists.openstack.org
> SUBJECT: Re: [OpenStack-docs] Trying to run tox -e py27
> 
> Bash shouldn't be interpreting those arguments.
> 
> On Tue, May 26, 2015 at 8:54 AM, <Randy_Perryman at dell.com> wrote:
> 
>> Found that the command
>> 
>> tox –e py27 is failing on the item:
>> 
>> tox install sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
>> 
>> -bash: 1.3: no such file or directory
>> 
>> As I am not familiar with pip syntax not sure if the ,<1.3 is valid
>> 
>>  
>> 
>>  
>> 
>> -RANDY
>> 
>> _______________________________________________
>> OpenStack-docs mailing list
>> OpenStack-docs at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs 
>> [1]
> 
> 
> 
> Links:
> ------
> [1] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
> 
> _______________________________________________
> OpenStack-docs mailing list
> OpenStack-docs at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs

Gauvain Pocentek

Objectif Libre - Infrastructure et Formations Linux
http://www.objectif-libre.com



More information about the OpenStack-docs mailing list