-
Notifications
You must be signed in to change notification settings - Fork 37
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
seems to be broken out of the box... #45
Comments
I am also affected by this error (Ubuntu 16.04, with Jupyter Lab 3.3.2). Whenever I try just to import + start, I get an error that says |
Oh I guess its a problem with jupyter lab. I only implemented it to work with jupyter notebook. It basically tries to look for the file into which to paste the code for saving and apparently does not find the file as it is not started from a file. I haven't worked with jupyter lab yet. I will look into that. |
I guess the error is related to that, but there the problem is not limited to Jupyter Lab, since I tried also with Notebook (version 6.4.8) and I do receive the same error. The application works fine if I try to execute it from a python script, there is no problem. |
Ah maybe it is then the bug #38 that was fixed in 225e208 You can try to install the current github version with pip install git+https://github.com/rgerum/pylustrator and see if the bug still persists. |
I cannot say on the previous error because now it gives an entire different problem. EDIT: I'd say the problem comes from the way pip installs the thing, read below. First, I had to run However, when I try to make
I don't know where this is coming from. Thank you for your support! EDIT: I have checked the files downloaded and the folder "components" is missing, which seems to be the problem. This is what I have in my Anaconda installation after running the pip install for the git repo:
So it is either some misconfiguration of the repo that does not grab the latest version even with the EDIT 2: as a workaround if I manually git clone and then copy the contents of the |
Oh I forgot to add this subfolder to setup.py. I fixed this in commit 3137d5f. You can try the git+ installation again. And probably the --upgrade was missing from the pip install command I posted:
|
I tried reinstalling and works like a charm. Thank you so so much!!. I would either update the pip packages soon or add a warning at the README so new users don't encounter this problem just after installation :) |
I now published a new release. I hope this issue is now solved. |
I installed pylustrator on a macbook pro (intel) using pip. No problems there.
Pasted the "test pylustrator" code from the documentation into jupyter lab, and got the following error. Also tried VS Code, and same result. Any idea what is happening?
The text was updated successfully, but these errors were encountered: