Python Forum
Trying to setup Python application, odd error
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to setup Python application, odd error
#2
you list off responses from directories...
  • /usr/local/lib/python3.4 
  • /usr/local/bin/python3 
  • /usr/lib/python3 
/usr/lib/python3 and /usr/local/lib/python3.4 are not the same. local is for locally installed programs or programs you did not install with a package manager (ie. apt-get. So you must have numerous python installations, may or may not be the same version, but one with pip/cython and one without. One in /usr/bin and at least another one in /usr/local/bin
 
Quote:I tried cutting and pasting the stuff in /usr/local/lib/python3.4/dist-packages to /usr/local/lib/python3.4,
I would not do anything like this. First of all dist-packages are where 3rd party libs go for python. Secondly, if you cut and paste other stuff like i would restart with a fresh new install of python3.X and start back at square one. Do not remove python2.x as it can mess your system up.

Also it appears you might of symlinked your python3 to your local directory or an alias?
Recommended Tutorials:
Reply


Messages In This Thread
RE: Trying to setup Python application, odd error - by metulburr - Jul-31-2017, 01:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I properly implement restarting a multithreaded python application? MrFentazis 1 746 Jul-17-2023, 09:10 PM
Last Post: JamesSmith
  Python running only in application Mawixy 2 1,228 Apr-19-2022, 11:38 AM
Last Post: Mawixy
  Setup Portable Python on Windows for script starts with double clicks? pstein 0 1,916 Feb-18-2022, 01:29 PM
Last Post: pstein
  How to send data from a python application to an external application aditya_rajiv 1 2,296 Jul-26-2021, 06:00 AM
Last Post: ndc85430
  python application and credentials safety concern aster 4 3,658 Mar-06-2021, 06:51 PM
Last Post: snippsat
  VSCode Setup and configuring to run with Python apollo 2 3,184 Jan-13-2021, 04:55 PM
Last Post: jefsummers
  Python Idlex setup robsuttonjr 3 3,210 Jan-09-2021, 09:54 PM
Last Post: Gribouillis
  ModuleNotFoundError when application is not installed via setup.py bytebutcher 3 2,276 Jan-08-2021, 10:28 AM
Last Post: Gribouillis
  python setup.py install error blackclover 2 8,151 Jan-07-2021, 04:36 AM
Last Post: blackclover
  Keep Application running after Python script ends PEGylated_User 0 2,071 Nov-12-2020, 03:27 PM
Last Post: PEGylated_User

Forum Jump:

User Panel Messages

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