-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. #24
Comments
Hi @MaanasPeri23 thanks for reporting the issue and welcome to IBeam 👋 Interesting, thank you for this issue, as you've highlighted one error in my design - that the logs are being initialised when IBeam is built during a pip install. I should be able to fix it. I notice that you both pull the image and do a Also, note that M1 chip is built in the ARM architecture, which makes the default IBeam Docker image not work. I've attempted to create an ARM image in the past upon one such request from another user, but I wasn't successful in either testing it or running it. Feel free to look at it if you'd like to pick it up: #17 |
Hey @Voyz just wondering if there is a workaround/fix to this issue? I get the same error when I try to pip install $ sudo pip install ibeam |
Hey @chriswweber the most recent release candidate
|
@chriswweber @MaanasPeri23 sorry, my bad - you're trying to work with standalone and I've been sharing the Docker image. Please use the following to install the 0.4.0-rc2 standalone:
https://pypi.org/project/ibeam/0.4.0rc2/ Let me know if that solves the install issue 👍 |
Closing this as |
Describe the bug
A clear and concise description of what the bug is.
Not able to install ibeam
To Reproduce
Steps to reproduce the behavior:
Once I open up my terminal and type in 'pip install ibeam' after successfully running 'docker pull voyz/ibeam' I get this issue:
ERROR: Command errored out with exit status 1:
command: /Users/maanasperi/opt/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/setup.py'"'"'; file='"'"'/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-pip-egg-info-5_zlsoap
cwd: /private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/
Complete output (17 lines):
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/setup.py", line 5, in
import ibeam
File "/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/ibeam/init.py", line 3, in
config.initialize()
File "/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/ibeam/config.py", line 15, in initialize
logs.initialize()
File "/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/ibeam/src/logs.py", line 26, in initialize
file_handler = DailyRotatingFileHandler(os.path.join(var.OUTPUTS_DIR, 'ibeam_log'))
File "/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/ibeam/src/logs.py", line 43, in init
super().init(*args, **kwargs)
File "/Users/maanasperi/opt/anaconda3/lib/python3.8/logging/init.py", line 1143, in init
StreamHandler.init(self, self._open())
File "/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/ibeam/src/logs.py", line 53, in _open
return open(self.get_filename(self.timestamp), self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/qy/nns7ytvd43gdkj25fgtxrlkc0000gn/T/pip-install-q2pd_a5o/ibeam/outputs/ibeam_log__2021-07-01.txt'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
FYI: I'm running this on my MacBook Pro M1 ~ Apple Silicon Chip, so maybe the Docker Version for the M1 may have something to do with this?
Expected behavior
A clear and concise description of what you expected to happen.
Environment
IBeam version:
Docker image or standalone:
Python version (standalone users only):
OS:
Additional context
Add any other context about the problem here.
Suggest a Fix
If you can't fix the bug yourself, perhaps you can point to what might be causing the problem (line of code or commit).
The text was updated successfully, but these errors were encountered: