Skip to content

Can't install on Ubuntu 16.04 #654

Closed

Description

@aushani

Environment

  • Pythonnet version: master and 2.3.0
  • Python version: 2.7.12
  • Operating System: Ubuntu 16.04

Details

Trying to install using pip, I get the following errors for master and 2.3.0

$ pip install git+https://github.com/pythonnet/pythonnet
Collecting git+https://github.com/pythonnet/pythonnet
  Cloning https://github.com/pythonnet/pythonnet to /tmp/pip-jY3N1G-build
Installing collected packages: pythonnet
  Running setup.py install for pythonnet ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-jY3N1G-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-Xvwc8d-record/install-record.txt --single-version-externally-managed --compile:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help
    
    error: option --single-version-externally-managed not recognized
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-jY3N1G-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-Xvwc8d-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-jY3N1G-build/

And

$ sudo -H pip install pythonnet
Collecting pythonnet
  Using cached pythonnet-2.3.0.tar.gz
Building wheels for collected packages: pythonnet
  Running setup.py bdist_wheel for pythonnet ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2paJ4D/pythonnet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpAYPkUUpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_ext
  Checking for updates from https://www.nuget.org/api/v2/.
  Currently running NuGet.exe 3.5.0.
  Updating NuGet.exe to 4.5.1.
  Update successful.
  MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.
  Restoring NuGet package NUnit.3.6.0.
  Restoring NuGet package UnmanagedExports.1.2.7.
  Restoring NuGet package NUnit.ConsoleRunner.3.6.0.
  Adding package 'NUnit.3.6.0' to folder '/tmp/pip-build-2paJ4D/pythonnet/packages'
  Adding package 'UnmanagedExports.1.2.7' to folder '/tmp/pip-build-2paJ4D/pythonnet/packages'
  Adding package 'NUnit.ConsoleRunner.3.6.0' to folder '/tmp/pip-build-2paJ4D/pythonnet/packages'
  Added package 'UnmanagedExports.1.2.7' to folder '/tmp/pip-build-2paJ4D/pythonnet/packages'
  Added package 'NUnit.ConsoleRunner.3.6.0' to folder '/tmp/pip-build-2paJ4D/pythonnet/packages'
  Added package 'NUnit.3.6.0' to folder '/tmp/pip-build-2paJ4D/pythonnet/packages'
  
  NuGet Config files used:
      /root/.config/NuGet/NuGet.Config
  
  Feeds used:
      /root/.nuget/packages/
      https://api.nuget.org/v3/index.json
  
  Installed:
      3 package(s) to packages.config projects
  
  >>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
  
  XBuild Engine Version 14.0
  Mono, Version 5.10.1.20
  Copyright (C) 2005-2013 Various Mono authors
  
  >>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
  
  XBuild Engine Version 14.0
  Mono, Version 5.10.1.20
  Copyright (C) 2005-2013 Various Mono authors
  		Configuration: ReleaseMono Platform: x64
  /tmp/pip-build-2paJ4D/pythonnet/src/runtime/Python.Runtime.csproj: error : Error executing task Copy: Error converting Property named 'SourceFiles' with value '$(TargetAssemblyPdb)' to type Microsoft.Build.Framework.ITaskItem[]: Can't concatenate Item list with other strings where an item list is expected ('@(_OutDirItem->'%(FullPath)')', 'Python.Runtime.pdb'). Use semi colon to separate items.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-2paJ4D/pythonnet/setup.py", line 405, in <module>
      zip_safe=False,
    File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 129, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 204, in run
      self.run_command('build')
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
      self.run_command(cmd_name)
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/usr/lib/python2.7/distutils/command/build_ext.py", line 448, in build_extensions
      self.build_extension(ext)
    File "/tmp/pip-build-2paJ4D/pythonnet/setup.py", line 222, in build_extension
      subprocess.check_call(" ".join(cmd + ["/t:Build"]), shell=use_shell)
    File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command 'xbuild pythonnet.sln /p:Configuration=ReleaseMono /p:Platform=x64 /p:DefineConstants="PYTHON27,PYTHON2,UCS4,MONO_LINUX,PYTHON_WITHOUT_ENABLE_SHARED" /p:PythonBuildDir="/tmp/pip-build-2paJ4D/pythonnet/build/lib.linux-x86_64-2.7" /p:PythonInteropFile="interop27.cs" /verbosity:minimal /t:Build' returned non-zero exit status 1
  
  ----------------------------------------
  Failed building wheel for pythonnet
  Running setup.py clean for pythonnet
Failed to build pythonnet
Installing collected packages: pythonnet
  Running setup.py install for pythonnet ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2paJ4D/pythonnet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-e6eIuH-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    Checking for updates from https://www.nuget.org/api/v2/.
    Currently running NuGet.exe 4.5.1.
    NuGet.exe is up to date.
    MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.
    All packages listed in packages.config are already installed.
    
    >>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
    
    XBuild Engine Version 14.0
    Mono, Version 5.10.1.20
    Copyright (C) 2005-2013 Various Mono authors
    
    >>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
    
    XBuild Engine Version 14.0
    Mono, Version 5.10.1.20
    Copyright (C) 2005-2013 Various Mono authors
    		Configuration: ReleaseMono Platform: x64
    /tmp/pip-build-2paJ4D/pythonnet/src/runtime/Python.Runtime.csproj: error : Error executing task Copy: Error converting Property named 'SourceFiles' with value '$(TargetAssemblyPdb)' to type Microsoft.Build.Framework.ITaskItem[]: Can't concatenate Item list with other strings where an item list is expected ('@(_OutDirItem->'%(FullPath)')', 'Python.Runtime.pdb'). Use semi colon to separate items.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-2paJ4D/pythonnet/setup.py", line 405, in <module>
        zip_safe=False,
      File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
        self.run_command('build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
        self.build_extensions()
      File "/usr/lib/python2.7/distutils/command/build_ext.py", line 448, in build_extensions
        self.build_extension(ext)
      File "/tmp/pip-build-2paJ4D/pythonnet/setup.py", line 222, in build_extension
        subprocess.check_call(" ".join(cmd + ["/t:Build"]), shell=use_shell)
      File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command 'xbuild pythonnet.sln /p:Configuration=ReleaseMono /p:Platform=x64 /p:DefineConstants="PYTHON27,PYTHON2,UCS4,MONO_LINUX,PYTHON_WITHOUT_ENABLE_SHARED" /p:PythonBuildDir="/tmp/pip-build-2paJ4D/pythonnet/build/lib.linux-x86_64-2.7" /p:PythonInteropFile="interop27.cs" /verbosity:minimal /t:Build' returned non-zero exit status 1
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2paJ4D/pythonnet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-e6eIuH-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-2paJ4D/pythonnet/

Activity

  1. dmitriyse commented on Apr 3, 2018

    @dmitriyse
    Contributor

    Probably it's a setup.py bug that can be reproduced only in special environment state

  2. aushani commented on Apr 3, 2018

    @aushani
    Author

    My environment really isn't anything special. It's just your standard Ubuntu 16.04. What are my options?

  3. dmitriyse commented on Apr 3, 2018

    @dmitriyse
    Contributor

    Please try to install from the https://github.com/pythonnet/pythonnet/tree/featured branch
    Otherwise somebody from the core team should try to reproduce your problem

  4. aushani commented on Apr 3, 2018

    @aushani
    Author

    How do I install from that branch?

  5. den-run-ai commented on Apr 3, 2018

    @den-run-ai
    Contributor

    @aushani see the wiki for installation, this issue above maybe due to mono version. try this version used in travis ci - mono 5.10.0.140-0xamarin1+ubuntu1404b1:

    https://travis-ci.org/pythonnet/pythonnet/jobs/348038386#L637

  6. den-run-ai commented on Apr 5, 2018

    @den-run-ai
    Contributor
  7. u01ai11 commented on Jun 6, 2018

    @u01ai11

    I have this same problem using MacOS 10 and Python 2.3, Mono 5.10.

  8. den-run-ai commented on Jun 6, 2018

    @den-run-ai
    Contributor

    @u01ai11 are you sure about Python 2.3?!

  9. arisliang commented on Jul 27, 2018

    @arisliang

    I couldn't install for python 3.6 on ubuntu 16.04 as well. Running pip install pythonnet gives:

    Failed building wheel for pythonnet

  10. den-run-ai commented on Jul 28, 2018

    @den-run-ai
    Contributor

    @arisliang there should be more detailed error report during the build process of pythonnet. "Failed building wheel for pythonnet" is very generic error message.

  11. arisliang commented on Jul 28, 2018

    @arisliang

    Here's the full error message when I run pip install pythonnet.

    > Collecting pythonnet
      Using cached https://files.pythonhosted.org/packages/89/3b/a22cd45b591d6cf490ee8b24d52b9db1f30b4b478b64a9b231c53474731e/pythonnet-2.3.0.tar.gz
    Building wheels for collected packages: pythonnet
      Running setup.py bdist_wheel for pythonnet ... error
      Complete output from command /home/ly/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-3o5yl914/pythonnet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-fil0o1hj --python-tag cp36:
      running bdist_wheel
      running build
      running build_ext
      Checking for updates from https://www.nuget.org/api/v2/.
      Currently running NuGet.exe 3.5.0.
      Updating NuGet.exe to 4.6.2.
      Update successful.
      MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.
      Restoring NuGet package UnmanagedExports.1.2.7.
      Restoring NuGet package NUnit.3.6.0.
      Restoring NuGet package NUnit.ConsoleRunner.3.6.0.
      Adding package 'NUnit.ConsoleRunner.3.6.0' to folder '/tmp/pip-install-3o5yl914/pythonnet/packages'
      Adding package 'NUnit.3.6.0' to folder '/tmp/pip-install-3o5yl914/pythonnet/packages'
      Adding package 'UnmanagedExports.1.2.7' to folder '/tmp/pip-install-3o5yl914/pythonnet/packages'
      Added package 'UnmanagedExports.1.2.7' to folder '/tmp/pip-install-3o5yl914/pythonnet/packages'
      Added package 'NUnit.ConsoleRunner.3.6.0' to folder '/tmp/pip-install-3o5yl914/pythonnet/packages'
      Added package 'NUnit.3.6.0' to folder '/tmp/pip-install-3o5yl914/pythonnet/packages'
      
      NuGet Config files used:
          /home/ly/.config/NuGet/NuGet.Config
      
      Feeds used:
          /home/ly/.nuget/packages/
          https://api.nuget.org/v3/index.json
      
      Installed:
          3 package(s) to packages.config projects
      Traceback (most recent call last):
        File "tools/geninterop/geninterop.py", line 292, in <module>
          sys.exit(main())
        File "tools/geninterop/geninterop.py", line 272, in main
          python_h = preprocess_python_headers()
        File "tools/geninterop/geninterop.py", line 192, in preprocess_python_headers
          for line in _check_output(cmd).splitlines():
        File "tools/geninterop/geninterop.py", line 41, in _check_output
          output = subprocess.check_output(*args, **kwargs)
        File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 336, in check_output
          **kwargs).stdout
        File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 403, in run
          with Popen(*popenargs, **kwargs) as process:
        File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 709, in __init__
          restore_signals, start_new_session)
        File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 1344, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'clang': 'clang'
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/tmp/pip-install-3o5yl914/pythonnet/setup.py", line 405, in <module>
          zip_safe=False,
        File "/home/ly/anaconda3/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
          return distutils.core.setup(**attrs)
        File "/home/ly/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
          self.run_command(cmd)
        File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
          cmd_obj.run()
        File "/home/ly/anaconda3/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 202, in run
          self.run_command('build')
        File "/home/ly/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
          cmd_obj.run()
        File "/home/ly/anaconda3/lib/python3.6/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/home/ly/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
          cmd_obj.run()
        File "/home/ly/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 339, in run
          self.build_extensions()
        File "/home/ly/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
          self._build_extensions_serial()
        File "/home/ly/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-install-3o5yl914/pythonnet/setup.py", line 191, in build_extension
          subprocess.check_call([sys.executable, geninterop, interop_file])
        File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 291, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/home/ly/anaconda3/bin/python', 'tools/geninterop/geninterop.py', 'src/runtime/interop36m.cs']' returned non-zero exit status 1.
      
      ----------------------------------------
      Failed building wheel for pythonnet
      Running setup.py clean for pythonnet
    Failed to build pythonnet
    Installing collected packages: pythonnet
      Running setup.py install for pythonnet ... error
        Complete output from command /home/ly/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-3o5yl914/pythonnet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-isbweqq7/install-record.txt --single-version-externally-managed --compile:
        running install
        running build
        running build_ext
        Checking for updates from https://www.nuget.org/api/v2/.
        Currently running NuGet.exe 4.6.2.
        NuGet.exe is up to date.
        MSBuild auto-detection: using msbuild version '14.0' from '/usr/lib/mono/xbuild/14.0/bin'.
        All packages listed in packages.config are already installed.
        Traceback (most recent call last):
          File "tools/geninterop/geninterop.py", line 292, in <module>
            sys.exit(main())
          File "tools/geninterop/geninterop.py", line 272, in main
            python_h = preprocess_python_headers()
          File "tools/geninterop/geninterop.py", line 192, in preprocess_python_headers
            for line in _check_output(cmd).splitlines():
          File "tools/geninterop/geninterop.py", line 41, in _check_output
            output = subprocess.check_output(*args, **kwargs)
          File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 336, in check_output
            **kwargs).stdout
          File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 403, in run
            with Popen(*popenargs, **kwargs) as process:
          File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 709, in __init__
            restore_signals, start_new_session)
          File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 1344, in _execute_child
            raise child_exception_type(errno_num, err_msg, err_filename)
        FileNotFoundError: [Errno 2] No such file or directory: 'clang': 'clang'
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-install-3o5yl914/pythonnet/setup.py", line 405, in <module>
            zip_safe=False,
          File "/home/ly/anaconda3/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
            return distutils.core.setup(**attrs)
          File "/home/ly/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
            dist.run_commands()
          File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
            self.run_command(cmd)
          File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
            cmd_obj.run()
          File "/home/ly/anaconda3/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
            return orig.install.run(self)
          File "/home/ly/anaconda3/lib/python3.6/distutils/command/install.py", line 545, in run
            self.run_command('build')
          File "/home/ly/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
            self.distribution.run_command(command)
          File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
            cmd_obj.run()
          File "/home/ly/anaconda3/lib/python3.6/distutils/command/build.py", line 135, in run
            self.run_command(cmd_name)
          File "/home/ly/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
            self.distribution.run_command(command)
          File "/home/ly/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
            cmd_obj.run()
          File "/home/ly/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 339, in run
            self.build_extensions()
          File "/home/ly/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
            self._build_extensions_serial()
          File "/home/ly/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
            self.build_extension(ext)
          File "/tmp/pip-install-3o5yl914/pythonnet/setup.py", line 191, in build_extension
            subprocess.check_call([sys.executable, geninterop, interop_file])
          File "/home/ly/anaconda3/lib/python3.6/subprocess.py", line 291, in check_call
            raise CalledProcessError(retcode, cmd)
        subprocess.CalledProcessError: Command '['/home/ly/anaconda3/bin/python', 'tools/geninterop/geninterop.py', 'src/runtime/interop36m.cs']' returned non-zero exit status 1.
        
        ----------------------------------------
    Command "/home/ly/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-3o5yl914/pythonnet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-isbweqq7/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-3o5yl914/pythonnet/
    
  12. se-l commented on Jul 29, 2018

    @se-l

    facing the same issue referencing here some other issue reports and threads which make me look more into setuptools and disutils. could downgrading specific packages help??

    #readthedocs/readthedocs.org#1843
    #pypa/pip#3698

  13. arisliang commented on Jul 29, 2018

    @arisliang

    my pip version is 18.0, and setuptools is 39.1.0. Any particular package needs to downgrade to what version?

  14. den-run-ai commented on Aug 8, 2018

    @den-run-ai
    Contributor

    @arisliang i thought i replied to this, you are missing clang, see this line in your error traceback:

    FileNotFoundError: [Errno 2] No such file or directory: 'clang': 'clang'

  15. den-run-ai commented on Aug 23, 2018

    @den-run-ai
    Contributor

    Ubuntu Xenial is going to be supported for Python 3.7 as part of this PR once completed:

    #698

  16. arisliang commented on Aug 25, 2018

    @arisliang

    Will it work for Python 3.6?

  17. den-run-ai commented on Aug 27, 2018

    @den-run-ai
    Contributor

    @arisliang it should

  18. den-run-ai commented on Dec 10, 2018

    @den-run-ai
    Contributor

    Not sure if this is still an issue, closing for now. Please report back otherwise. Python 3.7 with Ubuntu Xenial 16.04 is merged.

  19. den-run-ai commented on Dec 10, 2018

    @den-run-ai
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions