-
Notifications
You must be signed in to change notification settings - Fork 3
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
not enough values to unpack (expected at least 2, got 1) #98
Comments
Could you run this script, following the instructions at the top? It'd help us reproduce the error https://github.com/openforcefield/status/blob/main/devtools/support/debug.sh |
Unfortunately, it prints out too many details of our HPC configs and other loaded libraries some of which are commercial; I am afraid that I cannot share them. These are what I get when importing Interchange
|
I can import openff fine by import openff but not Interchange. |
Short of that, how about
Something is probably wrong with the conda setup and/or packages are out of date; something shorter like Unfortunately, |
How is it installed? You can file the output of conda list in conda.log (attached) Thanks, |
Those versions look pretty good from a cursory glance through. Thanks for sharing how you're installing Interchange How are you getting conda? Miniconda, Miniforge, something from Anaconda Inc., or something else? We haven't been seeing this with our various virtual environment solutions - most of what I listed above plus a few |
I am not sure what you need to know from my setup exactly, but our conda is installed from Anaconda3. It is conda 4.12.0. |
I'm having a hard time reproducing this; if the file you attached is the output of >>> len([line.split() for line in open("/Users/mattthompson/Downloads/conda.log").readlines()[3:-1]])
446 I downloaded Anaconda's most recent iteration of their "distribution" from here, installed it, created a fresh environment ( $ which python 13:07:42
/opt/anaconda3/envs/issue-98/bin/python
(issue-98) [~]
$ python 13:08:04
Python 3.12.8 | packaged by conda-forge | (main, Dec 5 2024, 14:19:53) [Clang 18.1.8 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from openff.interchange import Interchange
/opt/anaconda3/envs/issue-98/lib/python3.12/site-packages/openff/utilities/provenance.py:23: CondaExecutableNotFoundWarning: No conda/mamba/micromamba executable found. Unable to determine package versions.
warnings.warn(
>>> If there is anything non-standard about your setup, or other information that would be necessary for me to be able to reproduce this error, I'd be happy to try again! We do recommend Miniforge (previously known as Mambaforge) as a drop-in replacement for and strict improvement over Anaconda's distributions: https://docs.openforcefield.org/en/latest/install.html#installing-mamba |
I installed openff-interchange with conda install -c conda-forge openff-interchange or conda install conda-forge::openff-interchange
but I get this error when trying to import in iPython:
---> 41 package_name, package_version, *_ = output_line.split()
42 package_versions[package_name] = package_version
44 return package_versions
ValueError: not enough values to unpack (expected at least 2, got 1)
The text was updated successfully, but these errors were encountered: