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

BUG: CLI apexpy command not found #113

Closed
ljlamarche opened this issue Feb 13, 2023 · 1 comment · Fixed by #147
Closed

BUG: CLI apexpy command not found #113

ljlamarche opened this issue Feb 13, 2023 · 1 comment · Fixed by #147
Labels
Milestone

Comments

@ljlamarche
Copy link
Collaborator

Describe the bug

When attempting to use the command line interface, the apexpy command is not found. This is despite the fact that apexpy has been successfully installed and can be imported and used in python scripts.

To Reproduce

  1. Install apexpy from PyPI in a clean environment
pip install apexpy
  1. Restart terminal session (usually necessary to use CLI functions that have just been installed)
  2. Run a CLI example from the documentation
echo 60 15 | apexpy geo apex 2015 --height 300

Error Message

(apexpy_debug) e30737@Lamarchel-mbp16 ~ % echo 60 15 | apexpy geo apex 2015 --height 300
zsh: command not found: apexpy

Expected behavior

Apexpy should run successfully and produce the output shown in the documentation.

Computer

Please provide the following information:

  • OS: macOS 12.6.1 (Monterey)
  • Python version: 3.10
  • Compiler with version: GNU Fortran (Homebrew GCC 12.2.0) 12.2.0
  • Apexpy version/branch: 2.0.0

Additional context

This error is showing up using conda environments with a zsh shell.

@ljlamarche ljlamarche added the bug label Feb 13, 2023
@aburrell aburrell added this to the 2.1.0 milestone Feb 14, 2023
@ljlamarche
Copy link
Collaborator Author

ljlamarche commented Mar 1, 2023

May be encountering this issue on a Linux system as well. The behavior is very similar in that I can get apexpy to install, but I do not have access to apexpy on the command line afterwards.

(amisr_fitter) [llamarche@appleton ~]$ echo 60 15 | apexpy geo apex 2015 --height 300
bash: apexpy: command not found...

There are no problems importing and using apexpy in a python session.

Operating System: CentOS Linux 7 (Core)
Kernel: Linux 3.10.0-1160.24.1.el7.x86_64
Architecture: x86-64
Python Version: 3.9.2

@aburrell aburrell modified the milestones: 2.1.0, 2.1.1 Dec 23, 2024
@aburrell aburrell mentioned this issue Dec 23, 2024
11 tasks
aburrell added a commit that referenced this issue Dec 30, 2024
Changing the pyproject.toml allowed the ``apexpy`` command to be created, addressing issue #113.
@aburrell aburrell modified the milestones: 2.1.1, 2.1.0 Dec 30, 2024
@aburrell aburrell linked a pull request Dec 30, 2024 that will close this issue
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants