poise / poise-python

A Chef cookbook to provide a unified interface for installing Python, managing Python packages, and creating virtualenvs.
Apache License 2.0
124 stars 108 forks source link

Unable to install python_packages ImportError #135

Closed Idun0 closed 6 years ago

Idun0 commented 6 years ago

First time so be gentle :D The reason I find myself here is cause im trying to create a airflow build which is dependent upon poise-python since python has been deprecated. At first I was getting an error for setuptools which I have now remedied with override["poise-python"]["options"]["pip_version"] = "18.0" But now I am getting several errors:

Heres my kitchen converge output: `-----> Starting Kitchen (v1.16.0) -----> Converging ... Preparing files for transfer Preparing dna.json Resolving cookbook dependencies with Berkshelf 6.3.1... Removing non-cookbook files before transfer Preparing validation.pem Preparing client.rb -----> Chef Omnibus installation detected (12.19) Transferring files to [2018-10-16T21:47:42+00:00] INFO: Forking chef instance to converge... Starting Chef Client, version 12.19.36 [2018-10-16T21:47:42+00:00] INFO: Chef 12.19.36 [2018-10-16T21:47:42+00:00] INFO: Platform: x86_64-linux [2018-10-16T21:47:42+00:00] INFO: Chef-client pid: 11179 [2018-10-16T21:47:43+00:00] INFO: Setting the run_list to ["recipe[airflow::default]"] from CLI options [2018-10-16T21:47:43+00:00] INFO: Run List is [recipe[airflow::default]] [2018-10-16T21:47:43+00:00] INFO: Run List expands to [airflow::default] [2018-10-16T21:47:43+00:00] INFO: Starting Chef Run for airflow-ubuntu-1404 [2018-10-16T21:47:43+00:00] INFO: Running start handlers [2018-10-16T21:47:43+00:00] INFO: Start handlers complete. [2018-10-16T21:47:43+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: resolving cookbooks for run list: ["airflow::default"] [2018-10-16T21:47:43+00:00] INFO: Loading cookbooks [airflow@1.2.2, apt@4.0.1, poise-python@1.2.1, compat_resource@12.19.1, poise@2.8.2, poise-languages@1.4.0, poise-archive@1.5.0] Synchronizing Cookbooks:

coderanger commented 6 years ago

Duplicate of #134. You previously had 18.1 installed which breaks the system.

Idun0 commented 6 years ago

@coderanger Thats the part that is confusing me i guess, cause i set the override and destroyed and recreated my kitchen instance but still get an error, are you seeing in my converge where it is being installed as 18.1? cause if it is i need to stop that from happening