question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Error while Installing dev version on ThetaGPU

See original GitHub issue
Description:  

Got a `error: [Errno 13] Permission denied: '/lus/theta-fs0/projects/OptADDN/dhgpu/lib/python3.8/site-packages/easy-install.pth` error while trying to install development version of Deephyper on ThetaGPU
Steps to Reproduce:

    module load conda/2021-09-22
    conda create -p dhgpu --clone base
    conda activate dhgpu/
    pip install pip --upgrade
    git clone https://github.com/deephyper/deephyper.git
    cd deephyper/ && git checkout develop
    pip install -e ".[dev,analytics]"
System Information:

 - System: ThetaGPU
 - Python version: 3.8.10
 - DeepHyper Version: 0.3.1
Command line output:

 ERROR: Command errored out with exit status 1:
  command: /lus/theta-fs0/projects/OptADDN/dhgpu/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/lus/theta-fs0/projects/OptADDN/deephyper/setup.py'"'"'; __file__='"'"'/lus/theta-fs0/projects/OptADDN/deephyper/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
      cwd: /lus/theta-fs0/projects/OptADDN/deephyper/
 Complete output (15 lines):
 running develop
 running egg_info
 writing deephyper.egg-info/PKG-INFO
 writing dependency_links to deephyper.egg-info/dependency_links.txt
 writing entry points to deephyper.egg-info/entry_points.txt
 writing requirements to deephyper.egg-info/requires.txt
 writing top-level names to deephyper.egg-info/top_level.txt
 reading manifest file 'deephyper.egg-info/SOURCES.txt'
 reading manifest template 'MANIFEST.in'
 adding license file 'LICENSE.md'
 writing manifest file 'deephyper.egg-info/SOURCES.txt'
 running build_ext
 Creating /lus/theta-fs0/projects/OptADDN/dhgpu/lib/python3.8/site-packages/deephyper.egg-link (link to .)
 Adding deephyper 0.3.1 to easy-install.pth file
 error: [Errno 13] Permission denied: '/lus/theta-fs0/projects/OptADDN/dhgpu/lib/python3.8/site-packages/easy-install.pth'
 ----------------------------------------

Rolling back uninstall of deephyper
Moving to /lus/theta-fs0/projects/OptADDN/dhgpu/bin/deephyper
from /tmp/pip-uninstall-uan2r4pw/deephyper
Moving to /lus/theta-fs0/projects/OptADDN/dhgpu/bin/deephyper-analytics
from /tmp/pip-uninstall-uan2r4pw/deephyper-analytics
Moving to /lus/theta-fs0/projects/OptADDN/dhgpu/lib/python3.8/site-packages/deephyper-0.3.0.dist-info/
from /lus/theta-fs0/projects/OptADDN/dhgpu/lib/python3.8/site-packages/~eephyper-0.3.0.dist-info
Moving to /lus/theta-fs0/projects/OptADDN/dhgpu/lib/python3.8/site-packages/deephyper/
from /lus/theta-fs0/projects/OptADDN/dhgpu/lib/python3.8/site-packages/~eephyper
ERROR: Command errored out with exit status 1: /lus/theta-fs0/projects/OptADDN/dhgpu/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/lus/theta-fs0/projects/OptADDN/deephyper/setup.py'"'"'; __file__='"'"'/lus/theta-fs0/projects/OptADDN/deephyper/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
felkercommented, Oct 27, 2021

Oh, somehow ended up with an empty, read-only file in the base Anaconda environment, unlike the two earlier Anaconda environments that I built. I removed it, so this shouldn’t be an issue in the future. Thanks for reporting!

/lus/theta-fs0/software/thetagpu/conda/2021-09-22/mconda3/lib/python3.8/site-packages/easy-install.pth

Still wonder why this file is brought over with the original permissions in a cloned env…

1reaction
Deathn0tcommented, Oct 20, 2021

I would like to add that a template for [BUG] is provided when creating an issue. It would be great to use it and add some simple text to help us narrow down the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] Error installing relative paths using workspaces #3847
Where npm-install was a script in the workspaces to action npm install. npm ERR! Cannot set properties of null (setting 'dev'). This was...
Read more >
How to troubleshoot Windows Installer errors - Microsoft Support
Click Start windows icon · At the command prompt, type MSIExec, and then press Enter. · If the installer is not version 4.5,...
Read more >
Unable to install xcode command line developer tools
When I run xcode-select --version I get the following: xcode-select version 2373. ... When I click install I get the following error.
Read more >
"An error occurred while preparing the installation" when ...
When installing Autodesk programs, an error message displayed that is referring to the preparation of the installation.
Read more >
Error installing Pillow on ubuntu 14.04 - python - Stack Overflow
The problem was that the package libjpeg-dev was not installed. To solve the problem you should do this: sudo apt-get install libjpeg-dev.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found