Python Forum
2 versions of module installed, how to import the earlier one
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 versions of module installed, how to import the earlier one
#3
(Oct-20-2019, 06:31 PM)Larz60+ Wrote: pip install --force-reinstall numpy==1.15.4
will replace current version. Careful, other version will be gone when done!

Be aware, that based on your comments, it looks like you have more than one version of python installed.
check version with:
python -V
# then make sure pip matches python
pip -V
# finally pip list to show versions of software installed

Thank you for your answer!
1) I use anaconda, can you please write code for anaconda? fbprophet doesn`t work without anaconda
My code was
conda remove numpy
conda install numpy==1.15.4
After that code:
I still had version of numpy 1.16.3 and anaconda stopped work, so I reinstalled anaconda

2)I have only one version of python: 2.7. I think this is because I have python and I have anaconda
Reply


Messages In This Thread
RE: 2 versions of module installed, how to import the earlier one - by sveto4ka - Oct-20-2019, 07:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Launcher (on Windows) only necessary when 2 or more Python versions installed? pstein 1 433 Feb-17-2024, 12:43 PM
Last Post: deanhystad
  is import cointegration_analysis a recognized module mitcht33 1 522 Nov-06-2023, 09:29 PM
Last Post: deanhystad
  problem in import module from other folder akbarza 5 1,730 Sep-01-2023, 07:48 AM
Last Post: Gribouillis
  can not import anaconda pandas module. PySpark pandas module is imported!! aupres 0 795 Aug-06-2023, 01:09 AM
Last Post: aupres
  import module error tantony 5 3,650 Dec-15-2022, 01:55 PM
Last Post: Lauraburmrs
  Import a module one step back of the path prathampatel9 1 1,135 Sep-21-2022, 01:34 PM
Last Post: snippsat
  ModuleNotFound but pip shows module installed biscotty666 2 1,650 Jul-14-2022, 05:17 PM
Last Post: Axel_Erfurt
  Import a module for use in type hint? Milosz 0 1,555 Nov-08-2021, 06:49 PM
Last Post: Milosz
  Can't install nor import delorean module Tek 3 2,930 Oct-27-2021, 03:32 AM
Last Post: Tek
  Installed versions of Python SamHobbs 5 2,672 Sep-02-2021, 02:28 PM
Last Post: jefsummers

Forum Jump:

User Panel Messages

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