modelon-community / Assimulo

Assimulo is a simulation package for solving ordinary differential equations.
https://jmodelica.org/assimulo/index.html
GNU Lesser General Public License v3.0
66 stars 16 forks source link

http 404 not found for channel chria with conda install on google colab #60

Open userrand opened 1 year ago

userrand commented 1 year ago

Thank you for this package.

Iam using google colab.

I tried pip install and received the error :

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting Assimulo
  Downloading Assimulo-3.0.tar.gz (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 43.4 MB/s eta 0:00:00
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I tried conda install using condacolab ( https://stackoverflow.com/a/75239829/19955621 )

but (the ! at the beginning is for shell commands on google colab)

! conda install -c https://conda.binstar.org/chria assimulo

leads to the error

Collecting package metadata (current_repodata.json): failed

UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel chria <https://conda.binstar.org/chria>

The channel is not accessible or is invalid.

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
PeterMeisrimelModelon commented 1 year ago

Can you instead try with conda install -c conda-forge assimulo ?

jschueller commented 1 month ago

most information here is outdated: https://github.com/modelon-community/Assimulo/blob/master/doc/sphinx/source/download.rst better redirect to conda-forge / github instead of pypi / chria / svn