Hello -
I have been working with Salt from Vagrant and have a configuration that
installs Python3 packages from using pip.
I am running on the latest version of Ubuntu 14.04 server and latest
version of Vagrant 1.5.3 with the latest version of Oracle VirtualBox
4.3.10 as well.
The SLS is as follows, and I have posted this on Salt-users group as well.
Hoping someone is using Vagrant with Salt here and may have experienced
this problem already.
..................................................................
..................................................................
pip3-dependencies:
pkg.installed:
- names:
- python3-dev
- build-essential
- libpq-dev
- python3-pip
python3-pip:
pkg.installed
mysql-connector-python:
pip.installed:
- require:
- pkg: pip3-dependencies
psycopg2:
pip.installed:
- require:
- pkg: pip3-dependencies
pyzmq:
pip.installed:
- require:
- pkg: pip3-dependencies
..................................................................
..................................................................
I keep getting:
----------
ID: mysql-connector-python
Function: pip.installed
Result: False
Comment: State pip.installed found in sls python3 is unavailable
Changes:
----------
ID: psycopg2
Function: pip.installed
Result: False
Comment: State pip.installed found in sls python3 is unavailable
Changes:
..................................................................
..................................................................
Wondering what I may be doing wrong? The pip3-dependencies including
python3-pip install fine.
I wonder if this may have anything to being at latest version of Python at
3.4?
I have noticed that I while I can go in and run 'sudo pip3 install
psycopg2' - I cannot do the same for mysql-connector-python.
For mysql-connector I have to run 'sudo pip3 install --allow-all-external
mysql-connector-python'.
I do not have to do an --allow-all-external when in Python 3.3 in my
development box.
Would that be because pip3 is not properly setup for Python 3.4 OR
my configuration is incorrect for pip3 install.
I am running on the latest version of Ubuntu 14.04 server and latest
version of Vagrant 1.5.2 with the latest version of Oracle VirtualBox
4.3.10 as well.
Thank you for your help.
Monosij
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.