Closed alexandreCameron closed 4 years ago
@alexandreCameron I ran this exact example in a brand new environment & it succeeds. treon execution installs the pandas package & import works as expected.
I'd check couple of things,
Can you check if draft-treon.ipynb is saved correctly? get_ipython().system(' pip install pandas')
statement in the log looks a bit unfamiliar to me.
Are you using virtualenv / condaenv etc.? Does the cmd line environment where you are running treon has all the necessary permissions to pip install packages?
As a last resort, can you manually run the pip install step and see if the import succeeds?
@amit1rrr :
Can you check if draft-treon.ipynb is saved correctly?
get_ipython().system(' pip install pandas')
statement in the log looks a bit unfamiliar to me.
I confim the file is saved properly. But I should mention I'm running the code in windows WSL (corporate computer).
Are you using virtualenv / condaenv etc.? Does the cmd line environment where you are running treon has all the necessary permissions to pip install packages?
I'm using a virtualenv, all the permission are OK, and when performing pip freeze
in the virtualenv I can see the pandas package.
As a last resort, can you manually run the pip install step and see if the import succeeds?
I can run ! pip install pandas
in the notebook without error message and the package is up and running.
The problem could be related to WSL or another corporate security layer on my computer. But I did see where it occurs. I won't feel offended if you close the issue.
@amit1rrr Please Close this issue. I have performed the same step & It succeeded. Alex was also able to locate the issue.
Thanks, closed. What was the issue? It might help someone else running into the same problem.
Hi,
I quickly tested your package today with a notebook call
draft-treon.ipynb
with the following cell:and ran the command:
But I got the following error message
What would be the correct procedure to run the test ?
Thanks,