Menu

External Dependency Question(s)

Anonymous
2016-07-17
2016-07-18
  • Anonymous

    Anonymous - 2016-07-17

    Date: July 16 2016
    RE: Python Package Dependencies

    I am installing PC-BASIC 15.08.9 on a Ubuntu 16 Xenial
    OS and have come across the expected Python external
    depdencies, their names being:

    | xdg | pygame | numpy | serial | parrallel | pexpect |

    Questions;
    (1) Is there somewhere I can find or get a list of the version
    numbers for each of these, that you would recomend?

    (2) What Linux directory should they be in so as to be
    available at run time?

    (3) Do I need to be aware of similar naming conventions
    between Python and Python3?

    (4) Can I get these from another installer package or adapt the
    Ubuntu utility "apt" to scan a different OS version library for these?

    (5) Is there a Python language development utility that could fetch
    them for me?

    Thanks ever so much for your efforts, Rob.
    Sincerely, MarkSCoffman

     
  • Rob Hagemans

    Rob Hagemans - 2016-07-17

    Hi Mark,

    (1 & 2 & 4) I would suggest installing the latest version of these through apt-get - they are all available as Ubuntu packages. They'll be put in the correct directories for things to work on your system. Have a look at INSTALL.md, it has a list of the Ubuntu package names and more useful information about installing dependencies.

    (3) You'll need all these packages for Python 2.7, so the python- packages rather than the python3- packages. PC-BASIC does not currently work on Python 3.

    It may be that the latest version doesn't always work, since I'm on an older version of Ubuntu which may not have the latest versions available. For reference, this is what I use:

    numpy: 1.8.2
    win32api: --
    pygame: 1.9.2a0
    curses: 2.2
    pexpect: 3.2
    serial: 2.6
    parallel: 0.3
    

    (5) Alternatively to APT you could use pip to use the packages from the Python Package Index (PyPI). This should work for most packages, but PyGame installation through pip is known to be problematic.

    Hope this helps
    Rob

     
  • Anonymous

    Anonymous - 2016-07-18

    Thanks, that got it started. xdg = sudo apt-get install python-xdg and so on.
    Python Ver2.7.12 and the rest of the version numbers were all over the place.

    OPT: MS Windows 10 (64) + Oracle VM Virtual Box (64) + Linux Ubuntu 16.04 LTS (64)
    binary image load and zero emulation glitches...is one sweet system.

    Mark

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.