i have a windows machine where I need to run openstak client. I have installed python 2.7.13 , but when I try installing "pip install python-openstackclient" I am getting below error.
Could not find a version that satisfies the requirement python-openstackclien
(from versions: )
No matching distribution found for python-openstackclient
Can anyone help me to correct the error ?
I run openstack CLI in windows under python 3.5.2 to execute use MINGW64 which comes with Git Bash
First install python 3
Run
pip install python-openstackclient
Note: Working on windows 10
By OpenStack client do you mean OpenStack compute? The controller node needs to be installed on a Linux machine. HyperV on Windows can be used as a compute node connected to the controller.
For more information please refer to this link:
https://ask.openstack.org/en/question/373/how-do-you-install-openstack-on-a-windows-pc/
Related
I am trying to build a custom debian package of the Cassandra C++ Driver on Jammy (22.04) [0].
It builds fine, but when I manually 'Deploy' the packages to our private JFrog repo no information is shown in the 'Debian Info' section, and the packages are not picked up when I do sudo apt update locally.
Locally doing a dpkg-deb -I <package.deb> shows all the expected information. Also, installing the local package with sudo dpkg -i <package.deb> works fine.
All seems fine when I perform the same actions on Ubuntu Bionic (18.04)
There's nothing in the JFrog UI that indicates any issue with the package.
How can I figure out what's going wrong?
[0] https://github.com/datastax/cpp-driver
cd to 'packaging' and run build_deb.sh
Hello I came across the same issue and found out the problem, since ubuntu 21.10 the default package compression method has changed to zstd but artifactory had no support of this until recently: RTFAC-19541.
So you can either update your artifactory instance to at least version 7.38.0 or use another compression method in your debian package generation process, see the this answer.
Too bad that artifactory didn't print any error for this.
does anyone know how I could install MariaDB 5.5 server with Homebrew on Mac OS? I've tried running brew install mariadb#5.5 but it doesn’t work.
You can also Try Building it from source!
you can use Homebrew to build MariaDB from source.Its helpful if you want to use a different version of the server or enable some different capabilities that are not included in the bottle package or if you are having issues with the bottle package.
To build MariaDB Server with these engines, you must first install boost and judy.
And please can you be specific about the errors you encountered.
You might want to check this site:
Now a bit of background of my current setup:
I have Python3.3 running on Centos 6. I'm currently working on a web application using Flask that runs on Apache 2.2.15 with mode WSGI 4.5.3 and virtualenv 15.0.2.
pip --version pip 8.1.2 from /usr/local/bin/lib/python3.3/site-packages (python 3.3)
I have installed pysvn with pip and when I run pip show pysvn says
Location: /usr/local/bin/lib/python3.3/site-packages
755 permissions recursively set to /usr/local/bin/lib/python3.3/site-packages. And I passed --system-site-packages argument to virtualenv to use the global site packages.
Even when I try to import the package from python interpreter it does not work. So it is not specific to my virtualenv setup but rather a global problem.
I must mention that other packages installed with pip work perfectly fine (i.e. flask).
I've exhausted all other avenues before coming forward to you guys. Any suggestion would be highly appreciated as I ran out of ideas.
L.E.
I did manage to install it in the end. I'm not completly sure yet why and how but I presume is was compatibility issue.
First of all I have uninstalled svn 1.6+ and installed version 1.8.16 instead which seems to be tested against the latest two versions.
Second, I have uninstalled the troublesome pysvn instance and installed pysvn-1.8.0 workbench "sudo /var/www/FlaskApp/FlaskApp/flask/bin/pip install pysvn-1.8.0.tar.gz". In this case I have installed it my local environment. The 1.9.0 version of pysvn did not work.
L.L.E.
False positive, still doesn't work. I'm going to interact with svn via command line from my script.
L.L.L.E.
After installing svn 1.8.16 and svn-devel along with the rest of dependencies described in the readme file I have managed to successfully install it from the source fallowing the instructions.
Thanks for your help Barry.
pysvn is not available from PyPI because PyPI has no way to allow me to upload pysvn for each supported SVN version. Let alone deal with the issues of installing on a Linux distro given the choices for pysvn dependencies.
(APR, SVN, OpenSSL etc).
Fedora packages pysvn for the Fedora release.
I'm assuming that means it is on RHEL and therefore packaged by CentOS.
(But I do not have RHEL or CentOS to check this on)
If you find that a package is not available for your CentOs is not hard
to build pysvn on a linux distro. Get the source kit and follow the readme.html should get you going.
Barry (pysvn maintainer)
Please help me installing cx_Oracle for python 3.4.
I am able to install it for python 2.7 using the below method.
https://www.youtube.com/watch?v=9DwbOozQrZ8
however it is not working for 3.4. Please help me.
First, make sure you have the instant client installed on your machine and you are able to connect to your database with SQL*Plus. Also make sure you have the instant client development package installed on your machine.
Second, run the command
pip install cx_Oracle
This will download the source package and build. If you are using the instant client nothing else needs to be done.
My Django 1.8.4 works perfectly with cx_Oracle Python 2.7 set on Linux, but it's not even mentioned that latest cx_Oracle supports Python 3.4 for Linux (for Win it does). As result attempt pip install cx_Oracle gets
distutils.errors.DistutilsSetupError: cannot locate Oracle include files
For automated testing on RIDE(Robot framework), I had already installed PYTHON 2.6 and wxPython 3.0 version,PATH had already been updated in Environment variables, and when I jumped to the last phase i.e Installing RIDE(version -"robotframework-ride-1.3.win32.exe") through Windows Installer, application is been installed when I try to through "Run as Administrator", it was unable to open the IDE. How I can resolve this issue?
I installed RIDE a few days ago with no problem.
First you need to install python like you did (run the command: "python --version" to verify the installation).
After that, you will need to install Robot Framework (run the command: "pybot --version" to verify the installation)
If Robot Framework was sucessfully installed then it's time to install wxpython (choose the right installation, depending on the python version installed)
Finally you only need to install RIDE and it should work
You can follow the steps given below to install robotframework.
Install Python 2.7.1
RIDE runs only on the regular Python, not on Jython nor IronPython.
Download Python 2.7.1
Install Python 2.7.1.
Set the path in environment variable. (Look below for instructions )
Note: Python 2.6 is the minimum version. Robot Framework, RIDE does not yet support Python3 .
Set path on Windows 8 (Windows 7 users also can try the steps)
Open Start and
search Environment Variables
Click on Edit the system environment variables
Goto Advanced tab
Click on Environment Variables button
Scroll down under System variables and click on Path
Click on Edit button
Append ;<InterpreterInstallationDir>;<InterpreterInstallationDir>\Scripts\ in variable value Save the changes.
If command prompt is already open, then re-open command prompt to effectively take changes.
Install wxPython 2.8.12.1
It is necessary to install wxPython because RIDE’s GUI is implemented by using wxPython.
Download wxPython 2.8.12.1 directly from https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi
Run the installer and finish the setup. This will install wxPython 2.8-win32-unicode-2.8.12.1 on your system.
Install PIP 1.1
To install PIP follow the step by step instruction provided here http://arunrocks.com/guide-to-install-python-or-pip-on-windows/
Install Robotframework 2.9rc1
Using Command Prompt
You can install RIDE by using the pip or easy_install commands.
Run either of the following command to install Robotframework:
pip install robotframework ride
OR
easy_install robotframework ride
After the installation of RIDE, run the following command:
`ride.py` (this will launch RIDE )
Using Windows Installer
Download robotframework-RIDE 1.4:
You can download RIDE installer for windows version from
https://pypi.python.org/packages/source/r/robotframework-ride/robotframework-ride-1.4.tar.gz
Open the installer and follow the onscreen instructions. After installation, launch RIDE by double clicking the shortcut icon.
This should resolve the issue.
Thank you :)
You probably have the different versions for wxPython and Python in your machine. Always make sure you should install the wxPython version same as the python version i.e. Python 2.7.