python 2 libraries got installed instead of python3

40 views Asked by At

I'm trying to build a python project with custom make file. This project has requirements.txt file which has many dependencies. All other dependencies except nose are installing properly (Python 3 modules) but only for nose it's installing python 2 modules. Below is the output while running testcases

Couldn't run '/home/user/user_Workspace/project-0.4-os11-lib64/project/lib/nose/core.py' as Python code: SyntaxError: invalid syntax (core.py, line 153)
make-4.3[1]: *** [//project/custommake:161: //project/test-factory-utils] Error 1
make-4.3[1]: Leaving directory '//project'
E       [core] custommake failed with exit code 2
make: *** [/home/user/user_Workspace/project-0.4-os11-lib64/custommake/custommake-bootstrap-setup.mak:275: bootstrap] Error 2

It used to work fine till few days back but suddenly started giving this issue recently. What might went wrong here ?

0

There are 0 answers