Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pkg.build("PyCall"), json.decoder.JSONDecodeError: Extra data #1057

Open
xiang-yu opened this issue Oct 13, 2023 · 0 comments
Open

Pkg.build("PyCall"), json.decoder.JSONDecodeError: Extra data #1057

xiang-yu opened this issue Oct 13, 2023 · 0 comments

Comments

@xiang-yu
Copy link

Hi everyone,

I am running Julia "v"1.9.3" (https://julialang-s3.julialang.org/bin/mac/aarch64/1.9/julia-1.9.3-macaarch64.dmg) on Apple M2 Max with Ventura 13.6.

The Python version on my laptop is Python 3.10.13 build with Anaconda.

I've got the following error when I tried to build "Pycall". Any idea about this?

Pkg.build("PyCall")
Building Conda ─→ ~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/8c86e48c0db1564a1d49548d3515ced5d604c408/build.log
Building PyCall → ~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/43d304ac6f0354755f1d60730ece8c499980f7ba/build.log
ERROR: Error building PyCall, showing the last 100 of log:
self.load()
File "/.julia/conda/3/aarch64/lib/python3.10/site-packages/conda/core/subdir_data.py", line 264, in load
_internal_state = self._load()
File "
.julia/conda/3/aarch64/lib/python3.10/site-packages/conda/core/subdir_data.py", line 321, in _load
repodata, state = fetcher.fetch_latest_parsed()
File ".julia/conda/3/aarch64/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 757, in fetch_latest_parsed
parsed, state = self.fetch_latest()
File "
/.julia/conda/3/aarch64/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 819, in fetch_latest
cache.load_state()
File "/.julia/conda/3/aarch64/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 625, in load_state
self.load(state_only=True)
File "
/.julia/conda/3/aarch64/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 575, in load
state = json.loads(state_file.read())
File "/.julia/conda/3/aarch64/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "
/.julia/conda/3/aarch64/lib/python3.10/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 9 column 2 (char 292)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant