How to remove Profiling *.gcda:Cannot open errors with python virtualenv builder?

前端 未结 3 2044
悲&欢浪女
悲&欢浪女 2020-12-18 01:04

In jenkins output I am getting the following errors. Is this a problem or can it be silenced?

profiling:/opt/Python-3.6.1/Python/structmember.gc         


        
3条回答
  •  -上瘾入骨i
    2020-12-18 01:42

    This happened to me when I did ./configure --enable-optimizations. If you remove --enable-optimizations, compile and install it again - these messages are not shown anymore.

    To sum things up, here's an example with a fresh version of Python:

    wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz
    tar xvf Python-3.6.3.tgz
    cd Python-3.6.3
    ./configure
    make
    sudo make altinstall
    python3.6
    

提交回复
热议问题