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

Shell to activate virtual environment | parse error: SyntaxError: Unclosed " #43

Open
KJAcementys opened this issue Jan 5, 2022 · 1 comment

Comments

@KJAcementys
Copy link

KJAcementys commented Jan 5, 2022

Hi,

I'm trying to convert the following shell script that activates a virtual environment and it doesn't seem to work, but the corresponding error doesn't make sense to me with this script.

Any help on this one?

Here's the file
activate.txt

@KJAcementys KJAcementys changed the title Following error | parse error: SyntaxError: Unclosed " Shell to activate virtual environment | parse error: SyntaxError: Unclosed " Jan 5, 2022
@daniel-sc
Copy link
Owner

It seems the brackets (KJA) in the following line cause some problem:

VIRTUAL_ENV=$(cygpath "C:\Users\Kieran Janin (KJA)\OneDrive - cementys.com\Documents\Python Scripts\Tests\Ted Petrou, Data Science with Python\Dashboarding with Dash\Build+an+Interactive+Data+Analytics+Dashboard+with+Python+20211101\project\dashboard_venv")

I'll look into this - in the meantime you could simplify the path.

(Admittingly the conversion for the remaining script is rather limited until we support conversion of if-statements #44)

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

2 participants