Python support in Lean with pythonnet
=====================================
Prerequisites:
- Python 3.6 x64 with pip
- LEAN: https://github.com/QuantConnect/Lean#installation-instructions
- pkg-config: http://macappstore.org/pkg-config/
- git
It will update conda, pip, wheel, setuptools, pandas packages.
Install/updates required packages
---------------------------------
[conda] Successfully installed/updated: setuptools, pip, pandas, wheel, conda
Install/updates pythonnet
-------------------------
Command "/Users/kevinyuan/works/quantconnect/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/9s/rdkm24152qq5tv0jg76pcmyc0000gn/T/pip-req-build-axne_ulw/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/9s/rdkm24152qq5tv0jg76pcmyc0000gn/T/pip-record-wq_0j0dj/install-record.txt --single-version-externally-managed --compile --install-headers /Users/kevinyuan/works/quantconnect/include/site/python3.6/pythonnet" failed with error code 1 in /private/var/folders/9s/rdkm24152qq5tv0jg76pcmyc0000gn/T/pip-req-build-axne_ulw/
Collecting git+https://github.com/QuantConnect/pythonnet
Cloning https://github.com/QuantConnect/pythonnet to /private/var/folders/9s/rdkm24152qq5tv0jg76pcmyc0000gn/T/pip-req-build-axne_ulw
Installing collected packages: pythonnet
Running setup.py install for pythonnet: started
Running setup.py install for pythonnet: finished with status 'error'
Complete output from command /Users/kevinyuan/works/quantconnect/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/9s/rdkm24152qq5tv0jg76pcmyc0000gn/T/pip-req-build-axne_ulw/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/9s/rdkm24152qq5tv0jg76pcmyc0000gn/T/pip-record-wq_0j0dj/install-record.txt --single-version-externally-managed --compile --install-headers /Users/kevinyuan/works/quantconnect/include/site/python3.6/pythonnet:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
----------------------------------------
I am on WSL: Ubuntu in VS Code Using Zsh on VS Code. I am running everything on the Linux subsystem with python installed in the Linux subsystem and my virtual env in the Linux subsystem.
I am trying to install pythonnet though am getting two errors:ERROR: Failed building wheel for pythonneterror: option —single-version-externally-managed not recognized
This is from using pip install pythonnet==2.5.2
My versions are:Python 3.8.10Wheel 0.37.0Mono: 6.8.0.105
I have searched high and low online though I can’t find a solution — everything seems to point to updating wheel and installing mono — as you can see from the above version numbers, I have them installed.I am doing everything from within a virtual env.
Does anyone have any experience with this or know what to do to get past these errors?
Full log:
~/j/s/stx1alpha-signals/d/backend on master !6 ?1 ❯ pip install pythonnet==2.5.2
stx1alpha at 10:52:05 AMCollecting pythonnet==2.5.2Using cached pythonnet-2.5.2.tar.gz (1.9 MB)Preparing metadata (setup.py) … doneRequirement already satisfied: pycparser in /home/jessica-ryan/jessica-ryan/stx1alpha/.venv/lib/python3.8/site-packages (from pythonnet==2.5.2) (2.20)
Building wheels for collected packages: pythonnetBuilding wheel for pythonnet (setup.py) … errorERROR: Command errored out with exit status 1:
command: /home/jessica-ryan/jessica-ryan/stx1alpha/.venv/bin/python -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py'»‘»‘; file='»‘»‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py'»‘»‘;f = getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()'»‘»‘);code = f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ bdist_wheel -d /tmp/pip-wheel-789kx5l4cwd: /tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/Complete output (153 lines):running bdist_wheelrunning buildrunning build_extChecking for updates from https://www.nuget.org/api/v2/.Currently running NuGet.exe 4.1.0.Updating NuGet.exe to 5.11.0.Update successful.MSBuild auto-detection: using msbuild version ‘14.0’ from ‘/usr/lib/mono/xbuild/14.0/bin’.
xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
MSBUILD: error MSBUILD0004: Too many project files specified
WARNING: Error reading msbuild project information, ensure that your input solution or project file is valid. NETCore and UAP projects will be skipped, only packages.config files will be restored.Restoring NuGet package System.ValueTuple.4.5.0.Restoring NuGet package NUnit.ConsoleRunner.3.11.1.Restoring NuGet package NUnit.3.12.0.Restoring NuGet package UnmanagedExports.1.2.7.Adding package ‘NUnit.3.12.0’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’Adding package ‘System.ValueTuple.4.5.0’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’Adding package ‘UnmanagedExports.1.2.7’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’Adding package ‘NUnit.ConsoleRunner.3.11.1’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’Added package ‘UnmanagedExports.1.2.7’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’Added package ‘System.ValueTuple.4.5.0’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’Added package ‘NUnit.ConsoleRunner.3.11.1’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’Added package ‘NUnit.3.12.0’ to folder ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/packages’
NuGet Config files used:/home/jessica-ryan/.config/NuGet/NuGet.Config
Feeds used:/home/jessica-ryan/.nuget/packages/https://api.nuget.org/v3/index.json
Installed:4 package(s) to packages.config projects
xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
XBuild Engine Version 14.0Mono, Version 6.8.0.105Copyright (C) 2005-2013 Various Mono authors
Build started 11/18/2021 10:53:28.
Project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/pythonnet.sln» (Clean target(s)):Target ValidateSolutionConfiguration:Building solution configuration «ReleaseMono|x64».Target Clean:Project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/runtime/Python.Runtime.csproj» (Clean target(s)):Target CoreClean:Deleting file ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/runtime/obj/x64/ReleaseMono/.NETFramework,Version=v4.0.AssemblyAttribute.cs’Done building project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/runtime/Python.Runtime.csproj».The project ‘clrmodule’ is disabled for solution configuration ‘ReleaseMono|x64’.Project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/testing/Python.Test.csproj» (Clean target(s)):Target CoreClean:Deleting file ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/testing/obj/x64/ReleaseMono/.NETFramework,Version=v4.0.AssemblyAttribute.cs’Done building project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/testing/Python.Test.csproj».Project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/embed_tests/Python.EmbeddingTest.csproj» (Clean target(s)):Target CoreClean:Deleting file ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/embed_tests/obj/x64/ReleaseMono/.NETFramework,Version=v4.0.AssemblyAttribute.cs’Done building project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/embed_tests/Python.EmbeddingTest.csproj».Project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/console/Console.csproj» (Clean target(s)):Target CoreClean:Deleting file ‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/console/obj/x64/ReleaseMono/.NETFramework,Version=v4.0.AssemblyAttribute.cs’Done building project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/console/Console.csproj».Done building project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/pythonnet.sln».
Build succeeded.0 Warning(s)0 Error(s)
Time Elapsed 00:00:00.3407830
xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
XBuild Engine Version 14.0Mono, Version 6.8.0.105Copyright (C) 2005-2013 Various Mono authors
Build started 11/18/2021 10:53:29.
Project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/pythonnet.sln» (Build target(s)):Target ValidateSolutionConfiguration:Building solution configuration «ReleaseMono|x64».Target Build:Project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/runtime/Python.Runtime.csproj» (default target(s)):Target PrepareForBuild:Configuration: ReleaseMono Platform: x64Created directory «bin/»Target GenerateSatelliteAssemblies:No input files were specified for target GenerateSatelliteAssemblies, skipping.Target CoreCompile:Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/x64/ReleaseMono/Python.Runtime.dll
/resource:obj/x64/ReleaseMono/Python.Runtime.resources.clr.py,clr.py Codecs/EncoderGroup.cs Codecs/DecoderGroup.cs Codecs/RawProxyEncoder.cs Codecs/TupleCodecs.cs converterextensions.cs finalizer.cs Properties/AssemblyInfo.cs ../SharedAssemblyInfo.cs arrayobject.cs assemblymanager.cs BorrowedReference.cs classderived.cs classbase.cs classmanager.cs classobject.cs clrobject.cs codegenerator.cs constructorbinder.cs constructorbinding.cs converter.cs CustomMarshaler.cs debughelper.cs delegatemanager.cs delegateobject.cs eventbinding.cs eventobject.cs exceptions.cs extensiontype.cs fieldobject.cs generictype.cs genericutil.cs importhook.cs indexer.cs interfaceobject.cs interfaces.cs interop.cs iterator.cs managedtype.cs metatype.cs methodbinder.cs methodbinding.cs methodobject.cs methodwrapper.cs modulefunctionobject.cs moduleobject.cs modulepropertyobject.cs nativecall.cs NewReference.cs NonCopyableAttribute.cs overload.cs propertyobject.cs pyansistring.cs pydict.cs PyExportAttribute.cs pyfloat.cs pyint.cs pyiter.cs pylist.cs pylong.cs pynumber.cs pyobject.cs pyscope.cs pysequence.cs pystring.cs pythonengine.cs pythonexception.cs pytuple.cs ReferenceExtensions.cs runtime.cs typemanager.cs typemethod.cs Util.cs platform/Types.cs platform/LibraryLoader.cs polyfill/ReflectionPolifills.cs slots/mp_length.cs interop38.cs obj/x64/ReleaseMono/.NETFramework,Version=v4.0.AssemblyAttribute.cs
/target:library /unsafe+
/define:»PYTHON38;PYTHON3;UCS4;MONO_LINUX;PYTHON_WITHOUT_ENABLE_SHARED»
/nowarn:1591 /doc:bin/Python.Runtime.xml /langversion:7.3 /nostdlib
/reference:/usr/lib/mono/4.0-api/System.dll /reference:/usr/lib/mono/4.0-api/System.Core.dll
/reference:/usr/lib/mono/4.0-api//mscorlib.dllCSC: error CS1617: Invalid -langversion option 7.3′. It must beISO-1′, `ISO-2′, Default, Latest or value in range 1 to 7.2Task «Csc» execution — FAILED
Done building target «CoreCompile» in project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/runtime/Python.Runtime.csproj».— FAILED
Done building project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/runtime/Python.Runtime.csproj».— FAILED
Task «MSBuild» execution — FAILED
Done building target «Build» in project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/pythonnet.sln».— FAILEDDone building project «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/pythonnet.sln».— FAILED
Build FAILED.Errors:
/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/pythonnet.sln (Build) ->(Build target) ->/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/src/runtime/Python.Runtime.csproj (default targets) ->/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->
CSC: error CS1617: Invalid -langversion option `7.3'. It must be `ISO-1', `ISO-2', Default, Latest or value in range 1 to 7.2 0 Warning(s) 1 Error(s)
Time Elapsed 00:00:00.3647620Traceback (most recent call last):File «», line 1, inFile «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py», line 630, insetup(File «/home/jessica-ryan/jessica-ryan/stx1alpha/.venv/lib/python3.8/site-packages/setuptools/init.py», line 153, in setupreturn distutils.core.setup(**attrs)File
«/usr/lib/python3.8/distutils/core.py», line 148, in setupdist.run_commands()File
«/usr/lib/python3.8/distutils/dist.py», line 966, in run_commandsself.run_command(cmd)File
«/usr/lib/python3.8/distutils/dist.py», line 985, in run_commandcmd_obj.run()File «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py», line 612, in runreturn bdist_wheel.bdist_wheel.run(self)File «/home/jessica-ryan/jessica-ryan/stx1alpha/.venv/lib/python3.8/site-packages/wheel/bdist_wheel.py», line 299, in runself.run_command(‘build’)File «/usr/lib/python3.8/distutils/cmd.py», line 313, in run_commandself.distribution.run_command(command)File
«/usr/lib/python3.8/distutils/dist.py», line 985, in run_commandcmd_obj.run()File
«/usr/lib/python3.8/distutils/command/build.py», line 135, in runself.run_command(cmd_name)File «/usr/lib/python3.8/distutils/cmd.py», line 313, in run_commandself.distribution.run_command(command)File
«/usr/lib/python3.8/distutils/dist.py», line 985, in run_commandcmd_obj.run()File
«/usr/lib/python3.8/distutils/command/build_ext.py», line 340, in runself.build_extensions()File
«/usr/lib/python3.8/distutils/command/build_ext.py», line 449, in build_extensionsself._build_extensions_serial()File
«/usr/lib/python3.8/distutils/command/build_ext.py», line 474, in _build_extensions_serialself.build_extension(ext)File «/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py», line 353, in build_extensionsubprocess.check_call(» «.join(cmd + [«/t:Build»]), shell=use_shell)File
«/usr/lib/python3.8/subprocess.py», line 364, in check_callraise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command ‘xbuild pythonnet.sln
/p:Configuration=ReleaseMono /p:Platform=x64
/p:DefineConstants=»PYTHON38%3BPYTHON3%3BUCS4%3BMONO_LINUX%3BPYTHON_WITHOUT_ENABLE_SHARED» /p:PythonBuildDir=»/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/build/lib.linux-x86_64-3.8″
/p:PythonInteropFile=»interop38.cs» /p:PackageId=pythonnet_py38_x64 /verbosity:normal
/t:Build’ returned non-zero exit status 1.
ERROR: Failed building wheel for pythonnetRunning setup.py clean for pythonnetFailed to build pythonnetInstalling collected packages: pythonnetRunning setup.py install for pythonnet … errorERROR: Command errored out with exit status 1:
command: /home/jessica-ryan/jessica-ryan/stx1alpha/.venv/bin/python -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py'»‘»‘; file='»‘»‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py'»‘»‘;f = getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()'»‘»‘);code = f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ install —record /tmp/pip-record-2fxmdkst/install-record.txt —single-version-externally-managed —compile —install-headers /home/jessica-ryan/jessica-ryan/stx1alpha/.venv/include/site/python3.8/pythonnetcwd: /tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/Complete output (6 lines):usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]or: setup.py —help [cmd1 cmd2 …]or: setup.py —help-commandsor: setup.py cmd —help
error: option --single-version-externally-managed not recognized ----------------------------------------
ERROR: Command errored out with exit status 1: /home/jessica-ryan/jessica-ryan/stx1alpha/.venv/bin/python -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py'»‘»‘; file='»‘»‘/tmp/pip-install-mlymh9lo/pythonnet_eef24e9bf71f4dcdacdc5897c9504adf/setup.py'»‘»‘;f = getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file) if os.path.exists(file) else io.StringIO(‘»‘»‘from setuptools import setup; setup()'»‘»‘);code = f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ install —record /tmp/pip-record-2fxmdkst/install-record.txt —single-version-externally-managed —compile —install-headers /home/jessica-ryan/jessica-ryan/stx1alpha/.venv/include/site/python3.8/pythonnet Check the logs for full command output.
I’ll note up front that I’ve seen the related thread, and I’ve tried installing everything recommended: setuptools, wheel, egg, but I’m still getting the same error.
I’m running into the error while trying to install Picard:
C:>pip install picard
Collecting picard
Using cached https://files.pythonhosted.org/packages/e8/ec/e76d4a84d37e6bd93789bf8f7a15f9e63f94cbc8b79607a2152b3fcc313f/picard-2.1.tar.gz
Requirement already satisfied: PyQt5 in c:program filespython37libsite-packages (from picard) (5.12.2)
Requirement already satisfied: mutagen in c:program filespython37libsite-packages (from picard) (1.42.0)
Requirement already satisfied: PyQt5_sip<13,>=4.19.14 in c:program filespython37libsite-packages (from PyQt5->picard) (4.19.17)
Building wheels for collected packages: picard
Building wheel for picard (setup.py) ... error
ERROR: Complete output from command 'c:program filespython37python.exe' -u-c 'import setuptools, tokenize;__file__='"'"'C:\Users\bdb484\AppData\Local\Temp\pip-install-lc47_c7l\picard\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:Usersbdb484AppDataLocalTemppip-wheel-7ktnx238' --python-tag cp37:
ERROR: running bdist_wheel
running build
generating scripts/picard from scripts/picard.in
error: [Errno 2] No such file or directory: 'installer/picard-setup.nsi.in'
----------------------------------------
ERROR: Failed building wheel for picard
Running setup.py clean for picard
Failed to build picard
Installing collected packages: picard
Running setup.py install for picard ... error
ERROR: Complete output from command 'c:program filespython37python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\Users\bdb484\AppData\Local\Temp\pip-install-lc47_c7l\picard\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:Usersbdb484AppDataLocalTemppip-record-wwek3m3rinstall-record.txt' --single-version-externally-managed --compile:
ERROR: usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized
----------------------------------------
ERROR: Command "'c:program filespython37python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\Users\bdb484\AppData\Local\Temp\pip-install-lc47_c7l\picard\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:Usersbdb484AppDataLocalTemppip-record-wwek3m3rinstall-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:Usersbdb484AppDataLocalTemppip-install-lc47_c7lpicard
I’ve been googling around for a while without luck.
Any ideas?