lucabaldini / ixpeobssim

Simulation and analysis framework for the Imaging X-ray Polarimetry Explorer
GNU General Public License v3.0
10 stars 13 forks source link

Issue: xpobssim.py Command Not Found After Reinstallation of ixpeobssim #730

Closed IndraniPal93 closed 2 months ago

IndraniPal93 commented 2 months ago

Here's how you can phrase the issue:


Issue: xpobssim.py Command Not Found After Reinstallation of ixpeobssim

Hi,

I installed ixpeobssim using the command pip install ixpeobssim --user and ran a simulation successfully. However, after uninstalling and reinstalling it using the same command, I now get an error when running the following command:

xpobssim.py --config ixpeobssim/config/toy_periodic_source.py --duration 1000

The error is:

bash: xpobssim.py: command not found

Any idea how to solve this issue?

Thanks!

ndilalla commented 2 months ago

Hi! Have you tried to run the app without the ".py" extension? Like: xpobssim --config ixpeobssim/config/toy_periodic_source.py --duration 1000

IndraniPal93 commented 2 months ago

Hi, yeah I tried and it worked. Sorry for my late reply. Thanks a lot for your response to my query.

Best, Indrani

On Tue, Aug 20, 2024, 14:44 Niccolò Di Lalla @.***> wrote:

Hi! Have you tried to run the app without the ".py" extension? Like: xpobssim --config ixpeobssim/config/toy_periodic_source.py --duration 1000

— Reply to this email directly, view it on GitHub https://github.com/lucabaldini/ixpeobssim/issues/730#issuecomment-2299516832, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKVGAFUUHMUNVKWBSIIQQU3ZSOFATAVCNFSM6AAAAABM2PLIEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGUYTMOBTGI . You are receiving this because you authored the thread.Message ID: @.***>

ndilalla commented 2 months ago

Thank you for confirming. I will now close this issue.