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

install not recognizing the arguments #798

Open
clairem789 opened this issue Dec 16, 2024 · 3 comments
Open

install not recognizing the arguments #798

clairem789 opened this issue Dec 16, 2024 · 3 comments
Assignees

Comments

@clairem789
Copy link
Collaborator

Hello,
For some reason I can't install APERO properly now, the argument "name" is not recognized (I'm on : * v0.7.291-stable-test):

python setup/install.py —-name=md1011
Module check:
Passed: astropy (5.3 >= 5.3)
Passed: astroquery (0.4.6 >= 0.4.6)
Passed: barycorrpy (0.4.4 >= 0.4.4)
Passed: bottleneck (1.3.7 >= 1.3.7)
Passed: duckdb (0.9.0 >= 0.9)
Passed: matplotlib (3.7.1 >= 3.7.1)
Passed: git (3.1.41 >= 3.1.41)
Passed: gspread_pandas (3.2.2 >= 3.2.2)
Passed: gspread (5.12.4 >= 5.12.4)
Passed: numba (0.57.0 >= 0.57.0)
Passed: numexpr (2.8.4 >= 2.8.4)
Passed: numpy (1.24.3 >= 1.24.3)
Passed: pandas (2.2.3 >= 2.2.3)
Passed: pandastable (0.13.1 >= 0.13.1)
Passed: PIL (10.2.0 >= 10.2.0)
Passed: psutil (5.9.4 >= 5.9.4)
Passed: yaml (6.0 >= 6.0)
Passed: skimage (0.19.3 >= 0.19.3)
Passed: scipy (1.10.1 >= 1.10.1)
Passed: tqdm (4.65.0 >= 4.65.0)
Passed: yagmail (0.15.293 >= 0.15.293)
Passed: mysql.connector (8.3.0 >= 8.3.0)
Passed: sqlalchemy (2.0.15 >= 2.0.15)
usage: install.py [-h] [--update] [--skip] [--dev] [--gui] [--name NAME] [--root ROOT] [--config CONFIG] [--instrument {SPIROU,NIRPS_HA,NIRPS_HE}]
[--datadir DATADIR] [--rawdir RAWDIR] [--tmpdir TMPDIR] [--reddir REDDIR] [--outdir OUTDIR] [--calibdir CALIBDIR]
[--telludir TELLUDIR] [--plotdir PLOTDIR] [--rundir RUNDIR] [--assetsdir ASSETSDIR] [--logdir LOGDIR] [--otherdir OTHERDIR]
[--lbldir LBLDIR] [--always_create ALWAYS_CREATE] [--plotmode {0,1,2}] [--clean CLEAN] [--clean_no_warning CLEAN_NO_WARNING]
[--database_mode {1,2}] [--database_host DATABASE_HOST] [--database_user DATABASE_USER] [--database_pass DATABASE_PASS]
[--database_name DATABASE_NAME] [--calibtable CALIBTABLE] [--tellutable TELLUTABLE] [--findextable FINDEXTABLE]
[--logtable LOGTABLE] [--astromtable ASTROMTABLE] [--rejecttable REJECTTABLE] [--langtable LANGTABLE]
install.py: error: unrecognized arguments: —-name=md1011

(I also tried without the = and it says the same)
Any idea what I'm doing wrong?
Thanks!

@njcuk9999
Copy link
Owner

So I don't know if its just github but it seems the charaters are —- i.e. a and a - it should be --

i.e.

python setup/install.py --name=md1011

worth a try?

@clairem789
Copy link
Collaborator Author

I didn't get the difference but as usual you are right, typing it again made it works. Thanks!

@njcuk9999
Copy link
Owner

njcuk9999 commented Dec 16, 2024

Mac sometimes turn two - characters (hyphen or the minus sign) into another character (long hyphen or em dash), there is also an "en dash" which is somewhere in between - I normally find when Etienne has typed something in a certain text editor it can do this hence I try to put code stuff in github in the "code box"

so - is different from which is different from

Fun!

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

2 participants