Ask Your Question

import errors while running test-cases with tox -e py34

asked 2016-11-18 08:46:27 -0500

goutham pratapa gravatar image

HI all,

I have added a new file to my repository and while running test-cases they are getting executed if we use sudo tox -v -epy27 . But, I am getting *--- import errors --- Failed to import test module: * 'while running sudo tox -v -epy34

my requirements and test-requirements.txt respectively are


cliff>=2.3.0 # Apache-2.0 osc-lib>=1.2.0 # Apache-2.0 oslo.utils>=3.18.0 # Apache-2.0 pbr>=1.8 # Apache-2.0 python-keystoneclient>=3.6.0 # Apache-2.0 PyYAML>=3.10.0 # MIT requests>=2.10.0 # Apache-2.0 six>=1.9.0 # MIT stevedore>=1.17.1 # Apache-2.0


hacking<0.11,>=0.10 python-openstackclient>=3.3.0 # Apache-2.0 sphinx!=1.3b1,<1.4,>=1.2.1 # BSD mock>=2.0 # BSD nose # LGPL oslotest>=1.10.0 # Apache-2.0 requests-mock>=1.1 # Apache-2.0 tempest>=12.1.0 # Apache-2.0 osprofiler>=1.4.0 # Apache-2.0 reno>=1.8.0 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0

any help??

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-18 10:59:20 -0500

Could you please paste the complete traceback, using Also, ensure that you have python3.4-dev installed.

edit flag offensive delete link more

Comments (

i have installed python3.4-dev but still i am having errors :(

goutham pratapa gravatar imagegoutham pratapa ( 2016-11-18 20:50:11 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-18 08:45:50 -0500

Seen: 71 times

Last updated: Nov 18 '16