Skip to content

It seems doesn't work under WINDOWS system #44

@cl-03

Description

@cl-03

win10+emacs+slime+sbcl

CL-USER> (ql:quickload :py4cl/tests)
To load "py4cl/tests":
  Load 1 ASDF system:
    py4cl/tests
; Loading "py4cl/tests"

; file: C:/Users/chuangxiu.chen/quicklisp/dists/quicklisp/software/py4cl-20200925-git/tests/tests.lisp
; in: PY4CL:IMPORT-MODULE "math"
;     (PY4CL:IMPORT-MODULE "math" :RELOAD T)
; 
; caught ERROR:
;   (during macroexpansion of (PY4CL:IMPORT-MODULE "math" ...))
;   end of file on #<SB-SYS:FD-STREAM for "descriptor 848" {100D009453}>
[package py4cl/tests].....................

windows system has installed python.Use Anaconda:

(base) PS C:\Users\chuangxiu.chen> python
Python 3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
Failed calling sys.__interactivehook__
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site.py", line 440, in register_readline
    readline.read_history_file(history)
  File "C:\ProgramData\Anaconda3\lib\site-packages\pyreadline\rlmain.py", line 165, in read_history_file
    self.mode._history.read_history_file(filename)
  File "C:\ProgramData\Anaconda3\lib\site-packages\pyreadline\lineeditor\history.py", line 82, in read_history_file
    for line in open(filename, 'r'):
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 106: illegal multibyte sequence
>>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions