question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't create project

See original GitHub issue

When I try to create a project I get the following:

user@MacBook-Pro-de-User:~/Jupyter/nlp_notes/nlp_notes/iepy_examples$ iepy --create test1
/usr/local/lib/python3.5/site-packages/sklearn/utils/fixes.py:55: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
  if 'order' in inspect.getargspec(np.copy)[0]:
Traceback (most recent call last):
  File "/usr/local/bin/iepy", line 7, in <module>
    from iepy.instantiation.command_line import execute_from_command_line
  File "/usr/local/lib/python3.5/site-packages/iepy/instantiation/command_line.py", line 26, in <module>
    from iepy.preprocess.tagger import download as download_tagger
  File "/usr/local/lib/python3.5/site-packages/iepy/preprocess/tagger.py", line 5, in <module>
    from nltk.tag.stanford import POSTagger
ImportError: cannot import name 'POSTagger'

I also tried to install the the third party data and tools:

user@MacBook-Pro-de-User:~$ iepy --download-third-party-data
/usr/local/lib/python3.5/site-packages/sklearn/utils/fixes.py:55: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
  if 'order' in inspect.getargspec(np.copy)[0]:
Traceback (most recent call last):
  File "/usr/local/bin/iepy", line 7, in <module>
    from iepy.instantiation.command_line import execute_from_command_line
  File "/usr/local/lib/python3.5/site-packages/iepy/instantiation/command_line.py", line 26, in <module>
    from iepy.preprocess.tagger import download as download_tagger
  File "/usr/local/lib/python3.5/site-packages/iepy/preprocess/tagger.py", line 5, in <module>
    from nltk.tag.stanford import POSTagger
ImportError: cannot import name 'POSTagger'ç

However, I still can install it… any idea of what to do?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
jmansillacommented, Oct 20, 2016

Please read carefully all the information we already provided, because the tip for solving that was already given: JAVAHOME MUST point to the binary, not to a folder.

Extra information for help you searching on the web:

1reaction
j0hncommented, Oct 18, 2016

Your JAVAHOME variable should point to the java binary, the command which java should return you where the java binary is. For example, on my machine it’s on /usr/bin/java so i can do this:

export JAVAHOME=/usr/bin/java

The line that i sent you was doing that same thing but without hard coding the path, like this:

export JAVAHOME=$(which java)

on your output the JAVAHOME variable is poiting to a folder /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home

Read more comments on GitHub >

github_iconTop Results From Across the Web

Question - Unable to create project - Unity Forum
Pretty new to unity I just downloaded the unity hub but everytime I try to create a new project I get an error...
Read more >
Can't create new project : r/Unity3D - Reddit
I just installed unity hub but I'm unable to create a new project, whatever location I chose it always says the same thing:...
Read more >
I cannot create new project - Visual Studio Feedback
I can open new project, create new file, but I just cannot create new project. Visual Studio for Macvisual studio for macprojectsolutionmacos 10.14....
Read more >
Solved: can't create project - Atlassian Community
Solved: I keep getting this error "For some reason the magic didn't happen. Click Create to try again." when I create a brand...
Read more >
Cannot create a project in project.microsoft.com
It sounds like your Project Online application administrator has failed to add you to the Project Managers security group in PWA. You must...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found