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

Problem with getting it to work #29

Closed
qubit55 opened this issue Apr 24, 2024 · 9 comments
Closed

Problem with getting it to work #29

qubit55 opened this issue Apr 24, 2024 · 9 comments

Comments

@qubit55
Copy link

qubit55 commented Apr 24, 2024

Hello, after installing py4cl2 and running:

(pyversion-info)

I'm getting:

File "/dev/fd/63", line 214
infnan = "infd0" : "float-features:double-float-positive-infinity"
^
SyntaxError: invalid syntax

@digikar99
Copy link
Owner

Could you provide more details about your system?

  • OS
  • bash version
  • Value of py4cl2:*config* - or equivalently (py4cl2:config-var 'py4cl2:pycmd)
  • python version

@qubit55
Copy link
Author

qubit55 commented Apr 24, 2024

Sure:

  • macOS, 11.7.10
  • zsh 5.8 (x86_64-apple-darwin20.0)
  • /Users/user-name/opt/anaconda3/bin/python
  • Python 3.9.13

@digikar99
Copy link
Owner

zsh 5.8 (x86_64-apple-darwin20.0)

Can you specifically report the bash version via bash --version? If it's as old as 3.2, try updating it to a more recent bash.

@qubit55
Copy link
Author

qubit55 commented Apr 24, 2024

Yep, here you go:

GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin20)

Ok, I see, so I need to update it then.

@qubit55
Copy link
Author

qubit55 commented Apr 24, 2024

Ok, after updating bash everything is working now, thanks a lot for your help! :)

Maybe it's worth adding this corner-case to the readme? Let me know the best place to add it to and I can do it.

@digikar99
Copy link
Owner

Okay, great!

It's actually a part of the Highlights and Limitations, but may be it could be made more prominent by making a specific section for MacOS users.

@qubit55
Copy link
Author

qubit55 commented Apr 24, 2024

Oh, my bad, I should've noticed it. I guess, wouldn't hurt to add a section indeed.

@digikar99
Copy link
Owner

I have merged #30. Thanks!

@qubit55
Copy link
Author

qubit55 commented Apr 27, 2024

Awesome, thanks!

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