Broken Collaboratory and Failing Missing Package - import

I keep on getting error message modulenotfounderror, under 1.4 Define Midas Function. Seek anyone's advice and assistance.
Thank you
Importing a library that is not in Collaboratory, i did manually install as per !pip install or !apt-get install.

Related

Snapml Not installing on windows

For a ML project on credit-card (ML with python coursera) I needed to import snapml. But unfortunately in pip install module its not unstalling.
Its showing -" error could not find a version that satisfies the requirement snapml"
and "error no matching distribuition found for snapml"
I also tried .whl file which also isnt working.
What should I do fix the issues?
Tried to install and didnt work

How to check compatibility of packages in setup.py wihout installation?

I use a setup.py to declare the python libraries to include in the package of my solution.
Is there a way to check the libraries compatibility using setup.py without installing the package? Because for now I can detect the conflicts only when I try to install my package.
Thank you
I think if I were you I would try with dephell. I don't think it will be able to give you a clear answer without tweaking, but it might help you get a bit closer to the info you are looking for. For example you could try these commands:
dephell deps check --from setuppy
-- https://dephell.readthedocs.io/cmd-deps-check.html
or
dephell deps tree --from setuppy
-- https://dephell.readthedocs.io/cmd-deps-tree.html

ViennaRNA package's Perl module RNA.pm is required

I am running a toolkit named RNA Framework that requires ViennaRNA to be installed.
I have installed the ViennaRNA 2.4.14 to run a function named rf-fold, However, I constantly receive this error:
[!] Error: ViennaRNA package's Perl module RNA.pm is required.
Please ensure that `ViennaRNA package v2.2.0` (or greater) is installed and try again
When I check the missing RNA.pm module, I can see it is in this path:
/home/user/ViennaRNA/lib/site_perl/5.28.0/
when I check which Perl I am using (type: which Perl) it gives me:
/home/user/perl5/perlbrew/perls/perl-5.28.0/bin/perl
I tried different ways to install the ViennaRNA, including conda install -c bioconda viennarna, compile and make install from ViennaRNA-2.4.14.tar.gz file from the official website. But I cannot get over this error.
I saw a similar issue here and there is a solution (https://www.perlmonks.org/?node_id=1052814), but I don't fully understand the content. Thanks in advance for any help and sorry if it is a basic question!
I think the RNA.pm come with the package, when you download ViennaRNA-2.4.14.tar.gz and install following this link.
So I found my RNA.pm is in the directory:
/share/apps/ViennaRNA-2.1.7/compile-install/lib/site_perl/5.14.2/x86_64-linux-thread-multi/RNA.pm
And I modified the PERL5LIB environment variable by :
export PERL5LIB=/share/apps/ViennaRNA-2.1.7/compile-install/lib/
Problem solved!

problem accessing odoo from ubuntu terminal 18

I'm trying to access odoo through commands but I get critical errors one is odoo.modules.module: Couldn't load module web
odoo.modules.module: The 'odoo.addons.web' package was not installed in a way that PackageLoader understands.
ERROR? odoo.service.server: Failed to load server-wide module web.
so I can't access odoo with the command ./odoo-bin
Do you know how I can solve the problem?
You must uninstall jinja2 and reinstalling with this version Jinja2==2.10.1
pip3 uninstall jinja2
and
pip3 install Jinja2==2.10.1
In my case I had this issue in openerp8 with python2.7
I had updated Jinja2 version which is not supported by python2.7 version so I just degrade the version from 2.11 to 2.10 and it's work.

How to include Scypi in buildroot?

I want to include Scipy package to my buildroot (2016.11.2) for a custom linux embedded board without pip.
I have tried scanpypi but it fails with "Error: Could not install package scipy" message.
I've also included line-profiler package without error.
Thanks for your help
Yvan