Just a sample of the Echomail archive
Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.
|    PYTHON    |    Support for the Python language    |    96 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 62 of 96    |
|    Doug Cooper to All    |
|    Python Environment Variables    |
|    28 May 20 23:46:09    |
      TID: Mystic BBS 1.12 A45       MSGID: 1:227/702 5bcf6995       TZUTC: -0400              Hi all,              I'm learning Python, and am running into errors that lead me to believe my       environment variables are not set correctly within Windows 10.              My setup is        Python 32bit 2.7.18 for Mystic 32bit 1.12v45a       Windows 10       Using "System" variables, not "User," which all the docs state to do, however       of course I read an article stating system variables should rarely be used       within Windows but rather User variables more often. However, I have tried       both ways without success.              I'm either missing a few modules and or a missing variable. The Error is:              line 29, in file "c:\python27\lib\site-packages\dateutil\tz_init_.py"       line 2, in from .tz import*       File "c:\python27\lib\site-packages\dateutil\tz\tz.py", line 16 in import       weakref        File "C:\Python27\lib\weakref.py," line 14, in from_weakref import (              ImportError: cannot import name _remove_dead_weakref              So from what I've read, it's either a enviroment variable not set, however        c:\python27\lib is within the variables I set.              a missing module, however I'm new to the script language and while I was able       to list installed modules and match up most to the above, I honestly would        not know which are and are not "modules" just by the code. Such as the time       zone function that keeps coming up above, (TZ,) which I tried to research but       was unsucessful. Dateutil and weakref are installed.              Lastly, they say it could be an out of date and or too new of version of an       installed module.              So ... where would you begin to trouble shoot the aforementioned? What       Environment variable would glare out as being obvious that I may be missing?       Do you see any "modules" in the code that I may need to look for and or add?       How would I know if the modules installed are the correct version?              Any input would be awesome. This is for learning, so no huge rush, just       looking for general guidance so I can get this script working and learn as I       do so.              Thanks!              --- Mystic BBS v1.12 A45 2020/02/18 (Windows/32)        * Origin: The Underground [@] theunderground.us:10023 <-port (1:227/702)       SEEN-BY: 1/123 90/1 120/340 601 123/131 226/30 227/114 702 229/424       SEEN-BY: 229/426 616 664 1014 240/5832 249/206 317 400 322/757 342/200       PATH: 227/702 229/426           |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca