No distribution matching the version for dronekit error when installing dronekit-Python - dronekit-python

Followed all instructions on 3D Robotics Getting Started page for Windows installation of Dronekit-python.
As per instructions, installed WinPython to use dronekit-python.
As per instructions I open the WinPython Command Prompt and ran the following command:
pip install dronekit
Get error that says "Could not find a version that satisfies the requirement dronekit"
and "No distribution matching the version for dronekit"
Please advise.
Using Windows 8.1
Thank you.

Pypi has only dronekit for Python 2.7.
https://pypi.python.org/pypi/dronekit
If you are using a WinPython3, that would explain the message.

Related

Using owlqn from PyLBFGS

I have a problem with installation of PyLBFGS. I would be grateful if anyone could help me.
My problem is that I have python 3.10 in my Win10. By using pip install PyLBFGS in cmd , I have installed the package in my python. But when I want to use owlqn in the python code, I face with a error:
Thanks in advance for your help,
Regards,
Saleh
Well, I have the same problem on Ubuntu 20.04 and Python 3.9.9. What I did was dowload PyLBFGS package source and manually build it. Basically I did the following:
git clone https://github.com/larsmans/pylbfgs.git
cd pylbfgs
pip install .
Naturally, on Windows 10 you might have to adapt these steps, but this is the only way I was able to install this package. After that, the import works as expected.

extJs 7.0.0 Community Edition - install docs not working

I'm on mac.
Following the guide here: https://docs.sencha.com/extjs/7.0.0-CE/guides/getting_started/mobile_desktop_application/getting_started_with_npm.html
I signed up for to the community edition, received the mail, created my sencha.myget.org account, and did the following commands successfully in a terminal:
step 1: login to npm repo
npm login --registry=https://sencha.myget.org/F/community/npm/ --scope=#sencha
step 2: install app generator cli
npm install -g #sencha/ext-gen
step 3: generate the app
ext-gen app -a
Now step 4 (run the new application) is where I have a problem:
cd my-app
npm start
Gives me this error:
If I open the log I can see the exception message:
/Users//Desktop/test/extjs/my-app/node_modules/#sencha/cmd/dist/plugin.xml:378: The following error occurred while executing this line:
/Users/me/Desktop/test/extjs/my-app/build.xml:15: Unable to create javax script engine for javascript
What am I doing wrong?
So this is how I did it on mac 10.14.
Ok, so reading about javax, apparently it was used in java se8 (https://docs.oracle.com/javase/8/docs/api/javax/script/ScriptEngine.html).
So, I downloaded it using this website: https://adoptopenjdk.net/,
and more precisely this page: https://adoptium.net/?variant=openjdk8.
Once downloaded, I had multiple versions of java installed on my computer and so I had to switch to that one.
So I learned how to switch to any java versions.
First to display the existing versions, type this in the terminal:
/usr/libexec/java_home -V
Then to change version:
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
(notice that for the version number you just type the first two digits, not the whole version number )
To check that it worked:
java -version
Once java 1.8 (apparently that's the version name for jdk8) was running, the npm start command worked without errors.
You need to downgrade Java to any version less than 15, because the Nashorn JavaScript Engine had been removed, which it depends upon. Downgrading Java as far as version 8 probably isn't the optimum (in particular, when also using it for Java development).

lmfit packages conflicting in Windows 10 using Anaconda Python 3.7

I'm trying to use a curve fitting package (lmfit) I did use several times in former times with Python 2.7. Since I moved to Python 3.7, I'm facing some problems on running my script. The error message I get is "ModuleNotFoundError: No module named 'lmfit'".
If I try to reinstall/update the package (using whatever of the commands in https://anaconda.org/conda-forge/lmfit): it looks like there are conflicting packages in my pc. Here the screen of my prompt:
prompt after using 'conda install -c conda-forge/label/cf202003 lmfit'
Any hints on how to solve this conflict?
just install with pip install lmfit.

PyQt5 and Qt5.5 : license incompatibility

this is my problem:
i wanted to install PyQt5 on my fedora22. I have installed Sip as requested and i have noticed that my qt pre-installed version was the 4. Seeing that the 5 was not available in the repos, i installed it from the site.
But when i manually set the path to the qmake in the python3 configue.py --qmake option to configure PyQt5 he says: "Error: This version of PyQt5 and the commercial version of Qt have incompatible licenses."
how can i solve it???
the site says it has double license, when installing i skipped the qt account login and it was written "opensource" .
Thanks for your help!
Same problem here, reeplace "QLibraryInfo::licensee()" for "Open Source" on the configure.py script.
You can comment the lines in configure.py (of PyQt) relative to this check.
-> lines 2591 to 2594 for me.
Works for PyQt-gpl-5.5 ; sip-4.16.9
with Qt5.5 open source GPL version installed through the .run file.

Not able build apache mod_tile in openSuse error: Could not find apxs on the path

I want to run a tiles server with OSM data
i want to install mod_tile so i followed the mod_tile setup
But when i do the
./configure
It says
checking for getloadavg... yes
checking for apxs... no
checking for apxs2... no
checking for /opt/local/apache2/bin/apxs... no
configure: error: Could not find apxs on the path.
any idea what went wrong?
According to the Internets you need to install apache2-dev (previously known as apache2-devel). The apx binary should then be located under /usr/bin/apxs2 or /usr/sbin/apxs2.
Note: For building a tile server you should follow the guide on switch2osm.
For Ubuntu
sudo apt-get install apache2-devel
For RedHat & CentOs
yum install httpd-devel
SUSE has removed the SDK ISO from the area where you download the server ISO.
Check out this page.
I consider their page as very complicated and not logical so play a bit around but you find it in the end.
When you are looking for a current version then it helps you check Last 6 months

Resources