(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:
(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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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
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 atINSTALL.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 thepython3-
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:
(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 throughpip
is known to be problematic.Hope this helps
Rob
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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