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

Cannot download packages #8

Open
Sunnyleee opened this issue Apr 7, 2020 · 20 comments
Open

Cannot download packages #8

Sunnyleee opened this issue Apr 7, 2020 · 20 comments

Comments

@Sunnyleee
Copy link

I have an error when I input the following code--
pip install -U git+git://github.com/Computational-Content-Analysis-2020/lucem_illud_2020.git

The error is:
image

Also, when I try --
pip install traits
image

Does anyone know how to solve it?

Thanks!
Sunny

@bhargavvader
Copy link

Can you run pip install --upgrade setuptools and try again?

@bhargavvader
Copy link

It might also have to be about Microsoft Visual Studio. Check this link out for info.

@Sunnyleee
Copy link
Author

@bhargavvader yeah, good news this time!
When I run pip install --upgrade setuptools
It shows: Successfully installed setuptools-46.1.3
Does this mean I am all set for packages?

@bhargavvader
Copy link

You'll have to run pip install -U git+git://github.com/Computational-Content-Analysis-2020/lucem_illud_2020.git again, setuptools just makes sure the rest of the infrastructure to help you setup is up to date!

@Sunnyleee
Copy link
Author

@bhargavvader Thanks! Unfortunately, same error again, like the first picture in my question

@bhargavvader
Copy link

Hey @Sunnyleee , could you check out #6 @nwrim had the same problem there and by uninstalling and Visual Studio, and running pip install traits, they could fix it.

@Sunnyleee
Copy link
Author

@bhargavvader Hi, Bhargav, It still not work for me. Here are my steps:

  1. I reinstalled Visual Studio from the following website, https://visualstudio.microsoft.com/thank-you-downloading-visual-studio-mac/?sku=communitymac&rel=16
  2. run pip install traits
    image
  3. run pip install -U git+git://github.com/Computational-Content-Analysis-2020/lucem_illud_2020.git
    image
    image

Thanks !

@nwrim
Copy link

nwrim commented Apr 9, 2020

I think visual studio does not install C++ toolset by default. Maybe you could try to install the C++ toolset (probably has an option when you install VS - but I really dont know how it goes on Mac) and try again?

@Sunnyleee
Copy link
Author

@nwrim Thank you!! I reinstalled, I still cannot find C++ toolset in Mac version. Does anyone know how to fix it in Mac?

@Yilun0221
Copy link

@Sunnyleee really works!!!

@Sunnyleee
Copy link
Author

@Yilun0221 Hi yi, happy to hear that!! Did you install C++ toolset when downloading Visual Studio in your MAC?

@Yilun0221
Copy link

@Yilun0221 Hi yi, happy to hear that!! Did you install C++ toolset when downloading Visual Studio in your MAC?

I used windows, but I think methods are similar! You need to pick some C++ related package installation options. You can use this as a reference~
https://docs.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=vs-2019
And also, I pick options from these:
Uploading image.png…
After finishing installation, you need to restart your computer and you can run the three steps!

@Yilun0221
Copy link

@Sunnyleee
Copy link
Author

@Yilun0221 Thank you so much!! Unfortunately, in Mac, it will not show installation options, and I restart the computer, still not work T T

@bhargavvader
Copy link

Any updates, @Sunnyleee ?

@Sunnyleee
Copy link
Author

@bhargavvader Thank you for your help in yesterday's TA session, I successfully built lucem-illud-2020!

@Sunnyleee
Copy link
Author

@bhargavvader I uploaded successfully, however, I cannot import the package. Do I need to reinstall the Anaconda? My file in Anaconda will also be deleted, right?
image
image
image

@AllisonXiong
Copy link

AllisonXiong commented Apr 15, 2020

@Sunnyleee I had the same issue and found answer in the FAQ page for last quarter. According to @bhargavvader, you can try and run 'python -m spacy download en' in terminal and then run the command again. It works for me, and I hope this helps!
Link here

@Sunnyleee
Copy link
Author

@AllisonXiong It works, thank you!!!

@bhargavvader
Copy link

@Sunnyleee , a student in this quarter's Content Analysis class, @Rui-echo-Pan is facing the same problem you did - do you happen to remember how you fixed the problem?

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

5 participants