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

Conda install: Dependency not recognized that has later version and is from binstar. //moved from Conda #125

Closed
AnneTheAgile opened this issue Jun 19, 2014 · 4 comments
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity

Comments

@AnneTheAgile
Copy link

I think the ticket I made today [1] probably belongs here so I'm pasting it here and closing the other. If I am wrong of course please close this and open that :). It might be related to my other version problem [2].

1.[]Conda install: Dependency not recognized that has later version and is from binstar. · Issue #781 · conda/conda
conda/conda#781
2.[] ; X.Conda Install cannot use specific version from Binstar? · Issue #100 · conda/conda-build
#100

@AnneTheAgile
Copy link
Author

I am trying to be a good citizen and use conda for my work. However, I am having a problem building botocore, an AWS package. One of its dependencies is python-dateutil. Conveniently there is actually a mac package on binstar that I could install. I did but trying to make the conda package from the pypi is still not working. Thoughts?

In sum, it gives error;

conda.resolve.NoPackagesFound: No packages found matching: python-dateutil >=2.1

despite that 2.2 is installed already.

$ conda info -e
# conda environments:
aws-boto-ansible      *  /Users/x/anaconda/envs/aws-boto-ansible
root                     /Users/x/anaconda

$ conda install -c https://conda.binstar.org/asmeurer python-dateutil
Fetching package metadata: ...
Solving package specifications: .
Package plan for installation in environment /Users/x/anaconda/envs/aws-boto-ansible:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    python-dateutil-2.2        |           py27_0         257 KB

The following packages will be linked:

    package                    |            build
    ---------------------------|-----------------
    python-dateutil-2.2        |           py27_0   hard-link

Proceed ([y]/n)? y

Fetching packages ...
python-dateuti 100% |##### #| Time: 0:00:00   3.01 MB/s
Extracting packages ...
[      COMPLETE      ] |###### ##################| 100%
Linking packages ...
[      COMPLETE      ] |####### #################| 100% 

$ conda update conda
Error: package 'conda' is not installed in /Users/x/anaconda/envs/aws-boto-ansible

$ source activate root
discarding /Users/x/anaconda/envs/aws-boto-ansible/bin from PATH
prepending /Users/x/anaconda/bin to PATH

$ conda update conda
Fetching package metadata: ..
Solving package specifications: .
Package plan for installation in environment /Users/x/anaconda:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    conda-3.5.5                |           py27_0         134 KB

The following packages will be UN-linked:

    package                    |            build
    ---------------------------|-----------------
    conda-3.5.2                |           py27_0
    openssl-1.0.1g             |                0
    python-2.7.6               |                2

The following packages will be linked:

    package                    |            build
    ---------------------------|-----------------
    conda-3.5.5                |           py27_0   hard-link
    openssl-1.0.1h             |                0   hard-link
    python-2.7.7               |                0   hard-link

Proceed ([y]/n)? y

Fetching packages ...
conda-3.5.5-py 100% |######################################| Time: 0:00:00   1.32 MB/s
Extracting packages ...
[      COMPLETE      ] |#############################################| 100%
Unlinking packages ...
[      COMPLETE      ] |########################| 100%
Linking packages ...
[      COMPLETE      ] |################### #####| 100%

$ conda update anaconda
Fetching package metadata: ..
Solving package specifications: .
Package plan for installation in environment /Users/x/anaconda:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    anaconda-2.0.1             |       np18py27_0           2 KB
    blaze-0.5.0                |       np18py27_1         246 KB
    ipython-2.1.0              |           py27_2         2.8 MB
    llvmpy-0.12.6              |           py27_0         504 KB
    numba-0.13.2               |       np18py27_0         487 KB
    openpyxl-1.8.5             |           py27_0         127 KB
    pandas-0.14.0              |       np18py27_0         4.1 MB
    scikit-image-0.10.0        |       np18py27_0        14.5 MB
    werkzeug-0.9.6             |           py27_0         387 KB
    ------------------------------------------------------------
                                           Total:        23.1 MB

The following packages will be UN-linked:

    package                    |            build
    ---------------------------|-----------------
    anaconda-2.0.0             |       np18py27_0
    blaze-0.5.0                |       np18py27_0
    ipython-2.1.0              |           py27_0
    llvmpy-0.12.4              |           py27_0
    numba-0.13.1               |       np18py27_0
    openpyxl-2.0.2             |           py27_0
    pandas-0.13.1              |       np18py27_0
    scikit-image-0.9.3         |       np18py27_0
    werkzeug-0.9.4             |           py27_0

The following packages will be linked:

    package                    |            build
    ---------------------------|-----------------
    anaconda-2.0.1             |       np18py27_0   hard-link
    blaze-0.5.0                |       np18py27_1   hard-link
    ipython-2.1.0              |           py27_2   hard-link
    llvmpy-0.12.6              |           py27_0   hard-link
    numba-0.13.2               |       np18py27_0   hard-link
    openpyxl-1.8.5             |           py27_0   hard-link
    pandas-0.14.0              |       np18py27_0   hard-link
    scikit-image-0.10.0        |       np18py27_0   hard-link
    werkzeug-0.9.6             |           py27_0   hard-link

Proceed ([y]/n)? y

Fetching packages ...
anaconda-2.0.1 100% |###### | Time: 0:00:00   2.29 MB/s
blaze-0.5.0-np 100% |###### #| Time: 0:00:00   4.04 MB/s
ipython-2.1.0- 100% |##### #| Time: 0:00:02   1.03 MB/s
llvmpy-0.12.6- 100% |##### #| Time: 0:00:00   1.44 MB/s
numba-0.13.2-n 100% |##### #| Time: 0:00:00   3.89 MB/s
openpyxl-1.8.5 100% |##### ##| Time: 0:00:00   2.87 MB/s
pandas-0.14.0- 100% |##### #| Time: 0:00:02   1.99 MB/s
scikit-image-0 100% |### ####| Time: 0:00:06   2.40 MB/s
werkzeug-0.9.6 100% |### ###| Time: 0:00:00   1.47 MB/s
Extracting packages ...
[      COMPLETE      ] |#### ####################| 100%
Unlinking packages ...
[      COMPLETE      ] |######## #################| 100%
Linking packages ...
[      COMPLETE      ] |######## ################| 100%

$ conda --version
conda 3.5.5
$ conda info -e
# conda environments:
aws-boto-ansible         /Users/x/anaconda/envs/aws-boto-ansible
root                  *  /Users/x/anaconda
$ source activate aws-boto-ansible
discarding /Users/x/anaconda/bin from PATH
prepending /Users/x/anaconda/envs/aws-boto-ansible/bin to PATH
$ conda --version
conda 3.5.5 
$ 
$ conda list date
# packages in environment at /Users/annemoroney/anaconda/envs/aws-boto-ansible:
#
dateutil                  2.1                      py27_2  
python-dateutil           2.2                      py27_0  
$ 
$ 
$ sudo conda build botocore
Password:
BUILD START: botocore-0.51.0-py27_0
Fetching package metadata: ...
Traceback (most recent call last):
  File "/Users/x/anaconda/bin/conda-build", line 5, in <module>
    sys.exit(main())
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda_build/main_build.py", line 82, in main
    args.func(args, p)
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda_build/main_build.py", line 203, in execute
    build.build(m, verbose=not args.quiet)
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda_build/build.py", line 251, in build
    verbose=verbose)
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda_build/build.py", line 215, in create_env
    actions = plan.install_actions(pref, index, specs)
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda/plan.py", line 265, in install_actions
    config.track_features, minimal_hint=minimal_hint):
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 660, in solve
    for pkg in self.get_pkgs(ms, max_only=max_only):
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda/utils.py", line 100, in __call__
    res = cache[key] = self.func(*args, **kw)
  File "/Users/x/anaconda/lib/python2.7/site-packages/conda/resolve.py", line 254, in get_pkgs
    raise NoPackagesFound("No packages found matching: %s" % ms, [ms.spec])
conda.resolve.NoPackagesFound: No packages found matching: python-dateutil >=2.1
$ 

//AnneTheAgile

@asmeurer
Copy link
Contributor

Does it show up with conda search date?

@github-actions
Copy link

Hi there, thank you for your contribution to conda-build!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue in the latest version of conda-build

  2. Comment that the issue is still reproducible and include:

  • What version of conda-build you reproduced the issue on
  • What OS and version you reproduced the issue on
  • What steps you followed to reproduce the issue
  1. It would also be helpful to have the output of the following commands available:
  • conda info
  • conda config --show-sources
  • conda list --show-channel-urls

NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue.

In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Nov 19, 2021
@github-actions
Copy link

Hi again!

This issue has been closed since it has not had recent activity.
Please don't hesitate to leave a comment if that was done prematurely.

Thank you for your contribution.

@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Feb 18, 2022
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Feb 19, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity
Projects
None yet
Development

No branches or pull requests

2 participants