Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getsitepackages (0.1 sec)

  1. tensorflow/api_template.__init__.py

    _site_packages_dirs = []
    if _site.ENABLE_USER_SITE and _site.USER_SITE is not None:
      _site_packages_dirs += [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    for _scheme in _sysconfig.get_scheme_names():
      for _name in ["purelib", "platlib"]:
        _site_packages_dirs += [_sysconfig.get_path(_name, _scheme)]
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/api_template_v1.__init__.py

    _site_packages_dirs = []
    _site_packages_dirs += [] if _site.USER_SITE is None else [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    for _scheme in sysconfig.get_scheme_names():
      for _name in ["purelib", "platlib"]:
        _site_packages_dirs += [sysconfig.get_path(_name, _scheme)]
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. configure.py

        python_paths = environ_cp.get('PYTHONPATH').split(':')
      try:
        stderr = open(os.devnull, 'wb')
        library_paths = run_shell([
            python_bin_path, '-c',
            'import site; print("\\n".join(site.getsitepackages()))'
        ],
                                  stderr=stderr).split('\n')
      except subprocess.CalledProcessError:
        library_paths = [
            run_shell([
                python_bin_path,
                '-c',
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
Back to top