Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Nanpy import error
#3
Ok, so from a python session:

Executable: /usr/bin/python3
Module paths:
/home/pi
/usr/lib/python35.zip
/usr/lib/python3.5
/usr/lib/python3.5/plat-arm-linux-gnueabihf
/usr/lib/python3.5/lib-dynload
/usr/local/lib/python3.5/dist-packages
/usr/lib/python3/dist-packages

then from ssh

('Executable:', '/usr/bin/python')
Module paths:
/home/pi
/usr/lib/python2.7
/usr/lib/python2.7/plat-arm-linux-gnueabihf
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/home/pi/.local/lib/python2.7/site-packages
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages

Ahhh. Which would be different (same if ran from terminal).

So, how do I get both to be the same?

Wait, I've figured it....

Doh.

rather than type "Python ...."
type "python3....."

And then it works!
Quote

Top Page

Messages In This Thread
Nanpy import error - by Apretext - Apr-29-2019, 02:09 PM
RE: Nanpy import error - by DeaD_EyE - Apr-29-2019, 03:01 PM
RE: Nanpy import error - by Apretext - Apr-29-2019, 04:00 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  import error (unknown location) pseudo 1 147 Nov-14-2019, 11:47 PM
Last Post: pseudo
  import module error german77 4 564 Feb-28-2019, 02:29 PM
Last Post: german77
  Running pytest gives " 'cannot import name 'session' " error jasonblais 2 694 Oct-10-2018, 05:02 PM
Last Post: jasonblais
  Import Error Bravoseeker 3 1,580 Oct-05-2018, 03:00 PM
Last Post: Larz60+
  module import error bobsmith76 4 819 Sep-18-2018, 03:41 AM
Last Post: bobsmith76
  Invalid Syntax Error on Import arjunsingh2908 3 4,938 Jul-07-2018, 05:02 PM
Last Post: ichabod801
  Import error when trying to import DDE (part of PyWin32) fbicalho 0 1,113 Apr-21-2018, 07:26 PM
Last Post: fbicalho
  python import sybpydb error: DLL load failed: The specified module could not be found andieDu 3 2,447 Apr-04-2018, 06:58 AM
Last Post: Larz60+
  CSV unable to import (traceback error) learnermarx 3 2,106 Feb-09-2018, 03:24 PM
Last Post: buran
  error in import numba Sara 1 2,827 Oct-22-2017, 08:07 PM
Last Post: metulburr

Forum Jump:


Users browsing this thread: 1 Guest(s)