Python Forum
How to resolve scipy differences?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to resolve scipy differences?
#2
As you can see in the docs, importing comb from scipy.misc was depreciated in 1.0.0. You need to import it from scipy.special:
https://docs.scipy.org/doc/scipy-1.2.1/r.../misc.html

Quote:comb is deprecated! Importing comb from scipy.misc is deprecated in scipy 1.0.0.

It was an alias so if you import from scipy.special it should work in both versions. Of course the question why you use two different versions is warnted. It looks like you use one python interpreter in pycharm and other from command line. I would advise to sort out the different python interpreters/installations you have
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
How to resolve scipy differences? - by Oliver - Oct-01-2019, 12:54 PM
RE: How to resolve scipy differences? - by buran - Oct-01-2019, 01:05 PM
RE: How to resolve scipy differences? - by Oliver - Oct-08-2019, 08:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pandas and Date: problem with operator.How to resolve frame 6 4,382 May-13-2019, 05:50 PM
Last Post: frame

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020