Is there any documentation about spyder reports? - python

I just found out about spyder-reports which can both generate the python code and the HTML output from the .mdw file. I installed it with pip, but then I didn't found any way to work with it. I am using spyder 4.1.3 with python 3.6.4, and nothing changed in the interface, opening a .mdw file doesn't seem to propose anything.. How does this plugin work?
Is there any documentation, examples, I could use to figure out how it works?

Unfortunately, no. According to their GitHub issues:
Sorry, this plugin is unmaintained now and it's not compatible with the latest release of Pweave. We'll come back to it after we release Spyder 4.
and
This plugin is unmaintained and not compatible with the latest release of Pweave. To help update it or see the status of that work, visit this link.
Your best bet at this time is to uninstall since the installation downgrades some packages:
pip uninstall spyder-reports
or
conda uninstall spyder-reports
Sources:
https://github.com/spyder-ide/spyder-reports/issues/76
https://github.com/nathancarter/spyder-reports/commit/5fcddd1503e17b5db8df6f0dbe7444f1698824a6

Related

protobuf, and tensorflow installation, which version to choose

I already installed python3.5.2, tensorflow(with python3.5.2).
I want to install protobuf now. However, protobuf supports python3.5.0; 3.5.1; and 3.6.0
I wonder which version should I install.
My question is should I upgrade python3.5.2 to python3.6, or downgrade it to python3.5.1.
I see some people are trying downgrade python3.6 to python3.5
I googled how to change python3.5.2 to python3.5.1, but no valuable information. I guess this is not usual option.
So it is version problem
one google post says change python version to a more general version.
I am not sure how to change python3.5.2 to python3.5.1
I just installed procobuf3.6
I hope it works

Packages installed in Conda env does not show up in Pycharm

I'm struggling to understand why Pycharm is not recognizing OpenCV package installed via Conda.
Conda list command
Pycharm package list
I've noticed that a few times before as well but not as much lately. The first thing I would try is to upgrade to the latest version of PyCharm.
You may just want to peruse their forum if that doesn't help, but it sounds more like a bug to me.
PyCharm Support Forum

How to download previous version of Werkzeug

How do I download previous version of Werkzeug from a trusted site?
Here is what I have tried:
1) I went to this link:
http://werkzeug.pocoo.org/docs/0.9/installation/#installing-a-released-version
and clicked on the "Download Page" link.
It took me to the 0.10.4 download page.
2) I googled "Werkzeug download 0.9" and only got references to 0.10. There was a download link to a versioneye.com site that I don't know if I can trust.
I need to download the previous version because 0.10.x dropped support for support for OpenSSL.
[edit] I have to download rather than install from pip because I don't have access to pip on the old machine I am installing on. It is old, hence the complications.
[edit] I had to use the older version because 0.10.x dropped support for the OpenSSL package in favor of ssl built into Python 2.7.9. I was stuck on Python 2.7.5 so I wanted to continue to use OpenSSL package. I think they made the right decision to drop support as the majority of people can upgrade to 2.7.9.
You can install an old package with pip:
pip install Werkzeug==0.9.6
Building on f43d65's comment, I have refined it to these steps which include making sure it is coming from a reliable source:
goto the official website: http://werkzeug.pocoo.org/
click link to official github account: https://github.com/mitsuhiko/werkzeug
click on releases tab: https://github.com/mitsuhiko/werkzeug/releases
Note: the instructions make sure that the download is coming from the official source.
go in pycharm settings and then in interprator click on + there in packages and then search for werkzeug there, after click on versions and choose old version. it did work for me.

Python - installing matplotlib latest version on Ubuntu 10.04 LTS

I'm currently running Matplotlib 0.99.1.1 on Ubuntu 10.04 LTS (Lucid Lynx).
I would like to upgrade Matplotlib to version 1.1.0. I have tried following the
instructions at SourceForge, which didn't seem to do anything (IPython still thinks I have version 0.99.1.1).
I have tried searching for how to do this another way but, being relatively new to Linux, am a little confused what I need to do now. I have tried a few suggestions on the forums but still I cannot seem to install Matplotlib-1.1.0
This thread for example doesn't seem to work for me (pip complains of an "Unknown or unsupported command 'install'").
Any help is much appreciated!
Unless my memory fails me completely, I followed the build from source instructions you link to on two Lucid systems of mine. These instructions, to be precise:
http://matplotlib.sourceforge.net/users/installing.html#installing-from-source
Worked like a charm, after I remembered to do python setup.py install. And, yes,prior to the install, I removed the 0.99 matplotlib via synaptic. Did you try removing the older version first?
https://launchpad.net/ubuntu/oneiric/+source/matplotlib
There is a section for binary builds, just grab the appropriate package for your system architecture and dpkg -i the_package_name.deb
I'm not sure what went wrong with my system, but the issue resolved itself. Either one of the procedures I followed while searching for an answer worked, or the build from source instruction worked.
Perhaps my computer just took a while to realise I did in fact have the newest version installed.
For future reference, I would follow the install from source instructions on the matplotlib site at SourceForge, noting the answer by Zhenya.

pip doesn't grab latest version of tweepy?

Using 'pip install tweepy' I get version 1.7.1 of tweepy which is quite old and certainly doesn't support oauth.
Has a new version of the package not been published?
It's still under active development. Do I need pull the source from GIT? I'm just surprised there isn't a newer package. Am I missing something?
Thanks.
1.7.1 is the latest version on pypi, and the last tag listed in on github. I'd say pip is doing exactly what it's supposed to be doing.

Categories

Resources