Skip to content
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

Cannot find __meta__.py #69

Open
kampongboy opened this issue Jul 6, 2023 · 4 comments
Open

Cannot find __meta__.py #69

kampongboy opened this issue Jul 6, 2023 · 4 comments

Comments

@kampongboy
Copy link

kampongboy commented Jul 6, 2023

Describe the bug
I tried installing in CentOS 7 but failed.

Error message as follows:
File "setup.py", line 21, in
with open(os.path.join(here, 'atomic_operator', 'meta.py'), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/atomic-operator/atomic_operator/meta.py'

To Reproduce
Steps to reproduce the behavior:

  1. Based on this guide: https://pypi.org/project/atomic-operator/
    git clone https://github.com/swimlane/atomic-operator.git
    cd atomic-operator
    pip install -r requirements.txt
    python setup.py install

I used python3 instead of python

Expected behavior
"python3 setup.py install" command should be able to complete but it did not
I did a search on meta.py . There is no such file

File "setup.py", line 21, in <module>
    with open(os.path.join(here, 'atomic_operator', '__meta__.py'), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/atomic-operator/atomic_operator/__meta__.py'
@kampongboy kampongboy changed the title Cannot find Cannot find __meta__.py Jul 6, 2023
@GabrielSestieri
Copy link

@kampongboy, did you ever get a fix for this? Just ran into the same issue on Windows.

@kampongboy
Copy link
Author

kampongboy commented Aug 8, 2023 via email

@GabrielSestieri
Copy link

Hey @kampongboy , so this error appeared for me while installing atomic-operator through the git cloning method. Using the pip installation method seems to be working out so far.

@Plensu
Copy link

Plensu commented Jul 12, 2024

@kampongboy @GabrielSestieri
You have two options to install from source. At least with the current source.
The current pypi package is a different version than the repo.

git clone https://github.com/swimlane/atomic-operator.git
cd atomic-operator
pip install .

or

pip install git+https://github.com/swimlane/atomic-operator.git#egg=atomic-operator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants