Using owlqn from PyLBFGS - python-3.10

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.

Related

How to install pygbif on python 3.7?

I've got problem with installing pygbif library on my Windows 10. I'm using Python 3.7. Did anyone install with success?
I used to have a similar problem and
pip install requests-cache == 0.7.4
in cmd helped me, but it totally depends on the error you get.
My suggestion is just a blind shot, but I hope it helps.

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.

Superset: command not found

I have installed superset using pip install superset command. Then i try to superset db upgrade but it's saying superset: command not found
Can anyone help me here?
FYI now the PyPI package is apache-superset, so pip install apache-superset
Go through the superset documentation here.
First I was trying without installing superset package in my virtual environment. After successful installation it's working fine.
From Superset documentation you should do this:
# Install superset
pip install superset
# Create an admin user (you will be prompted to set username, first and last name before setting a password)
fabmanager create-admin --app superset
# Initialize the database
superset db upgrade
# Load some data to play with
superset load_examples
# Create default roles and permissions
superset init
# Start the web server on port 8088, use -p to bind to another port
superset runserver
Note: Only run this command in a virtual environment, fabmanager will not work well if you don't do this.
For me in Mac OSX launching this command
virtualenv venv
. ./venv/bin/activate
before installing superset:
pip install superset
worked perfectly.
I had the same issue, so I went to the path of superset and did this.
something like this: ~/.local/bin/superset db upgrade
As this error just occurred to me, I have finally find a solution based on #sammy ongaya. First need to cd to your virtenvs fold's \Scripts\, like me using conda, so it's under C:\Anaconda3\envs\python35\Scripts. And then just put python before all command, like python superset db upgrade.
After that everything should work. Hope to help someone looking for windows Superset error.
#moxiao was right, to cd to your virtenvs fold's *\Scripts* use cd venv\Scripts\ after
virtualenv venv
venv\Scripts\activate
pip install superset
Add python before superset db upgrade command. Your command should be python superset db upgrade. Whenever you run a superset command try adding the python before your command.

Installation error numpy in Qpython

In Qpython which uses Python 2.7.2; I can't install the numpy module. The message I get is: command python setup.py egg_info failed with error code 2
I think it tries to install the Mac version***, which is obviously not compatible. At least, that's what it looked like when scrolling through the CLI output when issuing the pip install numpy command using the pip script.
I don't think the numpy/scipy modules are available for Qpython for Android. I think we're just going to have to wait. I've been googling this same question and I have not found an answer.
***Ok, the script says it's a version for a variety of OS', just not Android. I have no idea why pip install would download it if it wasn't compatible. It doesn't make sense, so I'm obviously missing something.

how to install openVRML in Snow Leopard?

I have tried macports:
port install openvrml
Also tried fink (with unstable tree configuration)
fink install openvrml6-xembed-dev
and both failed.
Also tried downloading the source form Sourceforge and don't know what do with those sources. OpenVRML from sourceforge
should I run just do this? :
./configure
make
Any help is very appreciated , thanks ;)
You don't give any information about what sorts of failures you've seen so it's difficult to guess. However, it looks like one fix for an openvrml build problem was just checked-in to macports. If the problem description looks familiar, you might want to try it again:
sudo port sync
sudo port install openvrml

Resources