question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

problem with installing most recent version of quspin with anaconda on linux

See original GitHub issue

In older versions of anaconda on linux, the most recent version of quspin may not be recognized. This affects installing quspin on clusters.

For instance typing conda install -c weinbe58 quspin gets stuck at version quspin-0.2.6, and does not detect more recent versions.

Apparently, conda changed the way to install some packages. For instance if u wanna install the most recent version of scipy, u have to do

conda install -c anaconda scipy 

If u only do conda install scipy u’ll get an older version.

This affects installing quspin (Phil, u can try out updating some local version on BU’s SCC to see the bug). When I specifically request to install a more recent quspin version

conda install -c weinbe58 quspin=0.2.9

I get the following errors:

(quspin) [mbukov@scc1 ~]$ conda install -c weinbe58 quspin=0.2.9
Fetching package metadata ...........
Solving package specifications: 

PackageNotFoundError: Packages missing in current channels:

  - quspin 0.2.9* -> libgcc-ng
  - quspin 0.2.9* -> libstdcxx-ng

We have searched for the packages in the following channels:

  - https://conda.anaconda.org/weinbe58/linux-64
  - https://conda.anaconda.org/weinbe58/noarch
  - https://repo.continuum.io/pkgs/free/linux-64
  - https://repo.continuum.io/pkgs/free/noarch
  - https://repo.continuum.io/pkgs/r/linux-64
  - https://repo.continuum.io/pkgs/r/noarch
  - https://repo.continuum.io/pkgs/pro/linux-64
  - https://repo.continuum.io/pkgs/pro/noarch

Now, if u open up https://conda.anaconda.org/weinbe58/linux-64, u’ll see version 0.2.9 clearly listed. The important error is the PackageNotFoundError. If I now do

conda install -c anaconda libgcc-ng libstdcxx-ng

and then do

conda install -c weinbe58 quspin

then I get the most recent version (at this time quspin-0.2.9); no need to specify the version.

What’s likely going on is in the setup file, when u define quspin’s dependencies in the setup file, u have to use the -c anaconda flag.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mgbukovcommented, Nov 4, 2018

HI,

I wonder if this is some new issue due to your conda using py37.

Could u create a python 3.6 environment https://conda.io/docs/user-guide/tasks/manage-python.html, activate the py36 environment, and try to install quspin in there?

On Sun, Nov 4, 2018 at 3:47 PM Chapa1 notifications@github.com wrote:

i execute

conda install -c weinbe58 quspin in anaconda promt it is a long list of packages to install appeared I entered “y”. After that I got: Executing transaction: failed ERROR conda.core.link:_execute(502): An error occurred while uninstalling package ‘defaults::conda-4.5.11-py37_0’. PermissionError(13… What am i doing wrong? I also tried to install quspin using PyCharm terminal: pip install git+https://github.com/weinbe58/QuSpin.git and I got an error as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/weinbe58/QuSpin/issues/105#issuecomment-435720204, or mute the thread https://github.com/notifications/unsubscribe-auth/AM8qBiOqU8ehij39r8itPJgQO3pqCUqVks5ur3yEgaJpZM4TQV0v .

– Marin Bukov, PhD Gordon and Betty Moore postdoctoral fellow, Dept. of Physics University of California, Berkeley 366 LeConte Hall MC 7300, Berkeley, CA 94720-7300

url: https://mgbukov.github.io/

1reaction
mgbukovcommented, May 17, 2018

It should be fixed on any version above anaconda 5 by default.

I prefer to keep the issue open though, in case someone tries to install on a computing cluster with an older conda version (happed to me 😄).

Read more comments on GitHub >

github_iconTop Results From Across the Web

problem with installing most recent version of quspin ... - GitHub
In older versions of anaconda on linux, the most recent version of quspin may not be recognized. This affects installing quspin on clusters....
Read more >
Installation — QuSpin 0.3.7 documentation - GitHub Pages
To update the code you must first completely remove the current version installed and then install the new code. Basic Use of Command...
Read more >
Troubleshooting — Anaconda documentation
1 sometimes does not install completely on Windows. Solution¶. Until a new version is released, you can install Miniconda, and then use conda...
Read more >
After installing package Quspin in Anaconda, it still says ...
operators import hamiltonian , it says module quspin not found. When I go back to cmd.exe and get a list of the installed...
Read more >
How to properly use anaconda packages in Manjaro?
I need to use QuSpin in python. The official guide instructs to install it with Anaconda. This does not seem to be available...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found